[UIU-777] integration tests fail when run as a suite Created: 14/Dec/18  Updated: 09/Jan/19  Resolved: 15/Dec/18

Status: Closed
Project: ui-users
Components: None
Affects versions: None
Fix versions: 2.18.0

Type: Bug Priority: P2
Reporter: Zak Burke Assignee: Zak Burke
Resolution: Done Votes: 0
Labels: sprint53
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Relates
relates to FOLIO-1662 platform-core#snapshot tests do not c... Closed
relates to FOLIO-1618 Update existing Nightmare tests to su... Closed
relates to UITEST-39 Add coverage functionality to stripes... Closed
relates to UIU-570 Update make compatible with coverage ... Open
relates to FOLIO-1664 figure out what goes wrong when passi... Closed
Sprint:

 Description   

Although integration tests run successfully when run individually, they often fail as part of a suite:

stripes test nightmare stripes.config.js --run WD/checkout/users/inventory/requests/circulation/organization --uiTest.username diku_admin --uiTest.password admin --show --url http://folio-snapshot-496.aws.indexdata.com

[...]

Module test: users:new_user
          Login > Create new user > Logout > Login as new user > Logout > Login > Edit new user and confirm changes
            ✓ should load login page (4177ms)
            ✓ should login as diku_admin/admin (3433ms)
          Test suite   @folio/users:2.17.9000535
          Live module  @folio/users:2.17.9000535 (http://folio-snapshot-496.aws.indexdata.com)
            ✓ should open app and find version tag (425ms)
            ✓ should extract a patron group value (1027ms)
            12) should create a user: ojohnson1544759505532/ojohnson1544759505532
            ...


 Comments   
Comment by Zak Burke [ 15/Dec/18 ]

Reverted some changes made under the auspices of UIU-570 Open as it appears that using a shared instance of Nightmare, rather than instantiating a new one in each test, is the source of the weird behavior.

Generated at Thu Feb 08 23:14:58 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.