Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Create new e2e tests for desktop app UI#250

Merged
racitores merged 53 commits intomain-desktopfrom
chore/e2e-desktop-ui
Nov 29, 2022
Merged

Create new e2e tests for desktop app UI#250
racitores merged 53 commits intomain-desktopfrom
chore/e2e-desktop-ui

Conversation

@racitores
Copy link
Copy Markdown
Contributor

Explanation

Desktop project needs tests for the desktop UI side. This PR aims to add the basic infrastructure to start adding tests one the desktop UI side is ready to be tested.

Screenshots/Screencaps

Before

After

Manual Testing Steps

Pre-merge author checklist

  • I've clearly explained:
    • What problem this PR is solving
    • How this problem was solved
    • How reviewers can test my changes
  • Sufficient automated test coverage has been added

Pre-merge reviewer checklist

  • Manual testing (e.g. pull and build branch, run in browser, test code being changed)
  • PR is linked to the appropriate GitHub issue
  • IF this PR fixes a bug in the release milestone, add this PR to the release milestone

If further QA is required (e.g. new feature, complex testing steps, large refactor), add the Extension QA Board label.

In this case, a QA Engineer approval will be be required.

@racitores racitores requested a review from a team November 21, 2022 09:26
@racitores racitores linked an issue Nov 21, 2022 that may be closed by this pull request
@racitores racitores force-pushed the chore/e2e-desktop-ui branch from 662a219 to c054ab9 Compare November 21, 2022 12:35
@racitores racitores changed the title Create new e2e tests for desktop app UI DRAFT: Create new e2e tests for desktop app UI Nov 22, 2022
@legobeat legobeat marked this pull request as draft November 22, 2022 12:23
@racitores racitores changed the title DRAFT: Create new e2e tests for desktop app UI Create new e2e tests for desktop app UI Nov 22, 2022
@racitores racitores marked this pull request as ready for review November 22, 2022 15:53
@racitores racitores force-pushed the chore/e2e-desktop-ui branch from 2681a9e to 7c5be02 Compare November 22, 2022 16:47
@socket-security
Copy link
Copy Markdown

socket-security bot commented Nov 22, 2022

Socket Security Pull Request Report

Dependency issues detected. If you merge this pull request, you will not be alerted to the instances of these issues again.

📜 Install scripts

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Package Script field Source
playwright@1.23.1 (added) install yarn.lock,packages/app/package.json
😵‍💫 Bin script confusion

This package has multiple bin scripts with the same name. This can cause non-deterministic behavior when installing or could be a sign of a supply chain attack

Consider removing one of the conflicting packages. Packages should only export bin scripts with their name

Package Bin script Source
@playwright/test@1.23.1 (added) playwright yarn.lock,packages/app/package.json
playwright@1.23.1 (added) playwright yarn.lock,packages/app/package.json
playwright-core@1.23.1 (added) playwright yarn.lock via @playwright/test@1.23.1,packages/app/package.json
Pull request report summary
Issue Status
Install scripts ⚠️ 1 issue
Native code ✅ 0 issues
Bin script confusion ⚠️ 3 issues
Bin script shell injection ✅ 0 issues
Unresolved require ✅ 0 issues
Invalid package.json ✅ 0 issues
HTTP dependency ✅ 0 issues
Git dependency ✅ 0 issues
Potential typo squat ✅ 0 issues
Known Malware ✅ 0 issues
Telemetry ✅ 0 issues
Protestware/Troll package ✅ 0 issues
Bot Commands

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@2.4.2

  • @SocketSecurity ignore playwright@1.23.1
  • @SocketSecurity ignore @playwright/test@1.23.1
  • @SocketSecurity ignore playwright-core@1.23.1

Powered by socket.dev

@OGPoyraz
Copy link
Copy Markdown
Member

LGTM, ready to ship after rebase and green CI 🚀🚀🚀

@racitores racitores force-pushed the chore/e2e-desktop-ui branch from e6b8bd5 to f16e16f Compare November 29, 2022 15:53
@racitores racitores force-pushed the chore/e2e-desktop-ui branch from f16e16f to 08c3b28 Compare November 29, 2022 16:11
@racitores racitores merged commit ade601a into main-desktop Nov 29, 2022
bergarces pushed a commit that referenced this pull request Dec 5, 2022
* chore: first commit

* fix: circleci 2

* fix: circleci 3

* fix: circleci 4

* fix: circleci 5

* fix: circle 6

* temp

* temp 3

* temp 4

* temp 5

* temp 7

* temp 8

* temp 9

* temp 10

* temp 11

* temp 12

* temp 13

* temp 14

* fix. config.yml

* update: config.yml

* update: config.yml

* update: config.yml

* Updated config.yml

* fix: config.yml

* fix: lint

* fix: lint

* fix: lint

* move playwright in monorepo

* update package.json and README

* update config.yml

* fix rebase error

* fix pipeline issues

* fix config.yml

* fix config.yml and test

* debug pipeline

* refactor code

* fix circleci

* check screenshots

* check screenshots

* code refactor

* clean code

* remove white spaces

* PR comments fix

* update test

* fix issue in ci

* fix MM e2e

* fix lint

* fix UTs

* fix uts

* fix dir mapping clashing in test circleci

* Fix minor issues after rebase

Update Playwright README.
Add example env file.
Fix linting issues.

* Fix moving builds in CI

* remove log file

Co-authored-by: Matthew Walsh <matthew.walsh@consensys.net>
@racitores racitores deleted the chore/e2e-desktop-ui branch January 31, 2023 18:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create infrastructure for desktop app UI e2e tests

5 participants