Skip to content

Conversation

@velang01
Copy link

https://tfs.econ.gov.bc.ca/ECON/Unity/_workitems/edit/31469

Create comprehensive test suite for Application List Action Bar with tests covering search, filters, action buttons, and modals

• Develop ApplicationActionBarPage.ts page object reusable methods for action bar interactions, selection management, and modal operations

• Improved test organization: Restructured tests for test isolation and page refresh

More detail on the implementation here https://tfs.econ.gov.bc.ca/ECON/Unity/_wiki/wikis/Unity.wiki/674/Application-Bar-Action-Validation-Tests

@github-actions
Copy link

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 265
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request implements comprehensive test coverage for the Application List Action Bar and refactors existing tests to use the Page Object Model (POM) pattern. The changes introduce a new ApplicationActionBarPage with extensive methods for interacting with search filters, action buttons, and modals, while also improving code organization and test isolation across multiple test files.

Changes:

  • Created ApplicationActionBarPage with 1087 lines of reusable methods for testing action bar components
  • Refactored 6 existing test files to use Page Object Model pattern
  • Updated ApplicationDetailsPage selectors for contact information fields
  • Added refreshPage() method to BasePage for test isolation

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 19 comments.

Show a summary per file
File Description
ApplicationActionBarPage.ts New page object implementing comprehensive methods for action bar interactions, search, filters, modals, and column management
PageFactory.ts Added factory methods and imports for ApplicationActionBarPage and EmailsPage
utilities/index.ts Exported new page objects for convenient access
BasePage.ts Added refreshPage() method for page reload functionality
ApplicationDetailsPage.ts Updated contact field selectors from ApplicantSummary_* to ContactInfo_* pattern
ListPages.ts Added search and filter selector definitions and verification methods
applicationActionBar.cy.ts New comprehensive test suite with 278 lines validating action bar functionality
navigation.cy.ts Refactored to use PageFactory pattern
login.cy.ts Refactored to use PageFactory pattern
lists.cy.ts Refactored to use PageFactory pattern
chefsdata.cy.ts Refactored to use PageFactory and fixture-based expected data
basicEmail.cy.ts Refactored to use EmailsPage object (not included in PR)
applications.cy.ts New test file for application selection validation
Comments suppressed due to low confidence (4)

applications/Unity.AutoUI/cypress/utilities/index.ts:1

  • This import path is incorrect. ApplicationActionBarPageInstance is exported from PageFactory, not from ApplicationActionBarPage. Change to: export { ApplicationActionBarPageInstance } from './PageFactory';
