Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
204960d8fc615a38a2555f5238b36063c95a64ea
/
.
/
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'
);
});