Skip to content
Snippets Groups Projects
Commit 7e3f3688 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

cypress: Fix tests that sometimes fail on Jenkins

parent 10c581da
No related branches found
No related tags found
No related merge requests found
......@@ -2,5 +2,6 @@
"baseUrl": "http://localhost:5004",
"video": false,
"viewportWidth": 1920,
"viewportHeight": 1080
"viewportHeight": 1080,
"defaultCommandTimeout": 10000
}
......@@ -12,6 +12,7 @@ const $ = Cypress.$;
describe('Home Page Tests', function() {
it('should display positive stats for each category', function() {
cy.visit(url)
.wait(3000) // wait counters request result
.get('.swh-counter')
.then((counters) => {
for (let counter of counters) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment