Skip to content

Commit

Permalink
Update settings-utils.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-cox authored Oct 26, 2024
1 parent ef7367e commit 4da6ccd
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions cypress/support/utils/settings-utils.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/**
* There's a small amount of mgmt settings that are public and will be returned when the user in unauthed. This represents that number.
*
* It doesn't need to be exact but should always be equal or more than the actual amount
* (tests will check that the pre-authed setting count is less than this, and the post-authed count is greater than)
*
* There's a small amount of mgmt settings that are public and will be returned when the user in unauthed. When logged in there will be more.
*

Check warning on line 3 in cypress/support/utils/settings-utils.ts

View workflow job for this annotation

GitHub Actions / lint

Trailing spaces not allowed
* This number is used to check that after log in we get all settings by checking that unauthed setting count is lower and authed settings count is at or greater than
*/
export const PARTIAL_SETTING_THRESHOLD = 12;
export const PARTIAL_SETTING_THRESHOLD = 13;

0 comments on commit 4da6ccd

Please sign in to comment.