Skip to content

Commit

Permalink
update .last-run.json
Browse files Browse the repository at this point in the history
  • Loading branch information
rapoler committed Jun 18, 2024
1 parent d525e50 commit dfb29ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions studio/e2e_tests/e2e_tests/test.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ dotenv.config();


// This beforeEach hook runs before each test, setting up the test environment
test.only('lohin',async ({ page }) => {
test.setTimeout(900000)
test.beforeAll(async ({ page }) => {
// Navigate to the login page
await page.goto(`${process.env.BASE_URL}/.factly/dega/studio/`);
// Fill in the email and password fields
Expand All @@ -24,6 +23,7 @@ test.only('lohin',async ({ page }) => {


test.beforeEach( async ({ page }) => {
test.setTimeout(90000)
// Load session cookies from the file
await page.context().addCookies(JSON.parse(require('fs').readFileSync('state.json', 'utf8')).cookies);
// Navigate to a page that requires login
Expand Down
4 changes: 4 additions & 0 deletions studio/test-results/.last-run.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"status": "failed",
"failedTests": []
}

0 comments on commit dfb29ba

Please sign in to comment.