test: clean upcoding interview prep intro (#46257)

pull/46262/head
Oliver Eyton-Williams 2022-06-01 00:21:24 +02:00 committed by GitHub
parent ed865269a6
commit 9076c419eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 8 deletions

View File

@ -1,17 +1,10 @@
describe('Certification intro page', () => {
before(() => {
cy.clearCookies();
cy.login();
cy.visit('/learn/coding-interview-prep');
});
it('Should render', () => {
cy.visit('/learn/coding-interview-prep');
cy.contains(
"If you're looking for free coding exercises to prepare for your next job interview, we've got you covered."
).should('be.visible');
});
it('Title should not include the word "Certification"', () => {
cy.title().should('eq', 'Coding Interview Prep | freeCodeCamp.org');
});
});