* Added Database checks to the onboarding flow
* Added compatibility page setup
Added more compatibility questions
* Finished up the onboarding flow suite
Added compatibility question tests and verifications
Updated tests to cover Keywords and Headline changes recently made
Updated tests to cover all of the big5 personality traits
* .
* Fix: Merge conflict
* .
* Fix: Added fix for None discriptive error issue #36
Updated signUp.spec.ts to use new fixture
Updated Account information variable names
Deleted "deleteUserFixture.ts" as it was incorporated into the "base.ts" file
* Linting and Prettier
* Minor cleaning
* Organizing helper func
* Added Google account to the Onboarding flow
* Added account cleanup for google accounts
* Started work on Sign-in tests
Updated seedDatabase.ts to throw an error if the user already exists, to also add display names and usernames so they seedUser func acts like a normal basic user
Some organising of the google auth code
* Linting and Prettier
* Added checks to the deleteUser func to check if the accout exists
Added account deletion checks
* Linting and Prettier
* Added POM's for social and organisation page
Updated settings POM
* Formatting update, fixed homePage locator for signin
* .
* .
* .
* Coderabbitai fix's
* Fix
* Improve test utilities and stabilize onboarding flow tests
* Changes requested
* Seperated deletion tests from onboarding
* .
* Changed POM/Fixture structure to use an app class to instantiate the page objects
* Apply suggestion from @MartinBraquet
* Apply suggestion from @MartinBraquet
* Delete .vscode/settings.json
* Apply suggestion from @MartinBraquet
* Apply suggestions from code review
Co-authored-by: Martin Braquet <martin.braquet@gmail.com>
* Apply suggestion from @MartinBraquet
* Apply suggestion from @MartinBraquet
* Linting and Prettier
---------
Co-authored-by: MartinBraquet <martin.braquet@gmail.com>
* Added Database checks to the onboarding flow
* Added compatibility page setup
Added more compatibility questions
* Finished up the onboarding flow suite
Added compatibility question tests and verifications
Updated tests to cover Keywords and Headline changes recently made
Updated tests to cover all of the big5 personality traits
* .
* Fix: Merge conflict
* .
* Fix: Added fix for None discriptive error issue #36
Updated signUp.spec.ts to use new fixture
Updated Account information variable names
Deleted "deleteUserFixture.ts" as it was incorporated into the "base.ts" file
* Linting and Prettier
* Minor cleaning
* Organizing helper func
* Added Google account to the Onboarding flow
* .
* Added account cleanup for google accounts
* Started work on Sign-in tests
Updated seedDatabase.ts to throw an error if the user already exists, to also add display names and usernames so they seedUser func acts like a normal basic user
Some organising of the google auth code
* Linting and Prettier
* Added checks to the deleteUser func to check if the accout exists
Added account deletion checks
* Linting and Prettier
* Added POM's for social and organisation page
Updated settings POM
* Formatting update, fixed homePage locator for signin
* .
* .
* .
* Coderabbitai fix's
* Fix
* Improve test utilities and stabilize onboarding flow tests
* Changes requested
* Seperated deletion tests from onboarding
* Update `.coderabbit.yaml` with improved internationalization guidance and formatting adjustments
* Clean up `.vscode/settings.json` and add it to `.gitignore`
* Add Playwright E2E test guidelines to `.coderabbit.yaml`
* Standardize and improve formatting in `TESTING.md` for better readability and consistency.
* Refactor onboarding flow tests and related utilities; improve formatting and remove redundant tests.
---------
Co-authored-by: MartinBraquet <martin.braquet@gmail.com>
* Added Database checks to the onboarding flow
* Added compatibility page setup
Added more compatibility questions
* Finished up the onboarding flow suite
Added compatibility question tests and verifications
Updated tests to cover Keywords and Headline changes recently made
Updated tests to cover all of the big5 personality traits
* Fix: Added 'tsconfig-paths/register' to playwright config so it applies tsconfig/ts-node to test files and imported modules....there was a syntax error:
SyntaxError: tests/e2e/web/pages/homePage.ts: Unexpected token (2:0)
* .
* Updated ProfilePage: In some cases removed the use of "one shot grabs" using .textContent() to prevent flaky tests
Added test for entering profile information post signup flow
* Linting and Prettier
* Fix: Merge conflict
* Fix: Modified sortedAndFilteredAnswers to use "UseMemo" so that it doesnt run every time something changes
* .
* .
* Merged "verifyInterestedInConnectingWith" and "verifyRelationShipTypeAndInterest" into "verifySeeking" to match ui changes
* Added error message outlining the minimum character requirement for display names and usernames
* Updated displayName error message to show when editing the user profile post signup
* Fix: Added fix for None discriptive error issue #36
Updated signUp.spec.ts to use new fixture
Updated Account information variable names
Deleted "deleteUserFixture.ts" as it was incorporated into the "base.ts" file
* Linting and Prettier
* Minor cleaning
* Organizing helper func
* Linting and Prettier
---------
Co-authored-by: MartinBraquet <martin.braquet@gmail.com>
* Fixed Type errors
* Added Database checks to the onboarding flow
* Updated Onboarding flow
Changed type ChildrenExpectation so that it can be used for database verification
* Added compatibility page setup
Added more compatibility questions
* Finished up the onboarding flow suite
Added compatibility question tests and verifications
Updated tests to cover Keywords and Headline changes recently made
Updated tests to cover all of the big5 personality traits
* Apply suggestions from code review
---------
Co-authored-by: Martin Braquet <martin.braquet@gmail.com>
* Fixed Type errors
* Organizing testing utilities
* Added Database checks to the onboarding flow
* Updated Onboarding flow
Changed type ChildrenExpectation so that it can be used for database verification
* Added compatibility page setup
Added more compatibility questions
* Fix
* .
* Fix: Typo
* Fix: Faker usernames can no longer generate symbols
* Fix: Changed how work area is verified
* .
* .
* Fix: Trying to work in headed mode
* Fix: Change back to headless
* Fix: Added timeout after workArea selection
* .
* Clean e2e
* Improve E2E setup
* Prettier
* Log
* Fix: should pull test account from unique identifier like email, username or id; not the display name
* Source env vars in playwright directly
* Clean e2e data
* Clean test account id to be the same for email and username
* Fix import warning
* Add error handling
* Add log
* Temp remove env load
* Update
* Add logs and safeguards against using remote supabase during e2e tests
* Fix playwright report path in C@
* Remove locale log
* Check if userInformationFromDb loading with name instead of username was the issue
* Remove login log
* Check if initial work area names were the issue
* Ignore if no files found
* Cache Firebase emulators in CI
* Reload env vars in playwright
* It did not break tests...
* Clean verifyWorkArea
* Add caching for node modules in CI
* Add caching for node modules in CI (2)
* Do not raise if emulator not running during db seed
* Do not raise if using firebase emulator
* Fix supabase cache in CI
* Add Cache Playwright browsers in CI
* Fix
* Test cache
* Turn off unused supabase services to speed things up
* Back to good one
* Set CI=true
* api is required for client connection
* Add safeguards for missing supabase env vars
* Remove echo
* Remove supabase cache
---------
Co-authored-by: Martin Braquet <martin.braquet@gmail.com>
* .
* Centralizing config details
* Added data-testId attributes where necessary and started the onboarding flow scaffolding
* Continued onboarding test scaffolding
* Continued work on tests for the Onboarding flow
* .
* Updated "Want kids" options to be less flaky
Updated playwright.config so that expect timeout matching test timeout
* Continued updating front-end scaffolding
* .
* .
* .
* .
* Updated fixture function deleteUser: to also remove the database user information
* Rm
* Fix
* Fixes
---------
Co-authored-by: MartinBraquet <martin.braquet@gmail.com>
* setting up test structure
* .
* added playwright config file, deleted original playwright folder and moved "some.test" file
* continued test structure setup
* Updating test folder structure