-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
webui: Update remaining pages to the new layout
- Loading branch information
1 parent
eff1cc1
commit f86aebf
Showing
5 changed files
with
16 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f86aebf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No idea here. The test ran successfully on my system and reproducing this manually it works correctly too. Will investigate later 🤷♂️
f86aebf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No worries. I've just told it to rerun the job.
Have seen GitHub actions fail a "known good" job twice, then pass it on the third time, in similar fashion recently. GitHub Actions seems to be using flaky test infrastructure.☹️
f86aebf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at the failing tests in a bit more detail, they're happening in the visualisation tests I added over the past few days.
So, it's possibly a different thing.
I noticed when writing those tests, that sometimes it takes a fraction of a second for AngularJS to finish applying updates to everything. So I needed to add some
cy.wait()
statements in places to let it finish.There's a timeout value at the top of each of the visualisation test files, with the number of milliseconds to use as the delay in that file. Yeah, this should probably be moved to a central spot. 😉
If this keeps on failing, we should probably just double the value and (hopefully) call it a day. 😄
f86aebf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Took a look at this after getting some sleep. The failure turned out to be a slight text change in the error message, probably due to the visualisation and database pages now using the same code for the access checks:
Adjusted the Cypress tests to look for the new text, and it's all happy now. 😄