chore(client) remove contextual navigation (#41919)

This commit is contained in:
Sem Bauke
2021-04-28 15:10:43 +02:00
committed by GitHub
parent a0463d2c99
commit 20cbfce484
9 changed files with 13 additions and 93 deletions

View File

@ -5,9 +5,8 @@ import '@testing-library/cypress/add-commands';
describe('Settings certifications area', () => {
before(() => {
cy.exec('npm run seed');
cy.visit('/');
cy.contains("Get started (it's free)").click({ force: true });
cy.contains('Update my account settings').click({ force: true });
cy.login();
cy.visit('/settings');
});
describe('initially', () => {
@ -37,8 +36,8 @@ describe('Settings certifications area', () => {
describe('after isHonest', () => {
beforeEach(() => {
cy.visit('/');
cy.contains("Get started (it's free)").click({ force: true });
cy.contains('Update my account settings').click({ force: true });
cy.login();
cy.visit('/settings');
});
it('Should render "You have accepted our Academic Honesty Policy." button after clicking "Agree"', () => {