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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run automation tests on release - 3.19 #4843

Merged
merged 1 commit into from
May 8, 2024

Conversation

karola312
Copy link
Member


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

Cherry-picked from #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>
@karola312 karola312 requested review from a team as code owners May 7, 2024 12:52
@karola312 karola312 requested review from andrzejewsky and peelar and removed request for a team May 7, 2024 12:52
Copy link

changeset-bot bot commented May 7, 2024

馃 Changeset detected

Latest commit: a9212ce

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 Patch

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

@karola312 karola312 changed the title Run automation tests on release (#4775) Run automation tests on release - 3.19 May 7, 2024
@karola312 karola312 merged commit c7e124f into 3.19 May 8, 2024
1 check passed
@karola312 karola312 deleted the Run-automation-tests-on-release-3.19 branch May 8, 2024 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant