Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
e76115f1524d10df9b4800580be04881b1478e3a
/
.
/
cypress
/
integration
/
frontend-testing.js
blob: 99e6a89a1c50b5da11e5871cd82a9eb05f1c92fd [
file
] [
log
] [
blame
] [
raw
]
function
runFrontendTest
(
name
)
{
it
(
name
,
()
=>
{
cy
.
window
().
then
(
win
=>
{
return
win
.
compilerExplorerFrontendTesting
.
run
(
name
);
});
});
}
describe
(
'Frontendtestresults'
,
()
=>
{
before
(()
=>
{
cy
.
visit
(
'/'
);
});
runFrontendTest
(
'HelloWorld'
);
});