Commit 64a1f0f1 authored by Jakob Lund Johannessen's avatar Jakob Lund Johannessen
Browse files

chore: minor sc fixes. Alt image and cypress test

parent 1e3716b5
Pipeline #172067 failed with stages
in 38 seconds
Cypress.Commands.add('randomUser', () => {
const user = `user${Math.floor(Math.random() * 1000000)}`
cy.get('input[name="username"]').type(user), { force: true }
cy.get('input[name="username"]').type(user, { force: true })
})
Cypress.Commands.add('inputValueToField', (inputName, value) => {
cy.get(`input[name=${inputName}]`).type(value, { force: true })
Cypress.Commands.add('inputValueToField', (_inputName, value) => {
cy.get(`input[name=${_inputName}]`).type(value, { force: true })
})
const inputName = [
......
......@@ -35,7 +35,7 @@
<div class="gallery-container">
<div class="main-img">
<img src="" id="current" />
<img src="" id="current" alt="main image" />
</div>
<h3 id="no-images-text" class="mt-6">This workout has no images.</h3>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment