Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[E2E] [QA] Optimizing playwright setup and playwright.config.ts files #4741

Merged
merged 10 commits into from
Apr 9, 2024

Conversation

yellowee
Copy link
Contributor

@yellowee yellowee commented Mar 21, 2024

  • Adding a conditioning to auth.setup.ts file to use existing auth json file if it's applicable
  • Added some optimizations to playwright config file
  • Cleaned up gh action for playwright tests (removed Cypress references)
  • Updating gh workflow for PR automation with extra test sharding
  • General cleanup of redundant code

What type of PR is this?

  • 💅 Refactor
  • 🌟 Feature
  • 🔥 Bug Fix
  • 🔩 Maintenance
  • 🛠 Workflow CI/CD changes

Related Issues or Documents

  • closes #

Usage Instructions, Screenshots, Recordings

Have you written tests?

  • Yes!
  • No... here is why: Writing tests are mandatory, please replace this text with why test are not included in this PR

[Optional] Description

@yellowee yellowee self-assigned this Mar 21, 2024
Copy link

changeset-bot bot commented Mar 21, 2024

🦋 Changeset detected

Latest commit: be9bbe2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
saleor-dashboard Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@yellowee yellowee force-pushed the playwright_setup_improvements branch from 61f6c12 to 9557736 Compare March 21, 2024 09:31
@github-actions github-actions bot temporarily deployed to pr-4741 March 21, 2024 09:33 Destroyed
@yellowee yellowee force-pushed the playwright_setup_improvements branch from 9557736 to 75df838 Compare March 21, 2024 09:52
@github-actions github-actions bot temporarily deployed to pr-4741 March 21, 2024 09:54 Destroyed
@yellowee yellowee force-pushed the playwright_setup_improvements branch from 75df838 to 962d5cc Compare March 21, 2024 10:00
@github-actions github-actions bot temporarily deployed to pr-4741 March 21, 2024 10:02 Destroyed
@yellowee yellowee force-pushed the playwright_setup_improvements branch 2 times, most recently from 28984c0 to 6f027cd Compare March 21, 2024 10:14
@github-actions github-actions bot temporarily deployed to pr-4741 March 21, 2024 10:17 Destroyed
@yellowee yellowee force-pushed the playwright_setup_improvements branch 4 times, most recently from 407edbd to 2fdc554 Compare March 21, 2024 10:42
@github-actions github-actions bot temporarily deployed to pr-4741 March 21, 2024 10:44 Destroyed
@yellowee yellowee force-pushed the playwright_setup_improvements branch from 2fdc554 to 744b397 Compare March 21, 2024 10:48
@github-actions github-actions bot temporarily deployed to pr-4741 March 21, 2024 11:03 Destroyed
@yellowee yellowee force-pushed the playwright_setup_improvements branch from 744b397 to ba1baa9 Compare March 21, 2024 11:14
@github-actions github-actions bot temporarily deployed to pr-4741 March 21, 2024 11:16 Destroyed
@yellowee yellowee force-pushed the playwright_setup_improvements branch from ba1baa9 to 9314644 Compare March 21, 2024 11:25
@github-actions github-actions bot temporarily deployed to pr-4741 March 21, 2024 11:27 Destroyed
@yellowee yellowee force-pushed the playwright_setup_improvements branch from 9314644 to 6c1e098 Compare March 21, 2024 11:31
@github-actions github-actions bot temporarily deployed to pr-4741 March 21, 2024 11:34 Destroyed
@yellowee yellowee force-pushed the playwright_setup_improvements branch from 6c1e098 to 35e9d46 Compare March 21, 2024 11:40
@github-actions github-actions bot temporarily deployed to pr-4741 March 21, 2024 11:43 Destroyed
@yellowee yellowee force-pushed the playwright_setup_improvements branch from 35e9d46 to bb1addf Compare March 21, 2024 11:47
@yellowee yellowee merged commit 024f2d0 into main Apr 9, 2024
17 checks passed
@yellowee yellowee deleted the playwright_setup_improvements branch April 9, 2024 08:02
karola312 pushed a commit that referenced this pull request Apr 9, 2024
…#4741)

* adding condition to not create json file if it does exist

* adding cache

* adding cache

* updating yml files

* fixing GH action

* fixing flaky test

* adding randomization to tests execution

* reverting

* fixing flaky tests

* updating other gh workflows consisting of pw test run
karola312 added a commit that referenced this pull request May 7, 2024
* Test PR - running playwright tests after deployment

* Test PR - running playwright tests after deployment

* Rerun job

* open draft PR

* Add check

* Add check

* Add check

* Add check

* Add check

* Add check

* Add check

* Add check

* Update check

* Update check

* Update check

* Update check

* Update check

* Update check

* Update check

* Update check

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Check if PR exist

* Check if PR exist

* Check if PR exist

* Check if PR exist

* restore data from snapshot

* Allow user without app permission access apps view (#4738)

* Allow user without app permission access apps view

* Use css subgrid instead of multiple map loops

* Add protection to queries and mutation that use App fragments

* Allow user to see manage app view

* Refactor app permission check to hook

* Protect routes

* shouldShowInstalledApps

* Refactor AppListPage, write test for loading, empty state with checking manage_app perm

* Change manage button label depend on manage_apps

* Improve typing

* Extract messages

* ButtonWithTooltip

* Refactor HeaderOptions, block action when no manage_apps

* Improve buttons

* Add changset

* Adjust singlePermission tests

* Remove required hasManagedAppsPermission when default

* Improve action icons

* Improve naming and refactor AppListCardInstallButton

* Improve changset

* Improve tests

* [E2E] Fixing flaky e2e tests (#4751)

* adding extra assertion to translation tests

* updating assertion in attribute tests

* modifying assertions for gift card tests

* [E2E] Fixing another batch of flaky tests (#4756)

* updating tests for extra assertions and adding skip to App test

* updating tests for extra assertions

* updating tests for extra assertions and temporarily commenting not working assertions

* adding PW test for readonly Apps access (#4755)

* [QA] Correcting e2e test case ids (#4764)

* correcting test case ids

* fixing flaky test

* Update .changeset/serious-books-wave.md

Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>

---------

Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>

* New github action for gathering metrics (#4762)

* New github action for metrics gathering

* metrics file name containing date

* search query repo update

* Update .github/workflows/repo-metrics.yml

Co-authored-by: Mikolaj Stempniewicz <mikolaj@stempniewicz.net>

* Update repo-metrics.yml

* Update repo-metrics.yml

* Update .github/workflows/repo-metrics.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

---------

Co-authored-by: Mikolaj Stempniewicz <mikolaj@stempniewicz.net>
Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* Gathering pull requests metrics (#4766)

* fix workflow dispatch trigger

* fix workflow dispatch trigger

* metrics for pr

* removed date from file name

* on push added

* wip

* date in issue name, workflow dispatch trigger

* Create long-keys-compare.md

* add siteSettings basic test (#4759)

* Remove babel (#4711)

* Remove babel

* Add changeset

* Fix showing empty tooltip when no content by bumping macaw-ui to newest (#4771)

* Bump macaw

* Add changeset

* [E2E] Tests for page types (#4765)

* add changeset

* add test data

* add tests and  update data-test-id

* code review fixes

* spaces

* adding test for permission groups (#4758)

* fixing flaky tests (#4772)

* Send tests results when running manually (#4737)

* Send tests results when running manually

* Send tests results when running manually

* Send tests results when running manually

* Check if it is working

* Fix init testmo

* Fix submit threads

* Fix working directory when sending results to testmo

* Add name and tag

* Add name and tag

* Fix run name

* Add reports when tests run by cron

* Fix messages skip ci

* Fix messages [skip ci]

* Sending playwright tests results to slack and testmo

* Update .github/workflows/tests-nightly.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* changes fter review

* fix changeset

---------

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* Fix version

* Run tests

* Run tests on correct branch

* Update status check if job failed

* Update status check if job failed

* Manual order transaction refund (#4774)

* Order manual transaction view init

* Connect RHF

* Add sending mutation

* Refactor, add intl, fix form validation

* extract messages

* Add changeset

* Refactor transactions tiles

* Improve loading and disable state, fix radio group control

* Hadle no transactions

* Write tests

* extract messages

* Refactor fragments

* Move mutation to form component

* Fix test

* fixing flaky tests (#4772) (#4778)

* Show all transaction in manual refund view (#4779)

* Order manual transaction view init

* Connect RHF

* Add sending mutation

* Refactor, add intl, fix form validation

* extract messages

* Add changeset

* Refactor transactions tiles

* Improve loading and disable state, fix radio group control

* Hadle no transactions

* Write tests

* extract messages

* Refactor fragments

* Move mutation to form component

* Fix test

* Show all transactions

* Add changeset

* Update tests

* Extract messages

* Fix typo

* Improve tooltip

* [E2E] [QA] Optimizing playwright setup and playwright.config.ts files (#4741)

* adding condition to not create json file if it does exist

* adding cache

* adding cache

* updating yml files

* fixing GH action

* fixing flaky test

* adding randomization to tests execution

* reverting

* fixing flaky tests

* updating other gh workflows consisting of pw test run

* Fix version

* Fix checkout

* [E2E] Tests for product types (#4757)

* initial commit with changelog

* add test for update product type

* add test to delete several product types

* add test to remove product type with asigned product

* fix numering and assertion after removing types

* typo

* update test data

* add assertions

* remove stripe and emails plugins app replacement message (#4777)

* switch version to 3.19

* Fix submit results

* Fix update check

* Fix update check

* Fix update check

* Fix script

* Fix status

* test trigger run tests on release job

* last test

* last test

* [E2E] Use dummy app in delete app test (#4789)

* replace app

* update test data

* fixing flaky gift cards tests (#4785)

* Fix workflow name

* Fix names

* Fix names

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for higher versions - playwright

* Delete test workflow

* Add changeset

* Update .github/actions/checks/create-pull-request-check/action.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* Update .github/workflows/prepare-release.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* use jq, don't use string interpolation

* Check if still works after review changes

* Fix crete check

* Fix crete check

* Fix crete check

* Remove leftovers

* Fix head sha

* Fix head sha

* Fix head sha

* Fix head sha

* cleanup after tests

* Update .github/actions/checks/create-pull-request-check/action.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* tests if works after review changes

* tests if works after review changes

* Remove testing workflow

* Update .github/actions/checks/update-pull-request-check/action.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* Update .github/workflows/run-tests-on-release.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* Update .github/actions/prepare-api-variables/action.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* merge deploy and prepare release workflows

---------

Co-authored-by: Paweł Chyła <chyla1988@gmail.com>
Co-authored-by: Renata <renata.gajzlerowicz@gmail.com>
Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Co-authored-by: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com>
Co-authored-by: Mikolaj Stempniewicz <mikolaj@stempniewicz.net>
Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>
Co-authored-by: M.Graczyk <michalina.graczyk@saleor.io>
Co-authored-by: Anna Szczęch <30683248+szczecha@users.noreply.github.com>
Co-authored-by: Lukasz Ostrowski <lukasz.ostrowski@saleor.io>
karola312 added a commit that referenced this pull request May 7, 2024
* Test PR - running playwright tests after deployment

* Test PR - running playwright tests after deployment

* Rerun job

* open draft PR

* Add check

* Add check

* Add check

* Add check

* Add check

* Add check

* Add check

* Add check

* Update check

* Update check

* Update check

* Update check

* Update check

* Update check

* Update check

* Update check

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Check if PR exist

* Check if PR exist

* Check if PR exist

* Check if PR exist

* restore data from snapshot

* Allow user without app permission access apps view (#4738)

* Allow user without app permission access apps view

* Use css subgrid instead of multiple map loops

* Add protection to queries and mutation that use App fragments

* Allow user to see manage app view

* Refactor app permission check to hook

* Protect routes

* shouldShowInstalledApps

* Refactor AppListPage, write test for loading, empty state with checking manage_app perm

* Change manage button label depend on manage_apps

* Improve typing

* Extract messages

* ButtonWithTooltip

* Refactor HeaderOptions, block action when no manage_apps

* Improve buttons

* Add changset

* Adjust singlePermission tests

* Remove required hasManagedAppsPermission when default

* Improve action icons

* Improve naming and refactor AppListCardInstallButton

* Improve changset

* Improve tests

* [E2E] Fixing flaky e2e tests (#4751)

* adding extra assertion to translation tests

* updating assertion in attribute tests

* modifying assertions for gift card tests

* [E2E] Fixing another batch of flaky tests (#4756)

* updating tests for extra assertions and adding skip to App test

* updating tests for extra assertions

* updating tests for extra assertions and temporarily commenting not working assertions

* adding PW test for readonly Apps access (#4755)

* [QA] Correcting e2e test case ids (#4764)

* correcting test case ids

* fixing flaky test

* Update .changeset/serious-books-wave.md

Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>

---------

Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>

* New github action for gathering metrics (#4762)

* New github action for metrics gathering

* metrics file name containing date

* search query repo update

* Update .github/workflows/repo-metrics.yml

Co-authored-by: Mikolaj Stempniewicz <mikolaj@stempniewicz.net>

* Update repo-metrics.yml

* Update repo-metrics.yml

* Update .github/workflows/repo-metrics.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

---------

Co-authored-by: Mikolaj Stempniewicz <mikolaj@stempniewicz.net>
Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* Gathering pull requests metrics (#4766)

* fix workflow dispatch trigger

* fix workflow dispatch trigger

* metrics for pr

* removed date from file name

* on push added

* wip

* date in issue name, workflow dispatch trigger

* Create long-keys-compare.md

* add siteSettings basic test (#4759)

* Remove babel (#4711)

* Remove babel

* Add changeset

* Fix showing empty tooltip when no content by bumping macaw-ui to newest (#4771)

* Bump macaw

* Add changeset

* [E2E] Tests for page types (#4765)

* add changeset

* add test data

* add tests and  update data-test-id

* code review fixes

* spaces

* adding test for permission groups (#4758)

* fixing flaky tests (#4772)

* Send tests results when running manually (#4737)

* Send tests results when running manually

* Send tests results when running manually

* Send tests results when running manually

* Check if it is working

* Fix init testmo

* Fix submit threads

* Fix working directory when sending results to testmo

* Add name and tag

* Add name and tag

* Fix run name

* Add reports when tests run by cron

* Fix messages skip ci

* Fix messages [skip ci]

* Sending playwright tests results to slack and testmo

* Update .github/workflows/tests-nightly.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* changes fter review

* fix changeset

---------

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* Fix version

* Run tests

* Run tests on correct branch

* Update status check if job failed

* Update status check if job failed

* Manual order transaction refund (#4774)

* Order manual transaction view init

* Connect RHF

* Add sending mutation

* Refactor, add intl, fix form validation

* extract messages

* Add changeset

* Refactor transactions tiles

* Improve loading and disable state, fix radio group control

* Hadle no transactions

* Write tests

* extract messages

* Refactor fragments

* Move mutation to form component

* Fix test

* fixing flaky tests (#4772) (#4778)

* Show all transaction in manual refund view (#4779)

* Order manual transaction view init

* Connect RHF

* Add sending mutation

* Refactor, add intl, fix form validation

* extract messages

* Add changeset

* Refactor transactions tiles

* Improve loading and disable state, fix radio group control

* Hadle no transactions

* Write tests

* extract messages

* Refactor fragments

* Move mutation to form component

* Fix test

* Show all transactions

* Add changeset

* Update tests

* Extract messages

* Fix typo

* Improve tooltip

* [E2E] [QA] Optimizing playwright setup and playwright.config.ts files (#4741)

* adding condition to not create json file if it does exist

* adding cache

* adding cache

* updating yml files

* fixing GH action

* fixing flaky test

* adding randomization to tests execution

* reverting

* fixing flaky tests

* updating other gh workflows consisting of pw test run

* Fix version

* Fix checkout

* [E2E] Tests for product types (#4757)

* initial commit with changelog

* add test for update product type

* add test to delete several product types

* add test to remove product type with asigned product

* fix numering and assertion after removing types

* typo

* update test data

* add assertions

* remove stripe and emails plugins app replacement message (#4777)

* switch version to 3.19

* Fix submit results

* Fix update check

* Fix update check

* Fix update check

* Fix script

* Fix status

* test trigger run tests on release job

* last test

* last test

* [E2E] Use dummy app in delete app test (#4789)

* replace app

* update test data

* fixing flaky gift cards tests (#4785)

* Fix workflow name

* Fix names

* Fix names

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for higher versions - playwright

* Delete test workflow

* Add changeset

* Update .github/actions/checks/create-pull-request-check/action.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* Update .github/workflows/prepare-release.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* use jq, don't use string interpolation

* Check if still works after review changes

* Fix crete check

* Fix crete check

* Fix crete check

* Remove leftovers

* Fix head sha

* Fix head sha

* Fix head sha

* Fix head sha

* cleanup after tests

* Update .github/actions/checks/create-pull-request-check/action.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* tests if works after review changes

* tests if works after review changes

* Remove testing workflow

* Update .github/actions/checks/update-pull-request-check/action.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* Update .github/workflows/run-tests-on-release.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* Update .github/actions/prepare-api-variables/action.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* merge deploy and prepare release workflows

---------

Co-authored-by: Paweł Chyła <chyla1988@gmail.com>
Co-authored-by: Renata <renata.gajzlerowicz@gmail.com>
Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Co-authored-by: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com>
Co-authored-by: Mikolaj Stempniewicz <mikolaj@stempniewicz.net>
Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>
Co-authored-by: M.Graczyk <michalina.graczyk@saleor.io>
Co-authored-by: Anna Szczęch <30683248+szczecha@users.noreply.github.com>
Co-authored-by: Lukasz Ostrowski <lukasz.ostrowski@saleor.io>
karola312 added a commit that referenced this pull request May 8, 2024
* Test PR - running playwright tests after deployment

* Test PR - running playwright tests after deployment

* Rerun job

* open draft PR

* Add check

* Add check

* Add check

* Add check

* Add check

* Add check

* Add check

* Add check

* Update check

* Update check

* Update check

* Update check

* Update check

* Update check

* Update check

* Update check

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Check if PR exist

* Check if PR exist

* Check if PR exist

* Check if PR exist

* restore data from snapshot

* Allow user without app permission access apps view (#4738)

* Allow user without app permission access apps view

* Use css subgrid instead of multiple map loops

* Add protection to queries and mutation that use App fragments

* Allow user to see manage app view

* Refactor app permission check to hook

* Protect routes

* shouldShowInstalledApps

* Refactor AppListPage, write test for loading, empty state with checking manage_app perm

* Change manage button label depend on manage_apps

* Improve typing

* Extract messages

* ButtonWithTooltip

* Refactor HeaderOptions, block action when no manage_apps

* Improve buttons

* Add changset

* Adjust singlePermission tests

* Remove required hasManagedAppsPermission when default

* Improve action icons

* Improve naming and refactor AppListCardInstallButton

* Improve changset

* Improve tests

* [E2E] Fixing flaky e2e tests (#4751)

* adding extra assertion to translation tests

* updating assertion in attribute tests

* modifying assertions for gift card tests

* [E2E] Fixing another batch of flaky tests (#4756)

* updating tests for extra assertions and adding skip to App test

* updating tests for extra assertions

* updating tests for extra assertions and temporarily commenting not working assertions

* adding PW test for readonly Apps access (#4755)

* [QA] Correcting e2e test case ids (#4764)

* correcting test case ids

* fixing flaky test

* Update .changeset/serious-books-wave.md



---------



* New github action for gathering metrics (#4762)

* New github action for metrics gathering

* metrics file name containing date

* search query repo update

* Update .github/workflows/repo-metrics.yml



* Update repo-metrics.yml

* Update repo-metrics.yml

* Update .github/workflows/repo-metrics.yml



---------




* Gathering pull requests metrics (#4766)

* fix workflow dispatch trigger

* fix workflow dispatch trigger

* metrics for pr

* removed date from file name

* on push added

* wip

* date in issue name, workflow dispatch trigger

* Create long-keys-compare.md

* add siteSettings basic test (#4759)

* Remove babel (#4711)

* Remove babel

* Add changeset

* Fix showing empty tooltip when no content by bumping macaw-ui to newest (#4771)

* Bump macaw

* Add changeset

* [E2E] Tests for page types (#4765)

* add changeset

* add test data

* add tests and  update data-test-id

* code review fixes

* spaces

* adding test for permission groups (#4758)

* fixing flaky tests (#4772)

* Send tests results when running manually (#4737)

* Send tests results when running manually

* Send tests results when running manually

* Send tests results when running manually

* Check if it is working

* Fix init testmo

* Fix submit threads

* Fix working directory when sending results to testmo

* Add name and tag

* Add name and tag

* Fix run name

* Add reports when tests run by cron

* Fix messages skip ci

* Fix messages [skip ci]

* Sending playwright tests results to slack and testmo

* Update .github/workflows/tests-nightly.yml



* changes fter review

* fix changeset

---------



* Fix version

* Run tests

* Run tests on correct branch

* Update status check if job failed

* Update status check if job failed

* Manual order transaction refund (#4774)

* Order manual transaction view init

* Connect RHF

* Add sending mutation

* Refactor, add intl, fix form validation

* extract messages

* Add changeset

* Refactor transactions tiles

* Improve loading and disable state, fix radio group control

* Hadle no transactions

* Write tests

* extract messages

* Refactor fragments

* Move mutation to form component

* Fix test

* fixing flaky tests (#4772) (#4778)

* Show all transaction in manual refund view (#4779)

* Order manual transaction view init

* Connect RHF

* Add sending mutation

* Refactor, add intl, fix form validation

* extract messages

* Add changeset

* Refactor transactions tiles

* Improve loading and disable state, fix radio group control

* Hadle no transactions

* Write tests

* extract messages

* Refactor fragments

* Move mutation to form component

* Fix test

* Show all transactions

* Add changeset

* Update tests

* Extract messages

* Fix typo

* Improve tooltip

* [E2E] [QA] Optimizing playwright setup and playwright.config.ts files (#4741)

* adding condition to not create json file if it does exist

* adding cache

* adding cache

* updating yml files

* fixing GH action

* fixing flaky test

* adding randomization to tests execution

* reverting

* fixing flaky tests

* updating other gh workflows consisting of pw test run

* Fix version

* Fix checkout

* [E2E] Tests for product types (#4757)

* initial commit with changelog

* add test for update product type

* add test to delete several product types

* add test to remove product type with asigned product

* fix numering and assertion after removing types

* typo

* update test data

* add assertions

* remove stripe and emails plugins app replacement message (#4777)

* switch version to 3.19

* Fix submit results

* Fix update check

* Fix update check

* Fix update check

* Fix script

* Fix status

* test trigger run tests on release job

* last test

* last test

* [E2E] Use dummy app in delete app test (#4789)

* replace app

* update test data

* fixing flaky gift cards tests (#4785)

* Fix workflow name

* Fix names

* Fix names

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for higher versions - playwright

* Delete test workflow

* Add changeset

* Update .github/actions/checks/create-pull-request-check/action.yml



* Update .github/workflows/prepare-release.yml



* use jq, don't use string interpolation

* Check if still works after review changes

* Fix crete check

* Fix crete check

* Fix crete check

* Remove leftovers

* Fix head sha

* Fix head sha

* Fix head sha

* Fix head sha

* cleanup after tests

* Update .github/actions/checks/create-pull-request-check/action.yml



* tests if works after review changes

* tests if works after review changes

* Remove testing workflow

* Update .github/actions/checks/update-pull-request-check/action.yml



* Update .github/workflows/run-tests-on-release.yml



* Update .github/actions/prepare-api-variables/action.yml



* merge deploy and prepare release workflows

---------

Co-authored-by: Paweł Chyła <chyla1988@gmail.com>
Co-authored-by: Renata <renata.gajzlerowicz@gmail.com>
Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Co-authored-by: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com>
Co-authored-by: Mikolaj Stempniewicz <mikolaj@stempniewicz.net>
Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>
Co-authored-by: M.Graczyk <michalina.graczyk@saleor.io>
Co-authored-by: Anna Szczęch <30683248+szczecha@users.noreply.github.com>
Co-authored-by: Lukasz Ostrowski <lukasz.ostrowski@saleor.io>
karola312 added a commit that referenced this pull request May 9, 2024
* Test PR - running playwright tests after deployment

* Test PR - running playwright tests after deployment

* Rerun job

* open draft PR

* Add check

* Add check

* Add check

* Add check

* Add check

* Add check

* Add check

* Add check

* Update check

* Update check

* Update check

* Update check

* Update check

* Update check

* Update check

* Update check

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Check if PR exist

* Check if PR exist

* Check if PR exist

* Check if PR exist

* restore data from snapshot

* Allow user without app permission access apps view (#4738)

* Allow user without app permission access apps view

* Use css subgrid instead of multiple map loops

* Add protection to queries and mutation that use App fragments

* Allow user to see manage app view

* Refactor app permission check to hook

* Protect routes

* shouldShowInstalledApps

* Refactor AppListPage, write test for loading, empty state with checking manage_app perm

* Change manage button label depend on manage_apps

* Improve typing

* Extract messages

* ButtonWithTooltip

* Refactor HeaderOptions, block action when no manage_apps

* Improve buttons

* Add changset

* Adjust singlePermission tests

* Remove required hasManagedAppsPermission when default

* Improve action icons

* Improve naming and refactor AppListCardInstallButton

* Improve changset

* Improve tests

* [E2E] Fixing flaky e2e tests (#4751)

* adding extra assertion to translation tests

* updating assertion in attribute tests

* modifying assertions for gift card tests

* [E2E] Fixing another batch of flaky tests (#4756)

* updating tests for extra assertions and adding skip to App test

* updating tests for extra assertions

* updating tests for extra assertions and temporarily commenting not working assertions

* adding PW test for readonly Apps access (#4755)

* [QA] Correcting e2e test case ids (#4764)

* correcting test case ids

* fixing flaky test

* Update .changeset/serious-books-wave.md

Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>

---------

Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>

* New github action for gathering metrics (#4762)

* New github action for metrics gathering

* metrics file name containing date

* search query repo update

* Update .github/workflows/repo-metrics.yml

Co-authored-by: Mikolaj Stempniewicz <mikolaj@stempniewicz.net>

* Update repo-metrics.yml

* Update repo-metrics.yml

* Update .github/workflows/repo-metrics.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

---------

Co-authored-by: Mikolaj Stempniewicz <mikolaj@stempniewicz.net>
Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* Gathering pull requests metrics (#4766)

* fix workflow dispatch trigger

* fix workflow dispatch trigger

* metrics for pr

* removed date from file name

* on push added

* wip

* date in issue name, workflow dispatch trigger

* Create long-keys-compare.md

* add siteSettings basic test (#4759)

* Remove babel (#4711)

* Remove babel

* Add changeset

* Fix showing empty tooltip when no content by bumping macaw-ui to newest (#4771)

* Bump macaw

* Add changeset

* [E2E] Tests for page types (#4765)

* add changeset

* add test data

* add tests and  update data-test-id

* code review fixes

* spaces

* adding test for permission groups (#4758)

* fixing flaky tests (#4772)

* Send tests results when running manually (#4737)

* Send tests results when running manually

* Send tests results when running manually

* Send tests results when running manually

* Check if it is working

* Fix init testmo

* Fix submit threads

* Fix working directory when sending results to testmo

* Add name and tag

* Add name and tag

* Fix run name

* Add reports when tests run by cron

* Fix messages skip ci

* Fix messages [skip ci]

* Sending playwright tests results to slack and testmo

* Update .github/workflows/tests-nightly.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* changes fter review

* fix changeset

---------

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* Fix version

* Run tests

* Run tests on correct branch

* Update status check if job failed

* Update status check if job failed

* Manual order transaction refund (#4774)

* Order manual transaction view init

* Connect RHF

* Add sending mutation

* Refactor, add intl, fix form validation

* extract messages

* Add changeset

* Refactor transactions tiles

* Improve loading and disable state, fix radio group control

* Hadle no transactions

* Write tests

* extract messages

* Refactor fragments

* Move mutation to form component

* Fix test

* fixing flaky tests (#4772) (#4778)

* Show all transaction in manual refund view (#4779)

* Order manual transaction view init

* Connect RHF

* Add sending mutation

* Refactor, add intl, fix form validation

* extract messages

* Add changeset

* Refactor transactions tiles

* Improve loading and disable state, fix radio group control

* Hadle no transactions

* Write tests

* extract messages

* Refactor fragments

* Move mutation to form component

* Fix test

* Show all transactions

* Add changeset

* Update tests

* Extract messages

* Fix typo

* Improve tooltip

* [E2E] [QA] Optimizing playwright setup and playwright.config.ts files (#4741)

* adding condition to not create json file if it does exist

* adding cache

* adding cache

* updating yml files

* fixing GH action

* fixing flaky test

* adding randomization to tests execution

* reverting

* fixing flaky tests

* updating other gh workflows consisting of pw test run

* Fix version

* Fix checkout

* [E2E] Tests for product types (#4757)

* initial commit with changelog

* add test for update product type

* add test to delete several product types

* add test to remove product type with asigned product

* fix numering and assertion after removing types

* typo

* update test data

* add assertions

* remove stripe and emails plugins app replacement message (#4777)

* switch version to 3.19

* Fix submit results

* Fix update check

* Fix update check

* Fix update check

* Fix script

* Fix status

* test trigger run tests on release job

* last test

* last test

* [E2E] Use dummy app in delete app test (#4789)

* replace app

* update test data

* fixing flaky gift cards tests (#4785)

* Fix workflow name

* Fix names

* Fix names

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for higher versions - playwright

* Delete test workflow

* Add changeset

* Update .github/actions/checks/create-pull-request-check/action.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* Update .github/workflows/prepare-release.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* use jq, don't use string interpolation

* Check if still works after review changes

* Fix crete check

* Fix crete check

* Fix crete check

* Remove leftovers

* Fix head sha

* Fix head sha

* Fix head sha

* Fix head sha

* cleanup after tests

* Update .github/actions/checks/create-pull-request-check/action.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* tests if works after review changes

* tests if works after review changes

* Remove testing workflow

* Update .github/actions/checks/update-pull-request-check/action.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* Update .github/workflows/run-tests-on-release.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* Update .github/actions/prepare-api-variables/action.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* merge deploy and prepare release workflows

---------

Co-authored-by: Paweł Chyła <chyla1988@gmail.com>
Co-authored-by: Renata <renata.gajzlerowicz@gmail.com>
Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Co-authored-by: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com>
Co-authored-by: Mikolaj Stempniewicz <mikolaj@stempniewicz.net>
Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>
Co-authored-by: M.Graczyk <michalina.graczyk@saleor.io>
Co-authored-by: Anna Szczęch <30683248+szczecha@users.noreply.github.com>
Co-authored-by: Lukasz Ostrowski <lukasz.ostrowski@saleor.io>
karola312 added a commit that referenced this pull request May 27, 2024
* Run automation tests on release (#4775)

* Test PR - running playwright tests after deployment

* Test PR - running playwright tests after deployment

* Rerun job

* open draft PR

* Add check

* Add check

* Add check

* Add check

* Add check

* Add check

* Add check

* Add check

* Update check

* Update check

* Update check

* Update check

* Update check

* Update check

* Update check

* Update check

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Move create check to seperate file

* Check if PR exist

* Check if PR exist

* Check if PR exist

* Check if PR exist

* restore data from snapshot

* Allow user without app permission access apps view (#4738)

* Allow user without app permission access apps view

* Use css subgrid instead of multiple map loops

* Add protection to queries and mutation that use App fragments

* Allow user to see manage app view

* Refactor app permission check to hook

* Protect routes

* shouldShowInstalledApps

* Refactor AppListPage, write test for loading, empty state with checking manage_app perm

* Change manage button label depend on manage_apps

* Improve typing

* Extract messages

* ButtonWithTooltip

* Refactor HeaderOptions, block action when no manage_apps

* Improve buttons

* Add changset

* Adjust singlePermission tests

* Remove required hasManagedAppsPermission when default

* Improve action icons

* Improve naming and refactor AppListCardInstallButton

* Improve changset

* Improve tests

* [E2E] Fixing flaky e2e tests (#4751)

* adding extra assertion to translation tests

* updating assertion in attribute tests

* modifying assertions for gift card tests

* [E2E] Fixing another batch of flaky tests (#4756)

* updating tests for extra assertions and adding skip to App test

* updating tests for extra assertions

* updating tests for extra assertions and temporarily commenting not working assertions

* adding PW test for readonly Apps access (#4755)

* [QA] Correcting e2e test case ids (#4764)

* correcting test case ids

* fixing flaky test

* Update .changeset/serious-books-wave.md

Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>

---------

Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>

* New github action for gathering metrics (#4762)

* New github action for metrics gathering

* metrics file name containing date

* search query repo update

* Update .github/workflows/repo-metrics.yml

Co-authored-by: Mikolaj Stempniewicz <mikolaj@stempniewicz.net>

* Update repo-metrics.yml

* Update repo-metrics.yml

* Update .github/workflows/repo-metrics.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

---------

Co-authored-by: Mikolaj Stempniewicz <mikolaj@stempniewicz.net>
Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* Gathering pull requests metrics (#4766)

* fix workflow dispatch trigger

* fix workflow dispatch trigger

* metrics for pr

* removed date from file name

* on push added

* wip

* date in issue name, workflow dispatch trigger

* Create long-keys-compare.md

* add siteSettings basic test (#4759)

* Remove babel (#4711)

* Remove babel

* Add changeset

* Fix showing empty tooltip when no content by bumping macaw-ui to newest (#4771)

* Bump macaw

* Add changeset

* [E2E] Tests for page types (#4765)

* add changeset

* add test data

* add tests and  update data-test-id

* code review fixes

* spaces

* adding test for permission groups (#4758)

* fixing flaky tests (#4772)

* Send tests results when running manually (#4737)

* Send tests results when running manually

* Send tests results when running manually

* Send tests results when running manually

* Check if it is working

* Fix init testmo

* Fix submit threads

* Fix working directory when sending results to testmo

* Add name and tag

* Add name and tag

* Fix run name

* Add reports when tests run by cron

* Fix messages skip ci

* Fix messages [skip ci]

* Sending playwright tests results to slack and testmo

* Update .github/workflows/tests-nightly.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* changes fter review

* fix changeset

---------

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* Fix version

* Run tests

* Run tests on correct branch

* Update status check if job failed

* Update status check if job failed

* Manual order transaction refund (#4774)

* Order manual transaction view init

* Connect RHF

* Add sending mutation

* Refactor, add intl, fix form validation

* extract messages

* Add changeset

* Refactor transactions tiles

* Improve loading and disable state, fix radio group control

* Hadle no transactions

* Write tests

* extract messages

* Refactor fragments

* Move mutation to form component

* Fix test

* fixing flaky tests (#4772) (#4778)

* Show all transaction in manual refund view (#4779)

* Order manual transaction view init

* Connect RHF

* Add sending mutation

* Refactor, add intl, fix form validation

* extract messages

* Add changeset

* Refactor transactions tiles

* Improve loading and disable state, fix radio group control

* Hadle no transactions

* Write tests

* extract messages

* Refactor fragments

* Move mutation to form component

* Fix test

* Show all transactions

* Add changeset

* Update tests

* Extract messages

* Fix typo

* Improve tooltip

* [E2E] [QA] Optimizing playwright setup and playwright.config.ts files (#4741)

* adding condition to not create json file if it does exist

* adding cache

* adding cache

* updating yml files

* fixing GH action

* fixing flaky test

* adding randomization to tests execution

* reverting

* fixing flaky tests

* updating other gh workflows consisting of pw test run

* Fix version

* Fix checkout

* [E2E] Tests for product types (#4757)

* initial commit with changelog

* add test for update product type

* add test to delete several product types

* add test to remove product type with asigned product

* fix numering and assertion after removing types

* typo

* update test data

* add assertions

* remove stripe and emails plugins app replacement message (#4777)

* switch version to 3.19

* Fix submit results

* Fix update check

* Fix update check

* Fix update check

* Fix script

* Fix status

* test trigger run tests on release job

* last test

* last test

* [E2E] Use dummy app in delete app test (#4789)

* replace app

* update test data

* fixing flaky gift cards tests (#4785)

* Fix workflow name

* Fix names

* Fix names

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* do not run cypress if higher version

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for lower versions run only cypress

* test for higher versions - playwright

* Delete test workflow

* Add changeset

* Update .github/actions/checks/create-pull-request-check/action.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* Update .github/workflows/prepare-release.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* use jq, don't use string interpolation

* Check if still works after review changes

* Fix crete check

* Fix crete check

* Fix crete check

* Remove leftovers

* Fix head sha

* Fix head sha

* Fix head sha

* Fix head sha

* cleanup after tests

* Update .github/actions/checks/create-pull-request-check/action.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* tests if works after review changes

* tests if works after review changes

* Remove testing workflow

* Update .github/actions/checks/update-pull-request-check/action.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* Update .github/workflows/run-tests-on-release.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* Update .github/actions/prepare-api-variables/action.yml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* merge deploy and prepare release workflows

---------

Co-authored-by: Paweł Chyła <chyla1988@gmail.com>
Co-authored-by: Renata <renata.gajzlerowicz@gmail.com>
Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Co-authored-by: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com>
Co-authored-by: Mikolaj Stempniewicz <mikolaj@stempniewicz.net>
Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>
Co-authored-by: M.Graczyk <michalina.graczyk@saleor.io>
Co-authored-by: Anna Szczęch <30683248+szczecha@users.noreply.github.com>
Co-authored-by: Lukasz Ostrowski <lukasz.ostrowski@saleor.io>

* Run cypress tests for releases on 3.18

* Run cypress tests for releases on 3.18

* Run cypress tests for releases on 3.18

* Run cypress tests for releases on 3.18

* fix testmo id

* fix testmo id

* remove test workflow

* Fix statuses

---------

Co-authored-by: Paweł Chyła <chyla1988@gmail.com>
Co-authored-by: Renata <renata.gajzlerowicz@gmail.com>
Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Co-authored-by: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com>
Co-authored-by: Mikolaj Stempniewicz <mikolaj@stempniewicz.net>
Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>
Co-authored-by: M.Graczyk <michalina.graczyk@saleor.io>
Co-authored-by: Anna Szczęch <30683248+szczecha@users.noreply.github.com>
Co-authored-by: Lukasz Ostrowski <lukasz.ostrowski@saleor.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

None yet

7 participants