Ron Rennick
6d402c96c8
Merge pull request #28017 from woocommerce/fix/25643
...
Fix E2E variable product test
2021-01-06 14:39:19 -04:00
Ron Rennick
7959ba3d16
Merge pull request #28045 from woocommerce/fix/28012
...
add support for custom E2E container name
2021-01-06 13:52:42 -04:00
Ron Rennick
0d2a5ac5e9
Fixes needed for variable product E2E test
...
- Jest/Puppeteer sometimes will not find an element on page load when that element is outside the initial viewport
- There were duplicate .variation_tab classes which confused Jest/Puppeteer
- Add function for opening and verifying new product page
- Update test sequence for changes in flow in markup and Jest/Puppeteer
2021-01-05 13:19:49 +01:00
zhongruige
98ee48d1df
Merge branch 'master' of https://github.com/woocommerce/woocommerce into add/e2e-simple-price-config-variable
2020-12-24 16:15:09 -07:00
Vedanshu Jain
9db6e2e49c
Merge pull request #28643 from woocommerce/feature/fix-build
...
Feature/fix build
2020-12-24 13:12:58 +05:30
zhongruige
55a8fc3d11
Merge branch 'master' of https://github.com/woocommerce/woocommerce into add/e2e-simple-price-config-variable
2020-12-21 08:54:33 -07:00
Ron Rennick
6509addabf
merge master
2020-12-18 13:40:49 -04:00
roykho
9ffdfd3401
Check in package-lock
2020-12-15 14:21:05 -08:00
Ron Rennick
733157638b
update package changelog
2020-12-14 10:54:29 -04:00
Ron Rennick
ef61903822
add 12 hour delay to pulling new docker tags
2020-12-14 10:42:39 -04:00
zhongruige
46164b032d
Add config variable for simple product price and update tests to utilize it
2020-12-12 15:46:13 -07:00
Ron Rennick
a47cb707b3
fix merge conflict
2020-12-04 14:52:38 -04:00
Tam Mullen
0877fd5233
Merge pull request #28041 from woocommerce/packages/e2e/custom-initialization
...
add support for custom container initialization script
2020-11-27 20:13:02 +00:00
Nestor Soriano
556ea1ecfa
Merge branch 'master' into use-mozart-to-renamespace-dependencies
2020-11-18 09:05:11 +01:00
Rodrigo Primo
4240f9924a
Merge pull request #28048 from woocommerce/fix/27807
...
Remove dynamic build dependencies
2020-11-13 15:34:35 -03:00
Tam Mullen
8f46eec95a
Merge pull request #28198 from woocommerce/add/package-changelogs
...
add/update e2e package change logs
2020-11-11 14:12:52 +00:00
Ron Rennick
ac89e09c9e
remove duplicate package dependency entries
2020-11-10 16:29:22 -04:00
Ron Rennick
7282e0bca6
merge master
2020-11-09 14:30:01 -04:00
Ron Rennick
9feecc1376
add/update e2e package changelogs
2020-11-05 16:57:04 -04:00
Nestor Soriano
8bb0f196e6
Change the strategy for moving packages
...
Since the Mozart package requires PHP 7.2, and we need to support 7.0
and 7.1, the moving step has been removed from the composer install
stage. Instead, now it has to be triggered manually via
`composer run move-vendor-namespaces`, and the moved package must be
added to source control. See the updated src/Internal/Vendor/REAMDE.md
for details.
2020-11-05 17:19:14 +01:00
Ron Rennick
21ebe3af05
remove puppeteer dependency from e2e-environment
2020-10-29 08:41:24 -03:00
Ron Rennick
7cb68e055c
add lerna hoist, use consistent package versions
2020-10-28 14:21:02 -03:00
Tam Mullen
a0233fad93
Merge pull request #27978 from woocommerce/docs/e2e-environment-0.1.6
...
update e2e-environment readme
2020-10-28 12:51:13 +00:00
Ron Rennick
9d47a1c072
simplify e2e-environment exports
2020-10-21 16:17:10 -03:00
Ron Rennick
e91a09f302
remove remaining webalias fragments
2020-10-21 15:47:09 -03:00
Ron Rennick
7ebfdbeb0e
add support for custom container initialization script
2020-10-21 10:53:48 -03:00
Ron Rennick
dd6d460fec
update e2e-environment readme
2020-10-15 14:53:21 -03:00
Ron Rennick
c3f934ad21
add e2e-environment package changelog
2020-10-15 14:14:22 -03:00
Ron Rennick
5815e5cf48
Merge pull request #27914 from woocommerce/fix/e2e-container-check
...
Only attempt to run E2E tests if testing host is ready
2020-10-15 13:44:55 -03:00
Ron Rennick
f0e6e1761c
Merge pull request #27913 from woocommerce/fix/27820
...
add test:e2e-debug command
2020-10-15 13:44:32 -03:00
Ron Rennick
13bcd43bfe
expose automattic/puppeteer-utils in e2e-environment
2020-10-13 16:16:32 -04:00
Ron Rennick
62acca06e1
don't run tests if testing host not ready
2020-10-09 05:14:57 -03:00
Ron Rennick
7f57906959
add test:e2e-debug command
2020-10-09 05:00:03 -03:00
Christopher Allford
f9ef91adc1
Merge pull request #27836 from woocommerce/packages/api/add/repository-listing
...
@woocommerce/api: Added list() repository operation and classes for managing store settings
2020-10-08 13:20:12 -07:00
Christopher Allford
1d0cbc8187
Merge branch 'master' into packages/api/add/repository-listing
2020-10-08 11:48:22 -07:00
Ron Rennick
31001036c9
Merge branch 'master' into fix/25962
2020-10-08 15:30:25 -03:00
Ron Rennick
3a980a1241
merge current master
2020-10-07 03:17:38 -03:00
Ron Rennick
84fdfb6769
merge master
2020-10-07 03:05:04 -03:00
Julia Amosova
aac4db94b2
Merge pull request #27679 from woocommerce/packages/e2e/config-functions
...
add eslint & babel config functions to e2e-environment
2020-10-06 14:15:56 -04:00
Ron Rennick
610e787a86
package lock maintenance
2020-10-05 09:31:48 -03:00
Ron Rennick
5139c73029
allow running named test files that don't match test spec pattern
2020-10-05 09:16:27 -03:00
Christopher Allford
a01da2da93
Updated the lock files
2020-10-01 16:04:03 -07:00
Christopher Allford
f2dda16c40
Updated lock files
2020-10-01 14:28:14 -07:00
Ron Rennick
4af90518da
lock file maintenance
2020-10-01 14:21:40 -03:00
Ron Rennick
1abbe3f273
initial core test package files, move setup tests to package
2020-09-29 15:22:20 -03:00
Ron Rennick
fd60f7052a
Merge branch 'master' into fix/e2e-url-no-port
2020-09-28 16:15:22 -03:00
Christopher Allford
44c7428358
Updated package lock files and fixed test error
2020-09-25 13:49:54 -07:00
Ron Rennick
2ab59149ad
revert testing change to default.json
2020-09-24 12:27:35 -03:00
Julia Amosova
dcd0c46ab5
Merge pull request #27714 from woocommerce/fix/headless-flag-e2e-dev-mode
...
Add missing headless flag for running e2e tests in dev mode + README updates
2020-09-23 17:05:45 -04:00
Ron Rennick
bde41799af
merge master
2020-09-23 17:20:43 -03:00
Ron Rennick
a80dc37684
merge master
2020-09-23 16:26:17 -03:00
Ron Rennick
3fbdf46192
always remove the trailing slash from the base URL
2020-09-23 16:22:15 -03:00
Julia Amosova
12d546b280
Add `PUPPETEER_SLOWMO` to global process.env to enable it.
2020-09-20 15:34:47 -04:00
Christopher Allford
bf70a3ea74
Updated lock files
2020-09-18 14:43:00 -07:00
Christopher Allford
d22ed6547e
Merge branch 'master' into package/e2e-environment/better-container-detection
2020-09-18 14:32:11 -07:00
Julia Amosova
30c904db68
Added `headless` & `slowMo` flags back to Puppeteer config.
2020-09-18 16:39:45 -04:00
Julia Amosova
98edbef9a9
Add missing headless flag for running e2e tests in dev mode.
2020-09-18 13:43:44 -04:00
Ron Rennick
87ea5dbffc
add eslint, babel config functions
2020-09-15 14:08:19 -03:00
Ron Rennick
7c509d8ddb
use tabs for indentation
2020-09-15 10:10:59 -03:00
Christopher Allford
a77a1cc77c
Refreshed all lock files and removed "woocommerce" dependency from "e2e-environment"
2020-09-14 10:00:32 -07:00
Ron Rennick
be8ba23801
merge master
2020-09-11 15:32:10 -03:00
Ron Rennick
cd80e67717
merge master
2020-09-11 14:35:27 -03:00
Christopher Allford
2e7f1056e0
Replaced the environment dependency version resolution to use the Docker HTTP API
...
Since it's possible that the latest git tag isn't a Docker page we should get the latest version directly from Docker instead. This commit adds support for the `/v2/repositories/library/<image>/tags` endpoint and figures out the latest version from the response.
2020-09-10 14:26:44 -07:00
Christopher Allford
07bbf56ace
Removed unnecessary `woocommerce` dependency from E2E package
2020-09-10 13:05:31 -07:00
Ron Rennick
1c07d5ec5a
restore looking up tags from git, add npm install to travis e2e script
2020-09-10 14:54:35 -03:00
Ron Rennick
bff1e799f4
use better test for creating ready page
2020-09-10 13:23:18 -03:00
Christopher Allford
aabc8ccd6b
Updated all of the package-lock files using Node v10
2020-09-09 14:47:35 -07:00
Ron Rennick
25cbfd2452
run grunt directly in travis e2e
2020-09-09 17:00:06 -03:00
Christopher Allford
d3162b2f1d
Updated package-lock.json files
2020-09-02 14:39:49 -07:00
Christopher Allford
16cf8c81be
Revised the default environment variables to pull the version from the latest docker image
2020-09-02 12:47:27 -07:00
Ron Rennick
7a14368982
add small tweaks/checks for edge cases
2020-08-21 13:25:30 -03:00
Ron Rennick
dfdf4e9d18
update e2e config parsing to support no port
2020-08-19 09:57:14 -03:00
Ron Rennick
c14ce54752
fix e2e docker:ssh command to work in any repo
2020-08-10 14:54:10 -03:00
Ron Rennick
6aa52c8499
remove duplicate readme text
2020-08-07 13:04:36 -03:00
Ron Rennick
db76c8ac2d
merge package config with factories changes
2020-08-07 10:53:51 -03:00
Christopher Allford
678705cdd4
Merge branch 'master' into package/e2e-factories/product
2020-08-05 14:00:05 -07:00
Ron Rennick
0ca4ce27c5
update e2e readmes
2020-08-05 16:58:38 -03:00
Ron Rennick
7f04d800e9
keep browser reset at end of setup
2020-08-05 15:01:43 -03:00
Ron Rennick
52d67cead1
move trash posts/products from sequencer to local config
2020-08-04 19:55:13 -03:00
Ron Rennick
14c9154fcb
use consistent MySQL configuration values
2020-08-04 16:17:00 -03:00
Ron Rennick
ba942aa32f
expose getAppRoot, getTestConfig in package
2020-07-29 20:03:29 -03:00
Ron Rennick
09a594443d
restore non-dev puppeteer config, move test config to sequencer
2020-07-29 18:57:59 -03:00
Ron Rennick
d4620b5351
merge master
2020-07-29 15:25:11 -03:00
Ron Rennick
1e365733b4
add local puppeteer config support
2020-07-29 15:13:22 -03:00
Ron Rennick
d9e9faaa44
use @automattic/puppeteer-utils
2020-07-28 16:29:19 -03:00
Ron Rennick
e78beaf569
move jest/puppeteer related packages to environment package
2020-07-28 12:00:46 -03:00
Ron Rennick
aca91f587d
update version script to work in both desktop and Travis, add fallback versions
2020-07-24 17:02:33 -03:00
Ron Rennick
06e3ae9939
fix software version checks in Travis
2020-07-24 10:57:16 -03:00
Ron Rennick
eaafc88d33
add port configuration support
2020-07-24 10:12:07 -03:00
Ron Rennick
4cffb9b95c
eliminate project root docker-compose.yaml
2020-07-23 15:38:40 -03:00
Ron Rennick
28b537662a
add PHP, MariaDB, WP env var version support
2020-07-23 14:30:24 -03:00
Jeff Stieler
76e42fec98
Update E2E env jest preset default version.
...
6.x.x will update the weak ref detection dependencies.
2020-07-21 13:51:16 -04:00
Christopher Allford
9b18a95f93
Adjusted the build:packages command to allow each package to build itself
2020-07-02 11:59:41 -07:00
Ron Rennick
ee151bbd95
Merge branch 'master' into add/npm-publish
2020-06-22 13:46:54 -03:00
Julia Amosova
281057eee8
Adjust various conditions of the OBW e2e test to make it pass
2020-06-17 17:20:12 -04:00
Ron Rennick
239476ddc5
create ready page after initialization script
2020-06-16 12:29:43 -03:00
Ron Rennick
617a523057
fix merge conflicts
2020-05-18 12:34:03 -03:00
Boro Sitnikovski
f34e73d402
Add a comment on @babel/preset-env
2020-05-15 11:28:21 +02:00
Boro Sitnikovski
ad3b9fc861
Fix version mismatch error
2020-05-15 11:21:59 +02:00
Boro Sitnikovski
b01f3aae93
Add some additional information and be specific about babel file
2020-05-15 11:21:34 +02:00