Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

fix: end2end test terminates existing workspaces from past end-to-end tests #685

Merged
merged 3 commits into from
Aug 31, 2021

Conversation

maghirardelli
Copy link
Contributor

Issue #, if available:

Description of changes: my code change from last week delayed the rendering of the terminate buttons in the workspaces page. Thus, the end-to-end tests did not wait and terminate those instances. Now, the tests will wait until those buttons appear or until the message that there are no workspaces (and thus none to terminate) to try to terminate old testing workspaces.

Checklist:

  • Have you successfully deployed to an AWS account with your changes?
  • Have you successfully tested with your changes locally?

AS review ticket id:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@maghirardelli maghirardelli self-assigned this Aug 30, 2021
@maghirardelli maghirardelli requested a review from a team as a code owner August 30, 2021 20:37
@codecov
Copy link

codecov bot commented Aug 30, 2021

Codecov Report

Merging #685 (200ce24) into develop (23f6d03) will increase coverage by 2.78%.
The diff coverage is n/a.

❗ Current head 200ce24 differs from pull request most recent head bf54292. Consider uploading reports for the commit bf54292 to get more accurate results
Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #685      +/-   ##
===========================================
+ Coverage    49.15%   51.93%   +2.78%     
===========================================
  Files          252      188      -64     
  Lines        12795     9930    -2865     
  Branches      2062     1556     -506     
===========================================
- Hits          6289     5157    -1132     
+ Misses        5692     4212    -1480     
+ Partials       814      561     -253     
Impacted Files Coverage Δ
lib/user/user-service.js 59.37% <0.00%> (-2.91%) ⬇️
src/helpers/api.js 0.00% <0.00%> (-0.97%) ⬇️
src/helpers/settings.js 100.00% <0.00%> (ø)
src/helpers/routing.js
...fig/env-type-config-steps/BaseEnvTypeConfigStep.js
...type-config/env-type-config-steps/BasicInfoStep.js
src/models/forms/Validate.js
src/models/environment-types/EnvTypeStore.js
lib/input-manifest/input-manifest.js
src/models/forms/AddUserForm.js
... and 61 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 23f6d03...bf54292. Read the comment docs.

Copy link
Contributor

@nguyen102 nguyen102 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks for fixing this bug

@maghirardelli maghirardelli merged commit 9c74ac7 into develop Aug 31, 2021
@maghirardelli maghirardelli deleted the fixe2etest branch August 31, 2021 14:32
maghirardelli added a commit that referenced this pull request Sep 1, 2021
jxuamazon pushed a commit to jxuamazon/service-workbench-on-aws that referenced this pull request Feb 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants