Commit Graph

22356 Commits

Author SHA1 Message Date
jibees
16a07d2bb2 Merge pull request #8384 from filipefurtad0/fix_flaky_checkout_spec
Adds context to helper to assure actions are successful
2021-10-21 09:13:56 +02:00
jibees
d4452cea39 Merge pull request #8383 from openfoodfoundation/dependabot/bundler/selenium-webdriver-4.0.2
Bump selenium-webdriver from 3.142.7 to 4.0.2
2021-10-21 09:11:56 +02:00
filipefurtad0
c94b5d1598 Toggles shipping info section 2021-10-20 18:58:06 +01:00
filipefurtad0
21449ea711 Adds respective sections to assure elements are found 2021-10-20 15:37:45 +01:00
dependabot[bot]
ccec7fd00b Bump selenium-webdriver from 3.142.7 to 4.0.2
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) from 3.142.7 to 4.0.2.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Changelog](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES)
- [Commits](https://github.com/SeleniumHQ/selenium/commits)

---
updated-dependencies:
- dependency-name: selenium-webdriver
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-20 09:02:45 +00:00
Filipe
29c2f2e5e9 Merge pull request #8381 from jibees/8328-fix-flaky-on-checkout_spec
(try to) fix flaky for spec/system/consumer/shopping/checkout_spec.rb
2021-10-20 09:23:49 +01:00
jibees
c7658b4a78 Merge pull request #8380 from openfoodfoundation/dependabot/npm_and_yarn/jest-27.3.1
Bump jest from 27.3.0 to 27.3.1
2021-10-20 09:56:13 +02:00
jibees
d3889ee948 Merge pull request #8370 from openfoodfoundation/dependabot/bundler/dalli-3.0.2
Bump dalli from 2.7.11 to 3.0.2
2021-10-20 09:55:19 +02:00
Jean-Baptiste Bellet
d13d1209be Prefer find and click and wait for title to appears 2021-10-20 09:32:30 +02:00
jibees
8852fe1a49 Merge pull request #8340 from filipefurtad0/enterprises_into_system
Enterprises into system
2021-10-20 09:17:14 +02:00
Maikel
c642b98067 Merge pull request #8193 from jibees/8155-split-checkout-mobile-views
Some responsive modifications for split checkout
2021-10-20 11:48:57 +11:00
Maikel
3bfd53b92c Merge pull request #8377 from openfoodfoundation/dependabot/bundler/pagy-5.0.1
Bump pagy from 4.11.0 to 5.0.1
2021-10-20 11:45:08 +11:00
filipefurtad0
c7eed5ae57 Adds the system helper to business_address 2021-10-19 15:44:26 +01:00
filipefurtad0
33f374d177 Defines strings for warning accepting with let 2021-10-19 15:38:07 +01:00
filipefurtad0
6639ce416a Squashes terms_and_conditions_spec edits
Moves terms_and_conditions_spec into system

Updates terms_and_conditions_spec into system
2021-10-19 15:34:26 +01:00
filipefurtad0
9ab335302e Moves/updates index_spec into system 2021-10-19 15:34:26 +01:00
filipefurtad0
f62749e3bf Wraps alert text in images_spec 2021-10-19 15:34:26 +01:00
filipefurtad0
9579783543 Moves/updates images_spec into system 2021-10-19 15:34:26 +01:00
filipefurtad0
1ed5f2c248 Moves/updates business_address_form_spec into system 2021-10-19 15:34:26 +01:00
jibees
6deb5ea4d4 Merge pull request #8331 from openfoodfoundation/dependabot/bundler/geocoder-1.7.0
Bump geocoder from 1.6.7 to 1.7.0
2021-10-19 16:22:40 +02:00
dependabot[bot]
da816a4569 Bump jest from 27.3.0 to 27.3.1
Bumps [jest](https://github.com/facebook/jest) from 27.3.0 to 27.3.1.
- [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.3.0...v27.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-19 14:16:46 +00:00
dependabot[bot]
a84298d4bd Bump dalli from 2.7.11 to 3.0.2
Bumps [dalli](https://github.com/petergoldstein/dalli) from 2.7.11 to 3.0.2.
- [Release notes](https://github.com/petergoldstein/dalli/releases)
- [Changelog](https://github.com/petergoldstein/dalli/blob/master/History.md)
- [Commits](https://github.com/petergoldstein/dalli/compare/v2.7.11...v3.0.2)

---
updated-dependencies:
- dependency-name: dalli
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-19 14:15:33 +00:00
jibees
2ceb23fdcf Merge pull request #8369 from openfoodfoundation/dependabot/bundler/redis-4.5.1
Bump redis from 4.4.0 to 4.5.1
2021-10-19 16:15:09 +02:00
jibees
76bf359f26 Merge pull request #8376 from openfoodfoundation/dependabot/bundler/rubocop-rails-2.12.4
Bump rubocop-rails from 2.12.3 to 2.12.4
2021-10-19 14:34:10 +02:00
jibees
2b3078040d Merge pull request #8359 from filipefurtad0/fix_flaky_checkout_auth_spec
Switches to css to select accordion element
2021-10-19 14:20:14 +02:00
dependabot[bot]
a52b3a516b Bump rubocop-rails from 2.12.3 to 2.12.4
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.12.3 to 2.12.4.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.12.3...v2.12.4)

---
updated-dependencies:
- dependency-name: rubocop-rails
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-19 12:12:35 +00:00
filipefurtad0
2db64a5b9f Deletes unused helper methods 2021-10-19 11:26:00 +01:00
filipefurtad0
5888d868b7 Switches to css to select accordion element 2021-10-19 11:26:00 +01:00
Filipe
c525c59c1d Merge pull request #8373 from openfoodfoundation/dependabot/npm_and_yarn/mrujs-0.5.9
Bump mrujs from 0.5.5 to 0.5.9
2021-10-19 11:22:59 +01:00
jibees
0bd9018d92 Merge pull request #8348 from openfoodfoundation/dependabot/bundler/json-2.6.0
Bump json from 2.5.1 to 2.6.0
2021-10-19 10:46:14 +02:00
Maikel
c55e1c03f8 Merge pull request #8354 from openfoodfoundation/dependabot/npm_and_yarn/storybook/addon-controls-6.3.12
Bump @storybook/addon-controls from 6.3.10 to 6.3.12
2021-10-19 15:22:48 +11:00
Maikel Linke
7c73495b07 Update Pagy config for version 5
Some variables were renamed.
2021-10-19 15:12:35 +11:00
Maikel
a271a66998 Merge pull request #8271 from sinansonmez/8176-preselect-supplier-when-only-one
When creating a product, preselect the supplier if there is only one
2021-10-19 14:12:00 +11:00
Maikel
0ffe73cf56 Merge pull request #8253 from mkllnk/spec-matrix
Simplify GH Actions config with matrix syntax
2021-10-19 09:53:11 +11:00
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
dependabot[bot]
a9570be75c Bump mrujs from 0.5.5 to 0.5.9
Bumps [mrujs](https://github.com/ParamagicDev/mrujs) from 0.5.5 to 0.5.9.
- [Release notes](https://github.com/ParamagicDev/mrujs/releases)
- [Changelog](https://github.com/ParamagicDev/mrujs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ParamagicDev/mrujs/compare/v0.5.5...v0.5.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 14:18:52 +00:00
dependabot[bot]
57f0ca1dfc Bump @storybook/addon-controls from 6.3.10 to 6.3.12
Bumps [@storybook/addon-controls](https://github.com/storybookjs/storybook/tree/HEAD/addons/controls) 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/controls)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 13:26:33 +00:00
dependabot[bot]
e35f13d4a8 Bump json from 2.5.1 to 2.6.0
Bumps [json](https://github.com/flori/json) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/flori/json/releases)
- [Changelog](https://github.com/flori/json/blob/master/CHANGES.md)
- [Commits](https://github.com/flori/json/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 13:23:03 +00: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
dependabot[bot]
763fc2c484 Bump pagy from 4.11.0 to 5.0.1
Bumps [pagy](https://github.com/ddnexus/pagy) from 4.11.0 to 5.0.1.
- [Release notes](https://github.com/ddnexus/pagy/releases)
- [Changelog](https://github.com/ddnexus/pagy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ddnexus/pagy/compare/4.11.0...5.0.1)

---
updated-dependencies:
- dependency-name: pagy
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 13:05:22 +00: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
dependabot[bot]
f080051d57 Bump redis from 4.4.0 to 4.5.1
Bumps [redis](https://github.com/redis/redis-rb) from 4.4.0 to 4.5.1.
- [Release notes](https://github.com/redis/redis-rb/releases)
- [Changelog](https://github.com/redis/redis-rb/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/redis-rb/compare/v4.4.0...v4.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 09:03:35 +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