/**

applications/Unity.AutoUI/cypress/e2e/chefsdata.cy.ts:1

  • These selectors don't match the selectors defined in ApplicationDetailsPage which uses '#ApplicantSummary_PhysicalAddressStreet' pattern. This inconsistency will cause tests to fail. Use the selectors from the page object instead of hardcoding them in the test.
/// <reference types="cypress" />

applications/Unity.AutoUI/cypress/e2e/chefsdata.cy.ts:1

  • These selectors don't match the ApplicationDetailsPage definitions which use '#ApplicantInfo_MailingAddressStreet' pattern. Use the page object's selector properties instead of hardcoding selectors in tests.
/// <reference types="cypress" />

applications/Unity.AutoUI/cypress/e2e/chefsdata.cy.ts:1

  • This selector pattern doesn't match the ApplicationDetailsPage definition which uses '#ApplicantInfo_SigningAuthorityFullName'. Hardcoded selectors in tests defeat the purpose of the page object pattern and will cause test failures.
/// <reference types="cypress" />

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

import { NavigationPage } from "../pages/NavigationPage";
import { DashboardPage } from "../pages/DashboardPage";
import { ApplicationDetailsPage } from "../pages/ApplicationDetailsPage";
import { EmailsPage } from "../pages/EmailsPage";
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The EmailsPage is imported but the corresponding class file does not exist in the pages directory. This will cause a compilation error. Either create the missing EmailsPage.ts file or remove this import and related references.

Copilot uses AI. Check for mistakes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build breaker: cypress/utilities/PageFactory.ts imports ../pages/EmailsPage and exposes getEmailsPage(), but cypress/pages/EmailsPage.ts is missing from the branch. Cypress fails at webpack compile stage, blocking 7 specs. Please add/restore the page object or remove the wiring if not needed.

Comment on lines +99 to +101
static getEmailsPage(): EmailsPage {
return this.getInstance("EmailsPage", () => new EmailsPage());
}
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method references EmailsPage which doesn't exist in the codebase. This will cause runtime errors when tests try to use emailsPage methods. Remove this method or create the missing EmailsPage class.

Copilot uses AI. Check for mistakes.
export const IntakesPageInstance = () => PageFactory.getIntakesPage();
export const FormsPageInstance = () => PageFactory.getFormsPage();
export const PaymentsPageInstance = () => PageFactory.getPaymentsPage();
export const EmailsPageInstance = () => PageFactory.getEmailsPage();
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This export references the non-existent EmailsPage. Remove this export or implement the missing EmailsPage class.

Suggested change
export const EmailsPageInstance = () => PageFactory.getEmailsPage();

Copilot uses AI. Check for mistakes.
}
before(() => {
// Load expected data from fixture based on environment
cy.fixture("chefsExpectedData.json").then((data) => {
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fixture file 'chefsExpectedData.json' does not exist in the fixtures directory. Only chefs.json, metabase.json, and submissions.json exist. Either create this fixture file or use an existing one.

Suggested change
cy.fixture("chefsExpectedData.json").then((data) => {
cy.fixture("chefs.json").then((data) => {

Copilot uses AI. Check for mistakes.
Comment on lines +449 to +451
cy.wait(500); // Wait for search results to update
cy.get(this.selectors.tableRow)
.first()
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using hard-coded wait times (cy.wait with milliseconds) is an anti-pattern in Cypress. Replace with proper assertions or wait for specific conditions using cy.intercept aliases or element state checks. This applies to multiple occurrences throughout this file.

Suggested change
cy.wait(500); // Wait for search results to update
cy.get(this.selectors.tableRow)
.first()
// Wait for the first row to reflect the searched application ID instead of using a fixed delay
cy.get(this.selectors.tableRow)
.first()
.should("contain", applicationId)

Copilot uses AI. Check for mistakes.
const applicationsPage = ApplicationsPageInstance();
const rolesPage = RolesPageInstance();
const usersPage = UsersPageInstance();
const intakesPage = IntakesPageInstance();
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused variable intakesPage.

Copilot uses AI. Check for mistakes.
const rolesPage = RolesPageInstance();
const usersPage = UsersPageInstance();
const intakesPage = IntakesPageInstance();
const formsPage = FormsPageInstance();
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused variable formsPage.

Copilot uses AI. Check for mistakes.
describe("Send an email", () => {
const loginPage = PageFactory.getLoginPage();
const navigationPage = PageFactory.getNavigationPage();
const applicationsPage = PageFactory.getApplicationsPage();
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused variable applicationsPage.

Suggested change
const applicationsPage = PageFactory.getApplicationsPage();

Copilot uses AI. Check for mistakes.
LoginPageInstance,
ApplicationsPageInstance,
ApplicationActionBarPageInstance,
BasePage,
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused import BasePage.

Suggested change
BasePage,

Copilot uses AI. Check for mistakes.
} from "../utilities";

const loginPage = LoginPageInstance();
const applicationsPage = ApplicationsPageInstance();
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused variable applicationsPage.

Suggested change
const applicationsPage = ApplicationsPageInstance();

Copilot uses AI. Check for mistakes.
@Stephan-McColm
Copy link
Contributor

Problem - When I attempt to launch this directly via "npx cypress run" or using the batch file, it fails.
DevTools listening on ws://127.0.0.1:61357/devtools/browser/a6ec401a-3d88-44c8-b3db-8d4c826d7bb4

====================================================================================================

(Run Starting)

┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Cypress: 12.17.4 │
│ Browser: Electron 106 (headless) │
│ Node Version: v22.17.1 (C:\Program Files\nodejs\node.exe) │
│ Specs: 9 found (applicationActionBar.cy.ts, applications.cy.ts, basicEmail.cy.ts, che │
│ fsdata.cy.ts, lists.cy.ts, login.cy.ts, navigation.cy.ts, library/chefs.cy.ts, │
│ library/metabase.cy.ts) │
│ Searched: cypress/e2e/**/*.cy.{js,jsx,ts,tsx} │
│ Experiments: experimentalMemoryManagement=true │
└────────────────────────────────────────────────────────────────────────────────────────────────┘

────────────────────────────────────────────────────────────────────────────────────────────────────

Running: applicationActionBar.cy.ts (1 of 9)

Oops...we found an error preparing this test file:

cypress\e2e\applicationActionBar.cy.ts

The error was:

