Commit Graph

22312 Commits

Author SHA1 Message Date
Maikel Linke
61333a958e Continue all jobs when one failed
It's nice to see the whole result to then work on all failures,
especially when there are flaky specs.
2021-10-19 09:15:51 +11:00
Maikel Linke
9ccb744ef3 Remove superfluous env parameter
It's already defined globally.
2021-10-19 09:15:51 +11:00
Maikel Linke
a4db3b675d DRY actions config with matrix syntax
This uses the matrix syntax for all rspec calls. It is easier to
maintain than the previous list of GH Actions workflows.

The execution of the rspec rake task is still in its own job because it
doesn't fit in the same pattern. The JS tests are also executed in that
job.
2021-10-19 09:15:51 +11:00
Maikel Linke
d6c216840e Use matrix to split jobs
This demonstrates how you can split the tests across multiple jobs
without repeating the job configuration. This has a lot of potential to
DRY our config.
2021-10-19 09:15:51 +11:00
Filipe
6669a2c108 Merge pull request #8360 from filipefurtad0/testing_capybara_no_animations
Disables animations when running Capybara tests
2021-10-18 14:12:32 +01:00
jibees
206d23d162 Merge pull request #8374 from openfoodfoundation/dependabot/npm_and_yarn/jest-27.3.0
Bump jest from 27.2.5 to 27.3.0
2021-10-18 15:03:54 +02:00
jibees
83f130e597 Merge pull request #8371 from openfoodfoundation/dependabot/bundler/test-unit-3.5.0
Bump test-unit from 3.4.8 to 3.5.0
2021-10-18 15:01:55 +02:00
jibees
e2afd9a0fb Merge pull request #8334 from jibees/8333-fix-flaky-around-registration_spec
Move registration_spec as system spec
2021-10-18 12:00:45 +02:00
dependabot[bot]
910f2a5ee2 Bump jest from 27.2.5 to 27.3.0
Bumps [jest](https://github.com/facebook/jest) from 27.2.5 to 27.3.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.2.5...v27.3.0)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 09:08:06 +00:00
dependabot[bot]
99080857d8 Bump test-unit from 3.4.8 to 3.5.0
Bumps [test-unit](https://github.com/test-unit/test-unit) from 3.4.8 to 3.5.0.
- [Release notes](https://github.com/test-unit/test-unit/releases)
- [Commits](https://github.com/test-unit/test-unit/compare/3.4.8...3.5.0)

---
updated-dependencies:
- dependency-name: test-unit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 09:04:08 +00:00
Maikel
5252c83265 Merge pull request #8363 from openfoodfoundation/dependabot/bundler/webdrivers-4.7.0
Bump webdrivers from 4.6.1 to 4.7.0
2021-10-18 17:18:16 +11:00
Maikel
012943d498 Merge pull request #8353 from openfoodfoundation/dependabot/npm_and_yarn/storybook/addon-docs-6.3.12
Bump @storybook/addon-docs from 6.3.10 to 6.3.12
2021-10-18 17:09:30 +11:00
Maikel
a48d009b1f Merge pull request #8346 from filipefurtad0/order_cycles_into_system
Order cycles into system
2021-10-18 17:06:25 +11:00
Maikel
dfac2b5782 Merge pull request #8339 from filipefurtad0/configuration_into_system
Configuration specs update into system specs
2021-10-18 17:00:26 +11:00
Jean-Baptiste Bellet
ae45a2dd9d Move registration_spec as system spec 2021-10-15 14:40:00 +02:00
filipefurtad0
6c5021379d Disables animations when running feature tests 2021-10-15 10:29:25 +01:00
filipefurtad0
fa2d5cdb3d Disables animations when running tests 2021-10-15 10:29:25 +01:00
filipefurtad0
4509624ccf Moves/updates simple_spec.rb into system 2021-10-15 10:23:29 +01:00
filipefurtad0
1fceeef12a Moves/updates list_spec.rb into system 2021-10-15 10:23:29 +01:00
filipefurtad0
3a3af86e02 Moves/updates _updating_specific_time into system 2021-10-15 10:23:29 +01:00
filipefurtad0
0ad7fd3527 Fixes string on assertion to pass as system spec 2021-10-15 10:23:29 +01:00
filipefurtad0
117fcefae2 Moves/updates complex_editing_spec into system 2021-10-15 10:23:29 +01:00
filipefurtad0
9417413506 Moves/updates _multiple_product_pages into system 2021-10-15 10:23:29 +01:00
filipefurtad0
e643a54829 Moves/updates _exchange_same_enterprise into system 2021-10-15 10:23:29 +01:00
filipefurtad0
e877a7693b Moves/updates _exchange_same_enterprise into system 2021-10-15 10:23:29 +01:00
filipefurtad0
e68186b1ff Moves/updates _specific_time_spec into system 2021-10-15 10:23:29 +01:00
filipefurtad0
9ba4a79e85 Moves/Updates zones_spec into system 2021-10-15 10:19:00 +01:00
filipefurtad0
fcde3f8ee4 Moves/Updates terms_of_service_files_spec into system 2021-10-15 10:19:00 +01:00
filipefurtad0
e4be81f76f Moves/Updates taxonomies_spec into system 2021-10-15 10:19:00 +01:00
filipefurtad0
65e93c7010 Moves/Updates tax_rates_spec into system 2021-10-15 10:19:00 +01:00
filipefurtad0
b5bcb71c0e Moves/Updates tax_categories_spec into system 2021-10-15 10:19:00 +01:00
filipefurtad0
23e3ce2399 Moves/Updates states_spec into system 2021-10-15 10:19:00 +01:00
filipefurtad0
06cc30230b Moves/Updates shipping_categories_spec into system 2021-10-15 10:19:00 +01:00
filipefurtad0
559bd39760 Moves/Updates mail_methods_spec into system 2021-10-15 10:19:00 +01:00
filipefurtad0
9a649574a6 Moves/Updates general_settings_spec into system 2021-10-15 10:19:00 +01:00
filipefurtad0
e50eefd1c9 Moves/Updates content_spec into system 2021-10-15 10:19:00 +01:00
dependabot[bot]
fcf4f67c2c Bump webdrivers from 4.6.1 to 4.7.0
Bumps [webdrivers](https://github.com/titusfortner/webdrivers) from 4.6.1 to 4.7.0.
- [Release notes](https://github.com/titusfortner/webdrivers/releases)
- [Changelog](https://github.com/titusfortner/webdrivers/blob/main/CHANGELOG.md)
- [Commits](https://github.com/titusfortner/webdrivers/compare/v4.6.1...v4.7.0)

---
updated-dependencies:
- dependency-name: webdrivers
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-15 09:03:19 +00:00
Filipe
28b2fa2886 Merge pull request #8361 from mkllnk/fix-js-errors
Fix JS errors in system specs
2021-10-15 09:39:26 +01:00
dependabot[bot]
60db386020 Bump @storybook/addon-docs from 6.3.10 to 6.3.12
Bumps [@storybook/addon-docs](https://github.com/storybookjs/storybook/tree/HEAD/addons/docs) from 6.3.10 to 6.3.12.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.3.12/addons/docs)

---
updated-dependencies:
- dependency-name: "@storybook/addon-docs"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-15 06:20:03 +00:00
Maikel
bbb3a7856a Merge pull request #8352 from openfoodfoundation/dependabot/npm_and_yarn/storybook/server-6.3.12
Bump @storybook/server from 6.3.10 to 6.3.12
2021-10-15 17:17:35 +11:00
Maikel
26d9063feb Merge pull request #8342 from openfoodfoundation/dependabot/bundler/puma-5.5.2
Bump puma from 5.5.1 to 5.5.2
2021-10-15 16:59:29 +11:00
Maikel Linke
c89cf36831 Raise JavaScript errors within system specs (again)
Re-raising console errors helps us to find subtle bugs.
2021-10-15 16:34:56 +11:00
Maikel Linke
cef1092a2d Avoid state leakage from one spec to others
Activating Stripe meant that other specs were trying to load the Stripe
JS code without setting up Stripe correctly. That lead to JS errors in
the console.
2021-10-15 16:34:56 +11:00
Maikel
feceff8613 Merge pull request #8357 from filipefurtad0/remove_js_errors_on_system
Sets js_errors to false
2021-10-15 14:42:03 +11:00
filipefurtad0
ef68791fd6 Sets js_errors: to false and keeps headless; true
Sets js_errors to false

Sets headless to true
2021-10-14 14:11:36 +01:00
dependabot[bot]
3e32c94328 Bump @storybook/server from 6.3.10 to 6.3.12
Bumps [@storybook/server](https://github.com/storybookjs/storybook/tree/HEAD/app/server) from 6.3.10 to 6.3.12.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.3.12/app/server)

---
updated-dependencies:
- dependency-name: "@storybook/server"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-14 09:06:13 +00:00
Maikel
1efba73cb3 Merge pull request #8332 from jibees/update-yarn-lock-file
Update yarn.lock file
2021-10-14 16:49:19 +11:00
jibees
a9d4233af9 Merge pull request #8310 from mkllnk/raise-js-errors-in-system-specs
Raise JavaScript errors within system specs
2021-10-13 11:27:45 +02:00
dependabot[bot]
c56c04001d Bump puma from 5.5.1 to 5.5.2
Bumps [puma](https://github.com/puma/puma) from 5.5.1 to 5.5.2.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v5.5.1...v5.5.2)

---
updated-dependencies:
- dependency-name: puma
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-13 09:02:36 +00:00
Matt-Yorkley
2dfa3de11e Merge pull request #8341 from openfoodfoundation/dependabot/bundler/puma-5.5.1
Bump puma from 5.5.0 to 5.5.1
2021-10-12 21:13:21 +02:00