adobe / adobe/aem-project-archetype
Assets.js test failing in CM Deployment
- Dominant language
- JavaScript
- Stars
- 596
- Forks
- 431
- Avg merge
- 10d 6h
- Merged PRs (30d)
- 1
Description
### Expected Behaviour
Deployment should pass with all tests green
### Actual Behaviour
Deployment fails in assets.js
------------------------------------------------------------------
[chrome 103.0.5060.114 LINUX #0-0] Running: chrome (v103.0.5060.114) on LINUX
[chrome 103.0.5060.114 LINUX #0-0] Session ID: ffd71bd0bc962e2e3b1e859051590247
[chrome 103.0.5060.114 LINUX #0-0]
[chrome 103.0.5060.114 LINUX #0-0] » /specs/aem/assets.js
[chrome 103.0.5060.114 LINUX #0-0] AEM Assets
[chrome 103.0.5060.114 LINUX #0-0] [31m✖[39m should be possible to upload an asset
[chrome 103.0.5060.114 LINUX #0-0]
[chrome 103.0.5060.114 LINUX #0-0] [31m1 failing (2m 3.2s)[39m
[chrome 103.0.5060.114 LINUX #0-0]
[chrome 103.0.5060.114 LINUX #0-0] 1) AEM Assets should be possible to upload an asset
[chrome 103.0.5060.114 LINUX #0-0] [31masset /content/dam/image.png should exist[39m
[chrome 103.0.5060.114 LINUX #0-0] [90mError: asset /content/dam/image.png should exist[39m
[chrome 103.0.5060.114 LINUX #0-0] [90m at Browser. (/usr/src/app/node_modules/webdriverio/node_modules/@wdio/utils/build/shim.js:276:24)[39m
[chrome 103.0.5060.114 LINUX #0-0] [90m at Context. (/usr/src/app/specs/aem/assets.js:66:17)[39m
------------------------------------------------------------------
[chrome 103.0.5060.114 LINUX #0-0] Running: chrome (v103.0.5060.114) on LINUX
[chrome 103.0.5060.114 LINUX #0-0] Session ID: b9a1ad695f08c95658e9836ed8f34892
[chrome 103.0.5060.114 LINUX #0-0]
[chrome 103.0.5060.114 LINUX #0-0] » /specs/aem/assets.js
[chrome 103.0.5060.114 LINUX #0-0] AEM Assets
[chrome 103.0.5060.114 LINUX #0-0] [31m✖[39m should be possible to upload an asset
[chrome 103.0.5060.114 LINUX #0-0]
[chrome 103.0.5060.114 LINUX #0-0] [31m1 failing (1m 56.7s)[39m
[chrome 103.0.5060.114 LINUX #0-0]
[chrome 103.0.5060.114 LINUX #0-0] 1) AEM Assets should be possible to upload an asset
[chrome 103.0.5060.114 LINUX #0-0] [31masset /content/dam/image.png should exist[39m
[chrome 103.0.5060.114 LINUX #0-0] [90mError: asset /content/dam/image.png should exist[39m
[chrome 103.0.5060.114 LINUX #0-0] [90m at Browser. (/usr/src/app/node_modules/webdriverio/node_modules/@wdio/utils/build/shim.js:276:24)[39m
[chrome 103.0.5060.114 LINUX #0-0] [90m at Context. (/usr/src/app/specs/aem/assets.js:66:17)[39m
### Reproduce Scenario (including but not limited to)
#### Steps to Reproduce
#### Platform and Version
#### Sample Code that illustrates the problem
#### Logs taken while reproducing problem
Contributor guide
Research direction
Start with specs/aem/assets.js, especially the failing assertion at line 66, and review the AEM Assets upload test and its failure output. Reproduce the Cloud Manager deployment and verify that uploading the asset creates /content/dam/image.png; the work is done when the deployment completes with this test passing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100