Error: Webpack Compilation Error
Module not found: Error: Can't resolve '../pages/EmailsPage' in 'C:\Local Data\Unity\applications\Unity.AutoUI\cypress\utilities'
at handle (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules@packages\server\node_modules@cypress\webpack-preprocessor\dist\index.js:212:23)
at finalCallback (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:441:32)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:505:17
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\HookWebpackError.js:68:3
at Hook.eval [as callAsync] (eval at create (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\Hook.js:18:14)
at Cache.storeBuildDependencies (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Cache.js:122:37)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:501:19
at Hook.eval [as callAsync] (eval at create (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\Hook.js:18:14)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:498:23
at Compiler.emitRecords (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:919:5)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:490:11
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:885:14
at Hook.eval [as callAsync] (eval at create (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\Hook.js:18:14)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:882:27
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\neo-async\async.js:2818:7
at done (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\neo-async\async.js:3522:9)
at alreadyWritten (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:714:8)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:802:19
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\graceful-fs\graceful-fs.js:123:16
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules@packages\server\node_modules\graceful-fs\graceful-fs.js:123:16
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules@packages\server\node_modules\graceful-fs\graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3)

This occurred while Cypress was compiling and bundling your test code. This is usually caused by:

  • A missing file or dependency
  • A syntax error in the file or one of its dependencies

Fix the error in your code and re-run your tests.

(Results)

┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Tests: 0 │
│ Passing: 0 │
│ Failing: 1 │
│ Pending: 0 │
│ Skipped: 0 │
│ Screenshots: 0 │
│ Video: true │
│ Duration: 0 seconds │
│ Spec Ran: applicationActionBar.cy.ts │
└────────────────────────────────────────────────────────────────────────────────────────────────┘

(Video)

  • Started compressing: Compressing to 32 CRF

  • Finished compressing: 0 seconds

  • Video output: C:\Local Data\Unity\applications\Unity.AutoUI\cypress\videos\applicationActionBar.cy.ts.mp4

────────────────────────────────────────────────────────────────────────────────────────────────────

Running: applications.cy.ts (2 of 9)

Oops...we found an error preparing this test file:

cypress\e2e\applications.cy.ts

The error was:

Error: Webpack Compilation Error
Module not found: Error: Can't resolve '../pages/EmailsPage' in 'C:\Local Data\Unity\applications\Unity.AutoUI\cypress\utilities'
at handle (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules@packages\server\node_modules@cypress\webpack-preprocessor\dist\index.js:212:23)
at finalCallback (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:441:32)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:505:17
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\HookWebpackError.js:68:3
at Hook.eval [as callAsync] (eval at create (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\Hook.js:18:14)
at Cache.storeBuildDependencies (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Cache.js:122:37)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:501:19
at Hook.eval [as callAsync] (eval at create (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\Hook.js:18:14)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:498:23
at Compiler.emitRecords (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:919:5)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:490:11
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:885:14
at Hook.eval [as callAsync] (eval at create (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\Hook.js:18:14)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:882:27
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\neo-async\async.js:2818:7
at done (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\neo-async\async.js:3522:9)
at alreadyWritten (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:714:8)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:802:19
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\graceful-fs\graceful-fs.js:123:16
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules@packages\server\node_modules\graceful-fs\graceful-fs.js:123:16
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules@packages\server\node_modules\graceful-fs\graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3)

This occurred while Cypress was compiling and bundling your test code. This is usually caused by:

  • A missing file or dependency
  • A syntax error in the file or one of its dependencies

Fix the error in your code and re-run your tests.

(Results)

┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Tests: 0 │
│ Passing: 0 │
│ Failing: 1 │
│ Pending: 0 │
│ Skipped: 0 │
│ Screenshots: 0 │
│ Video: true │
│ Duration: 0 seconds │
│ Spec Ran: applications.cy.ts │
└────────────────────────────────────────────────────────────────────────────────────────────────┘

(Video)

  • Started compressing: Compressing to 32 CRF

  • Finished compressing: 0 seconds

  • Video output: C:\Local Data\Unity\applications\Unity.AutoUI\cypress\videos\applications.cy.ts.mp4

────────────────────────────────────────────────────────────────────────────────────────────────────

Running: basicEmail.cy.ts (3 of 9)

Oops...we found an error preparing this test file:

cypress\e2e\basicEmail.cy.ts

The error was:

Error: Webpack Compilation Error
Module not found: Error: Can't resolve '../pages/EmailsPage' in 'C:\Local Data\Unity\applications\Unity.AutoUI\cypress\utilities'
at handle (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules@packages\server\node_modules@cypress\webpack-preprocessor\dist\index.js:212:23)
at finalCallback (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:441:32)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:505:17
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\HookWebpackError.js:68:3
at Hook.eval [as callAsync] (eval at create (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\Hook.js:18:14)
at Cache.storeBuildDependencies (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Cache.js:122:37)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:501:19
at Hook.eval [as callAsync] (eval at create (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\Hook.js:18:14)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:498:23
at Compiler.emitRecords (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:919:5)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:490:11
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:885:14
at Hook.eval [as callAsync] (eval at create (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\Hook.js:18:14)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:882:27
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\neo-async\async.js:2818:7
at done (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\neo-async\async.js:3522:9)
at alreadyWritten (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:714:8)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:802:19
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\graceful-fs\graceful-fs.js:123:16
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules@packages\server\node_modules\graceful-fs\graceful-fs.js:123:16
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules@packages\server\node_modules\graceful-fs\graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3)

This occurred while Cypress was compiling and bundling your test code. This is usually caused by:

  • A missing file or dependency
  • A syntax error in the file or one of its dependencies

Fix the error in your code and re-run your tests.

(Results)

┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Tests: 0 │
│ Passing: 0 │
│ Failing: 1 │
│ Pending: 0 │
│ Skipped: 0 │
│ Screenshots: 0 │
│ Video: true │
│ Duration: 0 seconds │
│ Spec Ran: basicEmail.cy.ts │
└────────────────────────────────────────────────────────────────────────────────────────────────┘

(Video)

  • Started compressing: Compressing to 32 CRF

  • Finished compressing: 0 seconds

  • Video output: C:\Local Data\Unity\applications\Unity.AutoUI\cypress\videos\basicEmail.cy.ts.mp4

────────────────────────────────────────────────────────────────────────────────────────────────────

Running: chefsdata.cy.ts (4 of 9)

Oops...we found an error preparing this test file:

cypress\e2e\chefsdata.cy.ts

The error was:

Error: Webpack Compilation Error
Module not found: Error: Can't resolve '../pages/EmailsPage' in 'C:\Local Data\Unity\applications\Unity.AutoUI\cypress\utilities'
at handle (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules@packages\server\node_modules@cypress\webpack-preprocessor\dist\index.js:212:23)
at finalCallback (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:441:32)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:505:17
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\HookWebpackError.js:68:3
at Hook.eval [as callAsync] (eval at create (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\Hook.js:18:14)
at Cache.storeBuildDependencies (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Cache.js:122:37)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:501:19
at Hook.eval [as callAsync] (eval at create (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\Hook.js:18:14)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:498:23
at Compiler.emitRecords (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:919:5)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:490:11
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:885:14
at Hook.eval [as callAsync] (eval at create (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\Hook.js:18:14)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:882:27
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\neo-async\async.js:2818:7
at done (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\neo-async\async.js:3522:9)
at alreadyWritten (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:714:8)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:802:19
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\graceful-fs\graceful-fs.js:123:16
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules@packages\server\node_modules\graceful-fs\graceful-fs.js:123:16
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules@packages\server\node_modules\graceful-fs\graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3)

This occurred while Cypress was compiling and bundling your test code. This is usually caused by:

  • A missing file or dependency
  • A syntax error in the file or one of its dependencies

Fix the error in your code and re-run your tests.

(Results)

┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Tests: 0 │
│ Passing: 0 │
│ Failing: 1 │
│ Pending: 0 │
│ Skipped: 0 │
│ Screenshots: 0 │
│ Video: true │
│ Duration: 0 seconds │
│ Spec Ran: chefsdata.cy.ts │
└────────────────────────────────────────────────────────────────────────────────────────────────┘

(Video)

  • Started compressing: Compressing to 32 CRF

  • Finished compressing: 0 seconds

  • Video output: C:\Local Data\Unity\applications\Unity.AutoUI\cypress\videos\chefsdata.cy.ts.mp4

────────────────────────────────────────────────────────────────────────────────────────────────────

Running: lists.cy.ts (5 of 9)

Oops...we found an error preparing this test file:

cypress\e2e\lists.cy.ts

The error was:

Error: Webpack Compilation Error
Module not found: Error: Can't resolve '../pages/EmailsPage' in 'C:\Local Data\Unity\applications\Unity.AutoUI\cypress\utilities'
at handle (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules@packages\server\node_modules@cypress\webpack-preprocessor\dist\index.js:212:23)
at finalCallback (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:441:32)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:505:17
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\HookWebpackError.js:68:3
at Hook.eval [as callAsync] (eval at create (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\Hook.js:18:14)
at Cache.storeBuildDependencies (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Cache.js:122:37)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:501:19
at Hook.eval [as callAsync] (eval at create (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\Hook.js:18:14)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:498:23
at Compiler.emitRecords (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:919:5)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:490:11
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:885:14
at Hook.eval [as callAsync] (eval at create (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\Hook.js:18:14)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:882:27
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\neo-async\async.js:2818:7
at done (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\neo-async\async.js:3522:9)
at alreadyWritten (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:714:8)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:802:19
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\graceful-fs\graceful-fs.js:123:16
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules@packages\server\node_modules\graceful-fs\graceful-fs.js:123:16
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules@packages\server\node_modules\graceful-fs\graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3)

This occurred while Cypress was compiling and bundling your test code. This is usually caused by:

  • A missing file or dependency
  • A syntax error in the file or one of its dependencies

Fix the error in your code and re-run your tests.

(Results)

┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Tests: 0 │
│ Passing: 0 │
│ Failing: 1 │
│ Pending: 0 │
│ Skipped: 0 │
│ Screenshots: 0 │
│ Video: true │
│ Duration: 0 seconds │
│ Spec Ran: lists.cy.ts │
└────────────────────────────────────────────────────────────────────────────────────────────────┘

(Video)

  • Started compressing: Compressing to 32 CRF

  • Finished compressing: 0 seconds

  • Video output: C:\Local Data\Unity\applications\Unity.AutoUI\cypress\videos\lists.cy.ts.mp4

────────────────────────────────────────────────────────────────────────────────────────────────────

Running: login.cy.ts (6 of 9)

Oops...we found an error preparing this test file:

cypress\e2e\login.cy.ts

The error was:

Error: Webpack Compilation Error
Module not found: Error: Can't resolve '../pages/EmailsPage' in 'C:\Local Data\Unity\applications\Unity.AutoUI\cypress\utilities'
at handle (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules@packages\server\node_modules@cypress\webpack-preprocessor\dist\index.js:212:23)
at finalCallback (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:441:32)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:505:17
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\HookWebpackError.js:68:3
at Hook.eval [as callAsync] (eval at create (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\Hook.js:18:14)
at Cache.storeBuildDependencies (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Cache.js:122:37)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:501:19
at Hook.eval [as callAsync] (eval at create (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\Hook.js:18:14)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:498:23
at Compiler.emitRecords (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:919:5)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:490:11
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:885:14
at Hook.eval [as callAsync] (eval at create (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\Hook.js:18:14)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:882:27
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\neo-async\async.js:2818:7
at done (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\neo-async\async.js:3522:9)
at alreadyWritten (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:714:8)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:802:19
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\graceful-fs\graceful-fs.js:123:16
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules@packages\server\node_modules\graceful-fs\graceful-fs.js:123:16
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules@packages\server\node_modules\graceful-fs\graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3)

This occurred while Cypress was compiling and bundling your test code. This is usually caused by:

  • A missing file or dependency
  • A syntax error in the file or one of its dependencies

Fix the error in your code and re-run your tests.

(Results)

┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Tests: 0 │
│ Passing: 0 │
│ Failing: 1 │
│ Pending: 0 │
│ Skipped: 0 │
│ Screenshots: 0 │
│ Video: true │
│ Duration: 0 seconds │
│ Spec Ran: login.cy.ts │
└────────────────────────────────────────────────────────────────────────────────────────────────┘

(Video)

  • Started compressing: Compressing to 32 CRF

  • Finished compressing: 0 seconds

  • Video output: C:\Local Data\Unity\applications\Unity.AutoUI\cypress\videos\login.cy.ts.mp4

────────────────────────────────────────────────────────────────────────────────────────────────────

Running: navigation.cy.ts (7 of 9)

Oops...we found an error preparing this test file:

cypress\e2e\navigation.cy.ts

The error was:

Error: Webpack Compilation Error
Module not found: Error: Can't resolve '../pages/EmailsPage' in 'C:\Local Data\Unity\applications\Unity.AutoUI\cypress\utilities'
at handle (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules@packages\server\node_modules@cypress\webpack-preprocessor\dist\index.js:212:23)
at finalCallback (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:441:32)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:505:17
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\HookWebpackError.js:68:3
at Hook.eval [as callAsync] (eval at create (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\Hook.js:18:14)
at Cache.storeBuildDependencies (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Cache.js:122:37)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:501:19
at Hook.eval [as callAsync] (eval at create (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\Hook.js:18:14)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:498:23
at Compiler.emitRecords (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:919:5)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:490:11
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:885:14
at Hook.eval [as callAsync] (eval at create (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\tapable\lib\Hook.js:18:14)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:882:27
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\neo-async\async.js:2818:7
at done (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\neo-async\async.js:3522:9)
at alreadyWritten (C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:714:8)
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\webpack\lib\Compiler.js:802:19
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules\graceful-fs\graceful-fs.js:123:16
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules@packages\server\node_modules\graceful-fs\graceful-fs.js:123:16
at C:\Users[USER]\AppData\Local\Cypress\Cache\12.17.4\Cypress\resources\app\node_modules@packages\server\node_modules\graceful-fs\graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3)

This occurred while Cypress was compiling and bundling your test code. This is usually caused by:

  • A missing file or dependency
  • A syntax error in the file or one of its dependencies

Fix the error in your code and re-run your tests.

(Results)

┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Tests: 0 │
│ Passing: 0 │
│ Failing: 1 │
│ Pending: 0 │
│ Skipped: 0 │
│ Screenshots: 0 │
│ Video: true │
│ Duration: 0 seconds │
│ Spec Ran: navigation.cy.ts │
└────────────────────────────────────────────────────────────────────────────────────────────────┘

(Video)

  • Started compressing: Compressing to 32 CRF

  • Finished compressing: 0 seconds

  • Video output: C:\Local Data\Unity\applications\Unity.AutoUI\cypress\videos\navigation.cy.ts.mp4

────────────────────────────────────────────────────────────────────────────────────────────────────

Running: library/chefs.cy.ts (8 of 9)

Chefs Login and Logout
√ Verify that Chefs is online. (24063ms)

1 passing (24s)

(Results)

┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Tests: 1 │
│ Passing: 1 │
│ Failing: 0 │
│ Pending: 0 │
│ Skipped: 0 │
│ Screenshots: 0 │
│ Video: true │
│ Duration: 24 seconds │
│ Spec Ran: library/chefs.cy.ts │
└────────────────────────────────────────────────────────────────────────────────────────────────┘

(Video)

  • Started compressing: Compressing to 32 CRF

  • Finished compressing: 1 second

  • Video output: C:\Local Data\Unity\applications\Unity.AutoUI\cypress\videos\library\chefs.cy.ts.mp4

────────────────────────────────────────────────────────────────────────────────────────────────────

Running: library/metabase.cy.ts (9 of 9)

Metabase Login and Logout
√ Verify that Metabase is online (6389ms)

1 passing (6s)

(Results)

┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Tests: 1 │
│ Passing: 1 │
│ Failing: 0 │
│ Pending: 0 │
│ Skipped: 0 │
│ Screenshots: 0 │
│ Video: true │
│ Duration: 6 seconds │
│ Spec Ran: library/metabase.cy.ts │
└────────────────────────────────────────────────────────────────────────────────────────────────┘

(Video)

  • Started compressing: Compressing to 32 CRF

  • Finished compressing: 0 seconds

  • Video output: C:\Local Data\Unity\applications\Unity.AutoUI\cypress\videos\library\metabase.cy.ts.mp4

====================================================================================================

(Run Finished)

   Spec                                              Tests  Passing  Failing  Pending  Skipped

┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ × applicationActionBar.cy.ts 0ms - - 1 - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ × applications.cy.ts 0ms - - 1 - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ × basicEmail.cy.ts 0ms - - 1 - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ × chefsdata.cy.ts 0ms - - 1 - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ × lists.cy.ts 0ms - - 1 - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ × login.cy.ts 0ms - - 1 - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ × navigation.cy.ts 0ms - - 1 - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ √ library/chefs.cy.ts 00:24 1 1 - - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ √ library/metabase.cy.ts 00:06 1 1 - - - │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
× 7 of 9 failed (78%) 00:30 2 2 7 - -

@velang01 velang01 requested a review from Copilot January 16, 2026 18:01
@github-actions
Copy link

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 289
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 14 out of 14 changed files in this pull request and generated 12 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

cy.get(this.selectors.rowCheckbox).uncheck({ force: true });
});
}

Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing JSDoc comment for the public method selectSearchedApplicationById. All other public methods in this file have JSDoc comments explaining their purpose.

Suggested change
/**
* Search for an application by ID and select the first matching result.
*
* @param applicationId - The unique identifier of the application to search for.
* @returns void
*/

Copilot uses AI. Check for mistakes.
it("Should verify action buttons state", () => {
actionBarPage.verifyActionButtonsHidden();
actionBarPage.verifyFilterButtonVisible();
actionBarPage.verifyActionButtonsHidden();
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The method verifyActionButtonsHidden() is called twice consecutively on lines 126 and 128. This appears to be duplicated code with no changes in between.

Suggested change
actionBarPage.verifyActionButtonsHidden();

Copilot uses AI. Check for mistakes.
Comment on lines +163 to +164
// ==================== TESTS WITH APPLICATION SELECTION ====================
describe("Tests With Application Selection", () => {
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The describe block 'Tests With Application Selection' is nested inside 'Tests Without Application Selection' (which starts at line 58). This nesting appears incorrect based on the comment and semantic meaning - these should be sibling describe blocks at the same level, not nested.

Copilot uses AI. Check for mistakes.
});
});
});
describe("Column Visibility Management", () => {
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The describe block 'Column Visibility Management' is nested inside 'Tests Without Application Selection' but appears after the nested 'Tests With Application Selection' block. This should likely be at the same level as the other top-level test groups for better organization.

Copilot uses AI. Check for mistakes.
Comment on lines +274 to +275
it("Should verify action bar container structure", () => {
actionBarPage.verifyActionBarStructure();
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This standalone test case is nested inside 'Tests Without Application Selection' but appears after nested describe blocks. For better organization, this should either be in its own describe block or moved to be with other related tests.

Suggested change
it("Should verify action bar container structure", () => {
actionBarPage.verifyActionBarStructure();
describe("Action Bar Structure", () => {
it("Should verify action bar container structure", () => {
actionBarPage.verifyActionBarStructure();
});

Copilot uses AI. Check for mistakes.
Comment on lines +296 to +360
"#PhysicalAddress_Street",
expectedData.applicantInfo.physicalAddressStreet,
],
[
"#PhysicalAddress_Street2",
expectedData.applicantInfo.physicalAddressStreet2,
],
[
"#PhysicalAddress_Unit",
expectedData.applicantInfo.physicalAddressUnit,
],
[
"#PhysicalAddress_City",
expectedData.applicantInfo.physicalAddressCity,
],
[
"#PhysicalAddress_Province",
expectedData.applicantInfo.physicalAddressProvince,
],
[
"#PhysicalAddress_PostalCode",
expectedData.applicantInfo.physicalAddressPostalCode,
],
[
"#MailingAddress_Street",
expectedData.applicantInfo.mailingAddressStreet,
],
[
"#MailingAddress_Street2",
expectedData.applicantInfo.mailingAddressStreet2,
],
[
"#MailingAddress_Unit",
expectedData.applicantInfo.mailingAddressUnit,
],
[
"#MailingAddress_City",
expectedData.applicantInfo.mailingAddressCity,
],
[
"#MailingAddress_Province",
expectedData.applicantInfo.mailingAddressProvince,
],
[
"#MailingAddress_PostalCode",
expectedData.applicantInfo.mailingAddressPostalCode,
],
[
"#SigningAuthority_SigningAuthorityFullName",
expectedData.applicantInfo.signingAuthorityFullName,
],
[
"#SigningAuthority_SigningAuthorityTitle",
expectedData.applicantInfo.signingAuthorityTitle,
],
[
"#SigningAuthority_SigningAuthorityEmail",
expectedData.applicantInfo.signingAuthorityEmail,
],
[
"#SigningAuthority_SigningAuthorityBusinessPhone",
expectedData.applicantInfo.signingAuthorityBusinessPhone,
],
[
"#SigningAuthority_SigningAuthorityCellPhone",
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Selector mismatch between test and page object. The test uses selectors like #PhysicalAddress_Street, #MailingAddress_Street, and #SigningAuthority_SigningAuthorityFullName, but ApplicationDetailsPage defines these as #ApplicantSummary_PhysicalAddressStreet, #ApplicantInfo_MailingAddressStreet, and #ApplicantInfo_SigningAuthorityFullName. These tests will likely fail or not find the expected elements.

Suggested change
"#PhysicalAddress_Street",
expectedData.applicantInfo.physicalAddressStreet,
],
[
"#PhysicalAddress_Street2",
expectedData.applicantInfo.physicalAddressStreet2,
],
[
"#PhysicalAddress_Unit",
expectedData.applicantInfo.physicalAddressUnit,
],
[
"#PhysicalAddress_City",
expectedData.applicantInfo.physicalAddressCity,
],
[
"#PhysicalAddress_Province",
expectedData.applicantInfo.physicalAddressProvince,
],
[
"#PhysicalAddress_PostalCode",
expectedData.applicantInfo.physicalAddressPostalCode,
],
[
"#MailingAddress_Street",
expectedData.applicantInfo.mailingAddressStreet,
],
[
"#MailingAddress_Street2",
expectedData.applicantInfo.mailingAddressStreet2,
],
[
"#MailingAddress_Unit",
expectedData.applicantInfo.mailingAddressUnit,
],
[
"#MailingAddress_City",
expectedData.applicantInfo.mailingAddressCity,
],
[
"#MailingAddress_Province",
expectedData.applicantInfo.mailingAddressProvince,
],
[
"#MailingAddress_PostalCode",
expectedData.applicantInfo.mailingAddressPostalCode,
],
[
"#SigningAuthority_SigningAuthorityFullName",
expectedData.applicantInfo.signingAuthorityFullName,
],
[
"#SigningAuthority_SigningAuthorityTitle",
expectedData.applicantInfo.signingAuthorityTitle,
],
[
"#SigningAuthority_SigningAuthorityEmail",
expectedData.applicantInfo.signingAuthorityEmail,
],
[
"#SigningAuthority_SigningAuthorityBusinessPhone",
expectedData.applicantInfo.signingAuthorityBusinessPhone,
],
[
"#SigningAuthority_SigningAuthorityCellPhone",
"#ApplicantSummary_PhysicalAddressStreet",
expectedData.applicantInfo.physicalAddressStreet,
],
[
"#ApplicantSummary_PhysicalAddressStreet2",
expectedData.applicantInfo.physicalAddressStreet2,
],
[
"#ApplicantSummary_PhysicalAddressUnit",
expectedData.applicantInfo.physicalAddressUnit,
],
[
"#ApplicantSummary_PhysicalAddressCity",
expectedData.applicantInfo.physicalAddressCity,
],
[
"#ApplicantSummary_PhysicalAddressProvince",
expectedData.applicantInfo.physicalAddressProvince,
],
[
"#ApplicantSummary_PhysicalAddressPostalCode",
expectedData.applicantInfo.physicalAddressPostalCode,
],
[
"#ApplicantInfo_MailingAddressStreet",
expectedData.applicantInfo.mailingAddressStreet,
],
[
"#ApplicantInfo_MailingAddressStreet2",
expectedData.applicantInfo.mailingAddressStreet2,
],
[
"#ApplicantInfo_MailingAddressUnit",
expectedData.applicantInfo.mailingAddressUnit,
],
[
"#ApplicantInfo_MailingAddressCity",
expectedData.applicantInfo.mailingAddressCity,
],
[
"#ApplicantInfo_MailingAddressProvince",
expectedData.applicantInfo.mailingAddressProvince,
],
[
"#ApplicantInfo_MailingAddressPostalCode",
expectedData.applicantInfo.mailingAddressPostalCode,
],
[
"#ApplicantInfo_SigningAuthorityFullName",
expectedData.applicantInfo.signingAuthorityFullName,
],
[
"#ApplicantInfo_SigningAuthorityTitle",
expectedData.applicantInfo.signingAuthorityTitle,
],
[
"#ApplicantInfo_SigningAuthorityEmail",
expectedData.applicantInfo.signingAuthorityEmail,
],
[
"#ApplicantInfo_SigningAuthorityBusinessPhone",
expectedData.applicantInfo.signingAuthorityBusinessPhone,
],
[
"#ApplicantInfo_SigningAuthorityCellPhone",

Copilot uses AI. Check for mistakes.
Comment on lines +296 to +360
"#PhysicalAddress_Street",
expectedData.applicantInfo.physicalAddressStreet,
],
[
"#PhysicalAddress_Street2",
expectedData.applicantInfo.physicalAddressStreet2,
],
[
"#PhysicalAddress_Unit",
expectedData.applicantInfo.physicalAddressUnit,
],
[
"#PhysicalAddress_City",
expectedData.applicantInfo.physicalAddressCity,
],
[
"#PhysicalAddress_Province",
expectedData.applicantInfo.physicalAddressProvince,
],
[
"#PhysicalAddress_PostalCode",
expectedData.applicantInfo.physicalAddressPostalCode,
],
[
"#MailingAddress_Street",
expectedData.applicantInfo.mailingAddressStreet,
],
[
"#MailingAddress_Street2",
expectedData.applicantInfo.mailingAddressStreet2,
],
[
"#MailingAddress_Unit",
expectedData.applicantInfo.mailingAddressUnit,
],
[
"#MailingAddress_City",
expectedData.applicantInfo.mailingAddressCity,
],
[
"#MailingAddress_Province",
expectedData.applicantInfo.mailingAddressProvince,
],
[
"#MailingAddress_PostalCode",
expectedData.applicantInfo.mailingAddressPostalCode,
],
[
"#SigningAuthority_SigningAuthorityFullName",
expectedData.applicantInfo.signingAuthorityFullName,
],
[
"#SigningAuthority_SigningAuthorityTitle",
expectedData.applicantInfo.signingAuthorityTitle,
],
[
"#SigningAuthority_SigningAuthorityEmail",
expectedData.applicantInfo.signingAuthorityEmail,
],
[
"#SigningAuthority_SigningAuthorityBusinessPhone",
expectedData.applicantInfo.signingAuthorityBusinessPhone,
],
[
"#SigningAuthority_SigningAuthorityCellPhone",
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Selector mismatch between test and page object. The test uses selectors like #PhysicalAddress_Street, #MailingAddress_Street, and #SigningAuthority_SigningAuthorityFullName, but ApplicationDetailsPage defines these as #ApplicantSummary_PhysicalAddressStreet, #ApplicantInfo_MailingAddressStreet, and #ApplicantInfo_SigningAuthorityFullName. These tests will likely fail or not find the expected elements.

Suggested change
"#PhysicalAddress_Street",
expectedData.applicantInfo.physicalAddressStreet,
],
[
"#PhysicalAddress_Street2",
expectedData.applicantInfo.physicalAddressStreet2,
],
[
"#PhysicalAddress_Unit",
expectedData.applicantInfo.physicalAddressUnit,
],
[
"#PhysicalAddress_City",
expectedData.applicantInfo.physicalAddressCity,
],
[
"#PhysicalAddress_Province",
expectedData.applicantInfo.physicalAddressProvince,
],
[
"#PhysicalAddress_PostalCode",
expectedData.applicantInfo.physicalAddressPostalCode,
],
[
"#MailingAddress_Street",
expectedData.applicantInfo.mailingAddressStreet,
],
[
"#MailingAddress_Street2",
expectedData.applicantInfo.mailingAddressStreet2,
],
[
"#MailingAddress_Unit",
expectedData.applicantInfo.mailingAddressUnit,
],
[
"#MailingAddress_City",
expectedData.applicantInfo.mailingAddressCity,
],
[
"#MailingAddress_Province",
expectedData.applicantInfo.mailingAddressProvince,
],
[
"#MailingAddress_PostalCode",
expectedData.applicantInfo.mailingAddressPostalCode,
],
[
"#SigningAuthority_SigningAuthorityFullName",
expectedData.applicantInfo.signingAuthorityFullName,
],
[
"#SigningAuthority_SigningAuthorityTitle",
expectedData.applicantInfo.signingAuthorityTitle,
],
[
"#SigningAuthority_SigningAuthorityEmail",
expectedData.applicantInfo.signingAuthorityEmail,
],
[
"#SigningAuthority_SigningAuthorityBusinessPhone",
expectedData.applicantInfo.signingAuthorityBusinessPhone,
],
[
"#SigningAuthority_SigningAuthorityCellPhone",
"#ApplicantSummary_PhysicalAddressStreet",
expectedData.applicantInfo.physicalAddressStreet,
],
[
"#ApplicantSummary_PhysicalAddressStreet2",
expectedData.applicantInfo.physicalAddressStreet2,
],
[
"#ApplicantSummary_PhysicalAddressUnit",
expectedData.applicantInfo.physicalAddressUnit,
],
[
"#ApplicantSummary_PhysicalAddressCity",
expectedData.applicantInfo.physicalAddressCity,
],
[
"#ApplicantSummary_PhysicalAddressProvince",
expectedData.applicantInfo.physicalAddressProvince,
],
[
"#ApplicantSummary_PhysicalAddressPostalCode",
expectedData.applicantInfo.physicalAddressPostalCode,
],
[
"#ApplicantInfo_MailingAddressStreet",
expectedData.applicantInfo.mailingAddressStreet,
],
[
"#ApplicantInfo_MailingAddressStreet2",
expectedData.applicantInfo.mailingAddressStreet2,
],
[
"#ApplicantInfo_MailingAddressUnit",
expectedData.applicantInfo.mailingAddressUnit,
],
[
"#ApplicantInfo_MailingAddressCity",
expectedData.applicantInfo.mailingAddressCity,
],
[
"#ApplicantInfo_MailingAddressProvince",
expectedData.applicantInfo.mailingAddressProvince,
],
[
"#ApplicantInfo_MailingAddressPostalCode",
expectedData.applicantInfo.mailingAddressPostalCode,
],
[
"#ApplicantInfo_SigningAuthorityFullName",
expectedData.applicantInfo.signingAuthorityFullName,
],
[
"#ApplicantInfo_SigningAuthorityTitle",
expectedData.applicantInfo.signingAuthorityTitle,
],
[
"#ApplicantInfo_SigningAuthorityEmail",
expectedData.applicantInfo.signingAuthorityEmail,
],
[
"#ApplicantInfo_SigningAuthorityBusinessPhone",
expectedData.applicantInfo.signingAuthorityBusinessPhone,
],
[
"#ApplicantInfo_SigningAuthorityCellPhone",

Copilot uses AI. Check for mistakes.
expectedData.applicantInfo.mailingAddressPostalCode,
],
[
"#SigningAuthority_SigningAuthorityFullName",
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Selector mismatch between test and page object. The test uses selectors like #PhysicalAddress_Street, #MailingAddress_Street, and #SigningAuthority_SigningAuthorityFullName, but ApplicationDetailsPage defines these as #ApplicantSummary_PhysicalAddressStreet, #ApplicantInfo_MailingAddressStreet, and #ApplicantInfo_SigningAuthorityFullName. These tests will likely fail or not find the expected elements.

Copilot uses AI. Check for mistakes.
Comment on lines 20 to 23
const navPage = NavigationPageInstance();
const dashboardPage = DashboardPageInstance();
const applicationsPage = ApplicationsPageInstance();
const rolesPage = RolesPageInstance();
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused variable navPage.

Suggested change
const navPage = NavigationPageInstance();
const dashboardPage = DashboardPageInstance();
const applicationsPage = ApplicationsPageInstance();
const rolesPage = RolesPageInstance();
const dashboardPage = DashboardPageInstance();
const applicationsPage = ApplicationsPageInstance();
const rolesPage = RolesPageInstance();
const rolesPage = RolesPageInstance();

Copilot uses AI. Check for mistakes.
Comment on lines 9 to 15
ApplicationsPageInstance,
ApplicationActionBarPageInstance,
BasePage,
} from "../utilities";

const loginPage = LoginPageInstance();
const applicationsPage = ApplicationsPageInstance();
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused variable applicationsPage.

Suggested change
ApplicationsPageInstance,
ApplicationActionBarPageInstance,
BasePage,
} from "../utilities";
const loginPage = LoginPageInstance();
const applicationsPage = ApplicationsPageInstance();
ApplicationActionBarPageInstance,
BasePage,
} from "../utilities";
const loginPage = LoginPageInstance();

Copilot uses AI. Check for mistakes.
@github-actions
Copy link

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 289
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 14 out of 14 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

});

it("Should select all columns and verify table update", () => {
// actionBarPage.clickColumnsButton();
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commented-out code should be removed. If this line was intentionally disabled, add a comment explaining why; otherwise, delete it.

Suggested change
// actionBarPage.clickColumnsButton();

Copilot uses AI. Check for mistakes.
@github-actions
Copy link

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 289
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

Copy link
Collaborator

@DarylTodosichuk DarylTodosichuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

× chefsdata.cy.ts fails end-to-end test run PR is not ready to merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants