Last active
July 6, 2018 20:30
-
-
Save cjac/ccc73b6126d5ef8576cd259af11ea9c0 to your computer and use it in GitHub Desktop.
repro steps for verifying DEV-6656
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Switch site to People Staffing | |
# Get Account ID of Aaron Aardvark | |
# Get Account ID of Bob Bobson | |
# Get Group ID of Guards | |
# Enable tradeboard application | |
# tradeboard role restriction -> | |
# enable tradeboard in application settings (all trades) | |
# app settings -> tradeboard -> approval required | |
# team settings -> tradeboard -> approval required | |
# Add role | |
# Add role requirement to team | |
# Create a shift with a role requirement | |
ok( 1, 'user which does not meet role requirement cannot take shift' ); | |
ok( 1, 'user which meeets role reqirement can take shift' ); | |
# have user meeting role requirement then place the shift on tradeboard | |
ok( 0, 'user which does not meet role requirement cannot take shift from tradeboard' ); | |
# switch to manager | |
ok( 0, 'manager attempt to approve request fails' ); | |
ok( 1, 'user which meeets role reqirement can take shift' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment