Files
freeCodeCamp/cypress/integration/learn/challenges/multifile.js
Naomi Carrigan 8d13163e21 feat(tools): test file buttons (#44919)
* feat(tools): test file buttons

* fix: set SHOW_NEW_CURRICULUM to true

* fix: landing test
2022-02-10 09:39:12 -06:00

15 lines
425 B
JavaScript

const location =
'/learn/2022/responsive-web-design/learn-accessibility-by-building-a-quiz/step-2';
describe('Challenge with multifile editor', () => {
before(() => {
cy.visit(location);
});
it('renders the file tab buttons', () => {
cy.get('.monaco-editor-tabs').should('exist');
cy.get('.monaco-editor-tabs').contains('index.html');
cy.get('.monaco-editor-tabs').contains('styles.css');
});
});