Commit Graph

86 Commits

Author SHA1 Message Date
Martin Braquet
3918830fb6 Apply suggestion from @MartinBraquet 2026-05-28 19:21:56 +01:00
Martin Braquet
90c3f22a2c Apply suggestion from @MartinBraquet 2026-05-28 19:21:56 +01:00
Okechi Jones-Williams
ce0c7cd890 Changed POM/Fixture structure to use an app class to instantiate the page objects 2026-05-28 19:21:56 +01:00
Okechi Jones-Williams
1d898f34fc Changes requested 2026-05-28 19:21:56 +01:00
MartinBraquet
7daf458001 Improve test utilities and stabilize onboarding flow tests 2026-05-28 19:21:56 +01:00
Okechi Jones-Williams
b3e3413620 Coderabbitai fix's 2026-05-28 19:21:56 +01:00
Okechi Jones-Williams
9571d9b0cd Formatting update, fixed homePage locator for signin 2026-05-28 19:21:56 +01:00
Okechi Jones-Williams
e0561b532b Linting and Prettier 2026-05-28 19:21:56 +01:00
Okechi Jones-Williams
ef63832ab8 Added checks to the deleteUser func to check if the accout exists
Added account deletion checks
2026-05-28 19:21:56 +01:00
Okechi Jones-Williams
89efb0ff01 Linting and Prettier 2026-05-28 19:21:56 +01:00
Okechi Jones-Williams
7bb8eeac7f 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
2026-05-28 19:21:56 +01:00
Okechi Jones-Williams
0016c69a25 Added account cleanup for google accounts 2026-05-28 19:21:56 +01:00
MartinBraquet
5129e8e343 Minor cleaning 2026-05-28 19:21:55 +01:00
Okechi Jones-Williams
17072c9587 Linting and Prettier 2026-05-28 19:20:29 +01:00
Okechi Jones-Williams
4e6d4f37bf 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
2026-05-28 19:20:29 +01:00
Okechi Jones-Williams
d6e31ba7d0 . 2026-05-28 19:20:28 +01:00
Okechi Jones-Williams
dd01e0b3d0 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
2026-05-28 19:20:28 +01:00
Okechi Jones-Williams
11f8477da2 Added compatibility page setup
Added more compatibility questions
2026-05-28 19:20:28 +01:00
Okechi Jones-Williams
58dfabf11f Added Database checks to the onboarding flow 2026-05-28 19:20:28 +01:00
MartinBraquet
253b30d2de Refactor sign-in test to improve profile count validation and asynchronous handling 2026-05-25 15:43:55 +02:00
MartinBraquet
b25df3670b Fix E2E tests 2026-05-24 16:37:49 +02:00
MartinBraquet
770c02ac88 Add orientation profile field and extend gender options 2026-05-24 15:37:05 +02:00
MartinBraquet
6b3269b1c5 Fix typo in profile count test and enhance validation for filter results 2026-05-23 20:06:14 +02:00
MartinBraquet
7970aadf7c Refactor seed database user function to improve type consistency and add headline to user profile 2026-05-23 19:53:56 +02:00
MartinBraquet
3e7fc0f008 Update social platform selection button name to 'Website' in signUpPage 2026-05-23 19:53:30 +02:00
Martin Braquet
8e921e0a53 Fix unassigned variable (#52) 2026-05-21 17:50:52 +02:00
Okechi Jones-Williams
00c6f2566e [Syncing] Small PR to lay foundations for Testing filtering and to sync with upstream (#51)
* 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

* Formatting update, fixed homePage locator for signin

* .

* .

* .

* Coderabbitai fix's

* Fix

* Improve test utilities and stabilize onboarding flow tests

* Changes requested

* Changed POM/Fixture structure to use an app class to instantiate the page objects

* Apply suggestion from @MartinBraquet

* Delete .vscode/settings.json

* Apply suggestion from @MartinBraquet

* Apply suggestion from @MartinBraquet

* Apply suggestion from @MartinBraquet

* Linting and Prettier

* Updated People page

* Fix app.ts

* Updated peoplePage.ts: continued adding functions to use filters
Updated filters.tsx: added data testid

* Coderabbitai fix's

* .

* Explanded seeding to better reflect the different types of profiles

* Updated People page
Added data test attributes to search.tsx and profile-grid.tsx

* Lint and Prettier

* Test renamed

* CodeRabbit Suggestions

* .

* Apply suggestions from code review

Co-authored-by: Martin Braquet <martin.braquet@gmail.com>

---------

Co-authored-by: MartinBraquet <martin.braquet@gmail.com>
2026-05-20 20:02:00 +02:00
MartinBraquet
c96ba72e1b Add data-testid to profile content container and fix typo in religiousAboutSection 2026-05-08 15:17:29 +02:00
MartinBraquet
ce10ddf366 Major re-design of the profile pages 2026-05-08 13:55:50 +02:00
MartinBraquet
28650d799f Refactor notification and email systems: migrate to shared utilities, update unsubscribe links, and add outreach email functionality. 2026-04-08 13:38:39 +02:00
MartinBraquet
6aa9085739 Refactor signInFixture parameters in E2E test for clarity and update signinWithEmail usage accordingly 2026-04-05 15:59:30 +02:00
MartinBraquet
757ec77574 Make waitForURL optional in signinWithEmail E2E tests and refactor signInFixture method parameters 2026-04-05 14:47:40 +02:00
MartinBraquet
92e2dbc0f2 Make waitForURL optional in signinWithEmail method in app.ts 2026-04-05 14:47:20 +02:00
MartinBraquet
e69fe9ea33 Wait for URL navigation after key interactions in app.ts and homePage.ts E2E tests. 2026-04-05 14:44:27 +02:00
MartinBraquet
f986eb85e8 Wait for URL navigation after key interactions in app.ts and homePage.ts E2E tests. 2026-04-05 14:43:17 +02:00
MartinBraquet
1f988d0f98 Refactor account deletion E2E tests: extract to dedicated deleteAccount.spec.ts file 2026-04-05 14:30:24 +02:00
MartinBraquet
4dd22b4194 Refactor account deletion E2E tests: extract to dedicated deleteAccount.spec.ts file 2026-04-05 14:14:43 +02:00
MartinBraquet
a6095b873a Remove redundant password field filler in Google auth E2E tests 2026-04-04 21:26:14 +02:00
Okechi Jones-Williams
73487af964 Changed POM/Fixture structure to use an app class to instantiate the page objects (#47)
* 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>
2026-04-04 21:11:46 +02:00
MartinBraquet
e2cdfc01cd Remove unnecessary console logs and update Playwright reporter configuration 2026-04-04 14:34:50 +02:00
Okechi Jones-Williams
d2c9d12b39 test(e2e): add auth, settings, social and organization page coverage
* 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>
2026-04-04 14:21:40 +02:00
MartinBraquet
1e5c7b07c2 Add substance fields: cannabis and psychedelics 2026-03-30 14:55:31 +02:00
MartinBraquet
686c5777fd Seed more profiles 2026-03-30 13:27:43 +02:00
MartinBraquet
b1efd042cf Fix wrong text editor picked 2026-03-29 20:29:17 +02:00
Okechi Jones-Williams
cfeab0278c [Housekeeping] Organizing the test structure and files, adding fix for issue #36 (None descriptive error) (#38)
* 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>
2026-03-16 16:02:48 +01:00
MartinBraquet
f81932e14e Remove one skip 2026-03-13 15:55:55 +01:00
MartinBraquet
6b1813e129 Close modal before validating questions 2026-03-13 15:32:18 +01:00
MartinBraquet
0da158ce54 Update e2e test 2026-03-12 00:58:56 +01:00
MartinBraquet
0655266366 Move avatar URL and is-banned to separate columns and social links to profiles table 2026-03-06 23:51:49 +01:00
MartinBraquet
fbda1caaf7 Fix e2e tests 2026-03-05 23:49:25 +01:00