Files
compiler-explorer/cypress/integration/frontend-testing.js
T

16 lines
309 B
JavaScript

function runFrontendTest(name) {
it(name, () => {
cy.window().then((win) => {
return win.compilerExplorerFrontendTesting.run(name);
});
});
}
describe('Frontendtestresults', () => {
before(() => {
cy.visit('/');
});
runFrontendTest('HelloWorld');
});