Skip to content

Commit

Permalink
fixup! feat: #2282 Warn if Safety Checks are disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
goodhoko committed Apr 28, 2021
1 parent 42326b8 commit 63680ae
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const setSafetyChecksLevel = (level: 'PromptAlways' | 'PromptTemporarily') => {
cy.task('pressYes');
}


describe('Safety Checks Warning For PromptAlways', () => {
beforeEach(() => {
cy.task('startEmu', { wipe: true });
Expand Down Expand Up @@ -66,7 +67,7 @@ describe('Safety Checks Warning For PromptTemporarily', () => {

it('Dismissed warning re-appears when safety_checks are set to strict and then to Prompt again.', () => {
// Dismiss the warning.
cy.getTestElement('@banner/safety-checks/dismiss').click();
cy.getTestElement('@banner/safety-checks/dismiss').click();g
// Open the safety checks setting modal and change Safety Checks to Strict.
cy.getTestElement('@banner/safety-checks/button').click();
cy.get('[data-test="@radio-button"][value="Strict"]').click();
Expand Down

0 comments on commit 63680ae

Please sign in to comment.