Skip to content

Commit

Permalink
Merge pull request #4009 from serlo/e2e-fix-about-serlo-2
Browse files Browse the repository at this point in the history
fix(e2e): different approach
  • Loading branch information
elbotho authored Aug 1, 2024
2 parents ad5ecf9 + b09e95c commit c122e61
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions e2e-tests/tests/000-general.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,12 @@ Scenario('About Serlo', ({ I }) => {
I.click('Pädagogisches Konzept')
I.click('Anleitung für die Lernplattform serlo.org')
I.scrollPageToBottom()
I.click('Community')

// this page sometimes load slowly
I.wait(20)
// close newsletter modal in case it popped up
I.pressKey('Escape')
I.click('Community')

// Make sure it's the right page
I.see("Was gibt's zu tun?")
// Make sure it's the right page (this page sometimes load slowly)
I.waitForText("Was gibt's zu tun?", 20)
})

Scenario('Main Menu', async ({ I }) => {
Expand Down

0 comments on commit c122e61

Please sign in to comment.