Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/e2e-tests/src/assert/midnightBannerAssert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ class MidnightBannerAssert {
}

async assertSeeMidnightURL() {
const EXPECTED_MIDNIGHT_URL = 'https://www.midnight.gd';
const currentUrl = await browser.getUrl();
expect(currentUrl).to.contain(EXPECTED_MIDNIGHT_URL);
// the exact URL might change because of redirection, so just check that it contains 'midnight'
expect(currentUrl).to.contain('midnight');
}
}

Expand Down
Loading