Skip to content

Commit

Permalink
Ensure all challenges are completed when running Dashboard UI tests (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl authored Aug 2, 2023
1 parent 8f54aa6 commit 6a0a857
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions plugins/Dashboard/tests/UI/Dashboard_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ describe("Dashboard", function () {
var setup = async function() {
// make sure live widget doesn't refresh constantly for UI tests
testEnvironment.overrideConfig('General', 'live_widget_refresh_after_seconds', 1000000);
// ensure tour widget always shows the same state
testEnvironment.completeAllChallenges = 1;
testEnvironment.testUseMockAuth = 1;
testEnvironment.save();

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6a0a857

Please sign in to comment.