1
0
Fork 0
mirror of synced 2024-06-18 18:35:37 +12:00

increase wait times in cypress tests

This commit is contained in:
Keviin Åberg Kultalahti 2021-04-01 11:08:58 +02:00
parent 7d436fea70
commit adab566c9d

View file

@ -156,7 +156,7 @@ Cypress.Commands.add("addComponent", (category, component) => {
cy.get(`[data-cy="category-${category}"]`).click()
}
cy.get(`[data-cy="component-${component}"]`).click()
cy.wait(500)
cy.wait(1000)
cy.location().then(loc => {
const params = loc.pathname.split("/")
const componentId = params[params.length - 1]