feat(e2e): twenty-e2e-testing with playwright (#6539)

## ISSUE (e2e) - Introduces e2e for twenty

 - Closes #6360
 
##  Description

- [x] Create Package. 
- [x] Setup environments such as baseUrl.
- [x] ignore CI configuration for now.
- [x] write a simple test to check if table is visible in companies tab.

### Running test with UI

```
yarn run test:e2e:ui
```

https://github.com/user-attachments/assets/a7b7ae35-8898-461e-8c7c-d3e4e9515aeb

### Running all test and seeing report

```
yarn run test:e2e
yarn run test:e2e:report
```



https://github.com/user-attachments/assets/2558a1f9-97cc-4f06-86f0-806f207eac5a

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
Nabhag Motivaras
2024-08-14 20:53:32 +05:30
committed by GitHub
parent 59e14fabb4
commit 197bca57ba
8 changed files with 138 additions and 3 deletions

View File

@ -9761,6 +9761,17 @@ __metadata:
languageName: node
linkType: hard
"@playwright/test@npm:^1.46.0":
version: 1.46.0
resolution: "@playwright/test@npm:1.46.0"
dependencies:
playwright: "npm:1.46.0"
bin:
playwright: cli.js
checksum: 10c0/dced91081efc8b063267626059b37923f44f98132edba906f30281277d919de27c6acf6de082d390ad263112a983f856e7f4bf37722a33cc42f62c5be308bf87
languageName: node
linkType: hard
"@pnpm/config.env-replace@npm:^1.1.0":
version: 1.1.0
resolution: "@pnpm/config.env-replace@npm:1.1.0"
@ -40191,7 +40202,7 @@ __metadata:
languageName: node
linkType: hard
"playwright@npm:^1.14.0, playwright@npm:^1.40.1":
"playwright@npm:1.46.0, playwright@npm:^1.14.0, playwright@npm:^1.46.0":
version: 1.46.0
resolution: "playwright@npm:1.46.0"
dependencies:
@ -47071,6 +47082,14 @@ __metadata:
languageName: unknown
linkType: soft
"twenty-e2e-testing@workspace:packages/twenty-e2e-testing":
version: 0.0.0-use.local
resolution: "twenty-e2e-testing@workspace:packages/twenty-e2e-testing"
dependencies:
"@playwright/test": "npm:^1.46.0"
languageName: unknown
linkType: soft
"twenty-emails@workspace:packages/twenty-emails":
version: 0.0.0-use.local
resolution: "twenty-emails@workspace:packages/twenty-emails"
@ -47440,7 +47459,7 @@ __metadata:
pg: "npm:^8.11.3"
pg-boss: "npm:^9.0.3"
planer: "npm:^1.2.0"
playwright: "npm:^1.40.1"
playwright: "npm:^1.46.0"
pluralize: "npm:^8.0.0"
prettier: "npm:^3.1.1"
prism-react-renderer: "npm:^2.1.0"