LabHQ Automated Test Run
Generated Fri 17 Apr 2026 09:42:32 GMT+0
Overview
📂 LabHQ Automated Test Run
📂 Features
📂 Regression
📂 Administration
Custom fields
I can create a custom job field
I can create a custom sample field
I can use a custom sample field on a sample
I can use a custom job field on a job
I can only use numbers in a number type custom job field
Changing a custom job field does not change it on an existing job
Changing a custom sample field does not change it on an existing sample
I can set a client specific custom job field and see this on a job
I can set a client specific custom sample field and see this on a sample
LabelSettings
I can update the label settings and save the changes
I can update the label settings and then revert these to default
Lists
I can create a new list
I can add items to an existing list
Organisation
I can update my company address
I can add a custom logo and see this on the site
I can remove a custom logo and see the default labhq one on the site
ReportSettings
I can upload, download and delete a custom template
I cannot upload a template in an unsupported format
I can download the default template
Settings
I can change my date locale and see this update the format on LabHQ
I am prompted to give a reason for change in order to change a submitted test input
I am prompted to enter my password when submitting a result if require e-sig is enabled
The test verification process is skipped if I have the setting enabled
I cannot verify a sample if I entered the results with the independent verify setting on
I cannot turn off MFA if my organisation requires it
I receive an emailed OTP if my organisation enables forced MFA
SubscriptionTier
I cannot access trend report if my subscription tier is Essentials
I cannot access oos results if my subscription tier is Essentials
I cannot select the oos results permission in Essentials tier
I cannot access trend report from approve samples if my subscription tier is Essentials
I cannot access investigations if my subscription tier is Essentials
I cannot access export results if my subscription tier is Essentials
I cannot select the export results permission in Essentials tier
I cannot access Equipment items if my subscription tier is Essentials or growth
I cannot access Equipment maintenance if my subscription tier is Essentials or growth
I cannot access Stock module if my subscription tier is Essentials or growth
I cannot access label settings if my subscription tier is Essentials or growth
I cannot print a sample label if my subscription tier is Essentials
I cannot access custom fields if my subscription tier is Essentials
I cannot access report settings if my subscription tier is Essentials or growth
I cannot access manage work in essentials tier
I cannot create a new client if I am on the essentials tier
I cannot access the below widgets if I am on essentials tier
I cannot access the below widgets if I am on growth tier
I cannot add new attachments if I am on Essentials tier
I cannot add product attachments if I am on Essentials tier
User Permissions
I cannot view settings if I do not have manage permissions
I cannot view Organisation if I do not have manage permissions
I cannot access label settings if I do not have permission
I cannot view Custom fields if I do not have manage permissions
I cannot view Report settings if I do not have permission
I cannot view Lists if I do not have manage permissions
I cannot view the Audit if I do not have manage permissions
I cannot view clients if I do not have view permissions
I cannot view test methods/suites/products if I do not have view permissions
I cannot view submit job if I do not have manage permissions
I cannot view receive samples if I do not have manage permissions
I cannot view manage work if I do not have permission
I cannot download a workbook from manage work if I do not have permission
I cannot redownload a workbook from view workbook page if I do not have permission
I cannot view enter results if I do not have manage permissions
I cannot view verify tests if I do not have manage permissions
I cannot view approve samples if I do not have manage permissions
I cannot view trend report if I do not have permissions
I cannot view oos results if I do not have permissions
I cannot view trend report from approve samples page if I do not have permissions
I cannot view trend report from job viewer if I do not have permissions
I cannot see the edit tests button on submit job if I do not have edit tests permisison
I cannot see the edit tests button on sample details if I do not have edit tests permission
I cannot see the label download button if I do not have permission
I cannot view export results page if I do not have permission
I cannot update the company address without the correct permission
I can import results data without the correct permission
I cannot change the spec on a sample without the correct permission
I cannot delete a sample without the correct permission
I cannot edit a sample without the correct permission
I cannot add a sample to a job without the correct permission
I cannot delete a job without the correct permission
I cannot edit a job without the correct permission
I cannot revert approval without correct permission
I cannot revert verification without correct permission
I cannot delete a setup item without correct permission
I cannot publish a setup item without correct permission
I cannot archive user accounts without correct permission
I cannot see user accounts without correct permission
I cannot add sample attachments without correct permission
I cannot delete sample attachments without correct permission
I cannot add job attachments without correct permission
I cannot delete job attachments without correct permission
I cannot start an investigation without the correct permission
I cannot regenerate sample certificates without the correct permission
I cannot regenerate job certificates without the correct permission
I cannot access equipment items without the correct permission
I cannot access equipment maintenance without the correct permission
I cannot access results import configuration if I do not have permission
UserAccounts
I cannot see the BSL Admin role on a non BSL company
I can disable a user account
I can archive a user account
I can edit an existing user account
I can only see user accounts associated with my organisation
📂 Analytics
OutOfSpecResults
I can see the out of spec results by product graph where I have results to show
I can see the out of spec results by test method graph populate when I select a product
I cannot see the out of spec results by test method graph where no filters are selected
I cannot see the out of spec results by product graph when there are no approved out of spec results
Trending
I can progress through trend wizard to view the trend graph
I can see a message appear when there is no data to show on the trend graph
I can see the trend wizard prepopulate from approve samples page
Verified samples will link to trend chart from approve samples page
I can see the trend wizard prepopulate from test summary page
Samples with results entered will link to trend chart from the job viewer
I can import result data successfully
📂 Audit
Audit
I can add a job and see this on the filtered audit
I can find audit data using the search box
I can edit a test method and see this on the audit
I can update a product spec and see this on the audit
I am taken to the audit logs for a job when I click the job audit button
I am taken to the audit logs for a job when I click the context menu audit logs button
I am taken to the audit logs for a sample when I click the sample audit button
I am taken to the audit logs for a sample when I click the context menu audit logs button
I can only see audit logs for my own organisation
Product attachment add and delete are recorded in audit
📂 Dashboard
Dashboard
I can edit and save my dashboard
I can see the samples completed today widget has the correct information
I can see the samples completed this week widget shows the correct information
I can see the outstanding samples widget shows the correct information
I can see the company logo widget correctly displays on the dashboard
I can see the onboarding checklist is displayed when I add this to my dashboard
I can see the samples completed on time widget shows the correct information
I can see a list of my overdue samples on the overdue samples widget
I can see a sample at every step of the workflow pipeline widget
I can see the correct information on the samples approaching due date widget
I can see my out of spec results show on the oos monthly count widget
I can see I have an investigation showing on the active sample investigations and by age widgets
I can add the median time to investigation closure widget to my dashboard and see the correct data
I can see my expired stock count on the expired stock widget
I can see my stock health on the stock health widget
I can see my stock on the stock usability widget
I can see my stock expiring soon on the stock expiring soon widget
Stock widgets do not count zero-quantity batches
📂 Equipment
EquipmentItems
I can create a new equipment item
I can edit an equipment item
I can decommission an equipment item
I can add and remove maintenance events for an equipment item
EquipmentMaintenance
I can see an upcoming maintenance events remove these and see the calendar update
I can see when an event is overdue on the maintenance calendar
I can filter by event type on the maintenance calendar
I can progress an event through to approval on the calendar
📂 Lifecycle
ApproveSamples
I can select a job and approve the samples for it
I can only see jobs on the approve samples page that have been verified
I can only see jobs associated with my assigned clients at approve samples
Attachments
I can add an attachment to a job
I can delete an attachment on a job
I can add an attachment to a sample
I can delete an attachment on a sample
EnterResults
I can select a job and enter results for it
I can progress a job through enter results with a mandatory and default input
I can submit a test which has rounding set and see that they have trailing zeros
I can submit tests without rounding and see no trailing zeros
I can not see inputs set to show only on workbook at enter results
I can see the job details from the enter results page
I can only add results in the format set in the test method
I can go to the next test for the same input after pressing enter
I can use the arrow keys to navigate between cells while editing cells
I can go to the next test for the same list input after pressing enter
I can revert back to the previous test input when reason for change dialog is cancelled
I can see the test output calculates correctly when an input value is changed
I can only see jobs on the enter results page that have been received
I can add a new test to an existing job and enter results for this test
I can only see jobs associated with my assigned clients at enter results
I can record stock usage against a test at enter results and see this reflected on the stock inventory
Investigations
I can start a new investigation on a sample
I can start an investigation on a sample and see this on the dashboard and job viewer
I can close an investigation and see that the dashboard icon is removed
I can edit an investigation
JobAndSampleList
I can search for a job on the job viewer
I can filter job by status on the dashboard
I can sort and reset the filters on the job viewer
I can view samples on the sample viewer
I can search for a sample on the samnple viewer
I can filter by product on the sample viewer
I can only see my assigned clients and associated jobs on the job viewer
JobViewer
I can add a new sample to an existing job
LifecycleProcess
I create a job and take it through to approval
I create a job with multiple samples and take one through to approval
ManageWork
I cannot see jobs that aren't received on the manage work screen
I cannot see jobs that have their results submitted on the manage work screen
I can create a workbook from a job
I can view and download previously created workbooks
I can download a workbook for a job
I can create a workbook from multiple jobs
I cannot create a workbook from a job twice
I can create a workbook from a job add extra tests and select the job again
I can only create workbooks for jobs of clients selected in the client filter
I can only view workbooks for clients selected in the client filter
ReceiveSamples
I can select a job and receive the samples for it
I can receive a sample and enter results
I can see the default specification is pre selected at receive samples
I can choose to set no specification on a sample
I can only see jobs associated with my assigned clients at receive samples
SampleViewer
I can add correctly available test methods when editing an existing sample
The sample due date can be updated
I can use the arrows to move between samples on a job
I can delete a repeat test from a sample
I can add repeat tests to an existing sample
Submit
I can submit a job
I can cancel job creation
I can edit the test methods in the selected test suites when I submit a job
I can add repeats and then copy these down to other samples when I submit a job
I can start a job and come back later to see this as draft
I can submit a job and see the details of this on the job viewer
I am taken to receive samples after submitting a job
I can see the correct test methods when creating a job
I can only submit jobs for my assigned clients
VerifyTests
I can select a job and verify the tests for it
I can only see jobs on the verify tests page that have had results entered
I can only see jobs associated with my assigned clients at verify tests
📂 MenuNavigation
MenuNavigation
I am navigated to the new support site when I click the support link on the menu
I am navigated to the new support site when I click the about icon on the menu
📂 Portal
Portal
I can invite and revoke access to the portal
I can resend an invite to a portal user
I cannot resent an invite to a portal user that has already accepted
I cannot see portal information if my subscription tier is essentials or growth
📂 Reporting
JobCertificate
I can download a job certificate on the job viewer when all samples are approved
I can download a job certificate at approve samples when all samples are approved
I can download a draft job certificate at approve samples when not all samples are approved
I can download a draft job certificate button on the job viewer where all samples are not approved
I cannot download a draft job certificate where all samples are not received
I can see job certificate templates when I print a job certificate
I can see the job certificate is attached to the job
I am served a job certificate from the attachments if one exists
I can regenerate a job certificate that has previously been generated
JobSubmissionSummary
I can submit a job and produce a job submission summary from the job viewer
I can see the job summary is attached to a submitted job
ResultsExport
I can enter results and export these on the results export
I can change a submitted result and see this update on the results export
I can produce a results export for a specified job id
I can produce a results export using a given date range
I can see my custom job and sample fields on the results export
I can export results for all clients in the system
I can see repeats when exporting results
SampleCertificate
I can download a sample certificate for an approved sample
I can download a draft sample certificate for an unapproved sample
I can see sample certificate templates when I print a sample certificate
I can see the sample certificate is attached to a sample
I can see the sample certificate is attached to the sample from the approve samples page
I am served a sample certificate from the attachments if one exists
I can regenerate a sample certificate that has previously been generated
I can select a default sample certificate template on a product and see this is used on generation
SampleLabel
I can produce sample labels for all my selected samples on receive
I can produce all sample labels for a job on the job viewer
📂 ResultsImport
ResultsImport
I can set up the mappings for the results import and import results from
📂 Security
Login
Login to LabHQ
I am unable to log in with incorrect password
I can change my password and login with the new password
My account is disabled if i enter incorrect credentials multiple times
I can log out of LabHQ
I cannot reset my password using a weak password
I cannot reuse my old password
I cannot log in to a disabled account
I cannot see organisations I am not authorised for
I am directed to the organisation select screen if I try to navigate to another organisations site from a logged in state
I can set MFA to app and my user is prompted to configure this at login
📂 Setup
Clients
I can create a client
I can search for a client
I can edit an existing client
I can add all filtered products to a new client
I can view related products on clients
Product Attachments
I can add and delete a product attachment from product edit
Product attachments are visible from lifecycle product side panel
Products
I can create a product
I can view related clients on products
I can view related test suites on products
I can search for a product
I can edit an existing product
I can delete a product
I can define an order of test method outputs on product specification
I can clone a product
I can view a product
I can clone a product with an outdated spec and cannot publish my new product
I can update a test method and set to draft, sync this to the product and be unable to publish the product
I can delete a test suite and the product requires resync
I can delete a test method and the product requires resync
I can add a 2D coordinate specification on a product
Specifications
I can add a specification to a product
I can update a specification on a product
I can see a pass specification results on the approve samples page
I can add a 2D coordinate specification on a product and see this fail at enter results
I can add a 2D coordinate specification on a product and see this pass at approve samples
I can see a pass specification when a default test method value is used
I can see a fail specification result on the verify tests page
I can see out of specs when entering results
I can see a fail specification results on the approve samples page
I can view the specification results on the test viewer page
I can see the spec change from fail to pass when results are changed
Deleting a test method does not affect the set spec or lifecycle data without sync
I can see a list of test method outputs that have been removed after refreshing product specifications
I can see my spec values are kept after refreshing product specifications
I can add a specification for a string output type
I can see a pass specification from a string output type on approve samples
I can see a fail specification from a string output type on approve samples
I can add a second specification to a product and use this on a sample
I can see all added specifications to an existing product when product is saved
A deleted spec is still used on an already submitted job
I change the spec on a sample and see the results change from fail to pass
I can see a failed specification at enter results before submitting
I can change a test method output type and see this reflected on the spec when refreshed
TestMethods
I can create a test method
I can view a test method
I can create a test method with a 2d coordinate input
I can delete a test method
I can view related test suites on test methods
I can view related products on test methods
I can remove a test suite from a test method and see the related products update
I can search for a test method
I can filter by draft test method
I can edit an existing test method
I can clone a test method
I can quick add the output from input on a test method
I can test my output calculation at test method setup
I can delete a test method that is attached to a suite and product
I can delete a test method that shows a conflict with the delete
I can see the test method version change when I sync and publish after a change
I can see the test method version change to draft when I save after a change
When a test method/product version changes this does not change on existing lifecycle jobs
I cannot use duplicate test method output names
I cannot add another input or output when limit reached
I cannot clone an input or add a matching output when limit reached
I cannot clone an output when limit reached
I cannot create a matching output for a new input when within 1 of the limit
I can assign a draft test method (Never published) to a test suite via test method setup
I can assign a draft test method (Previously published) to a test suite via test method setup
I can hide and unhide a test method output from certificates
I can set an input to electronic only on a test method
I can set an input to workbook only on a test method
I can set an input to display on all on a test method
I can add related stock items to a test method
TestSuites
I can create a test suite
I can view a test suite
I can view related test methods on test suites
I can search for a test suite
I can edit an existing test suite
I can delete a test suite
Warning Limits
I can add a warning limit to a specification
I can see the warning on approve samples when a sample is out of warning limits
I can see tests out of warning limits at enter results
I can see the warning on the verify tests page when a sample is out of warning limits
I can see the warning on the test viewer when the test is out of warning limit
I can set the warning operator to a different one to spec and see a failed warning on test viewer
I can set a warning limit with no set spec and see a warning on the test viewer
I can see the test change from failed spec to warn when results are changed
📂 Stock
AdjustStock
I can manually adjust a batch of stock and see this reflected on the inventory page
I can manually adjust stock and see this on the recently adjustment history table
A stock batch is removed from inventory view when adjusted to zero
Stock item remains visible as out of stock when all batches are reduced to zero
Zero-quantity stock batch behavior is consistent across stock module pages
ExpiredStock
I can see an expired batch of stock on the expired stock page
I can dispose of an expired stock batch on the expired stock screen
I can see the correct information on the expiring soon tab
Inventory
I can see my stock items and edit the batches from the inventory page
ReceiveStock
I can receive a batch of stock
I can see a job is automatically submitted when I receive a batch of stock that requires testing
I can see the status of my batch is updated to in testing when the sample is received
I can see the status of my batch is updated when the sample is approved
StockItems
I can create a new stock item
I can edit a stock item and save the changes
I can delete a stock item
UsageTracking
I can see manual adjustment appear on the usage tracking screen
I can record stock usage against a test at enter results and see this reflected on the usage tracking screen
Only approved and not expired stock batches are available for selection at enter results
Feature Scenarios Completion Duration Status
AdjustStock 5 100% 1min 59s Passed
ApproveSamples 3 100% 53s 004ms Passed
Attachments 4 100% 1min 16s Passed
Audit 10 100% 3min 4s Passed
Clients 5 100% 1min 4s Passed
Custom fields 9 100% 5min 54s Passed
Dashboard 18 100% 4min 54s Passed
EnterResults 16 100% 5min 22s Passed
EquipmentItems 4 100% 51s 318ms Passed
EquipmentMaintenance 4 100% 1min 2s Passed
ExpiredStock 3 100% 34s 051ms Passed
Inventory 1 100% 12s 463ms Passed
Investigations 4 100% 1min 37s Passed
JobAndSampleList 7 100% 2min 12s Passed
JobCertificate 9 100% 3min 22s Passed
JobSubmissionSummary 2 100% 31s 589ms Passed
JobViewer 1 100% 23s 947ms Passed
LabelSettings 2 100% 22s 184ms Passed
LifecycleProcess 2 100% 53s 679ms Passed
Lists 2 100% 26s 446ms Passed
Login 11 100% 1min 40s Passed
ManageWork 10 100% 3min 28s Passed
MenuNavigation 2 100% 19s 283ms Passed
Organisation 3 100% 53s 965ms Passed
OutOfSpecResults 4 100% 1min 38s Passed
Portal 4 100% 1min 4s Passed
Product Attachments 2 100% 47s 704ms Passed
Products 14 100% 4min 58s Passed
ReceiveSamples 5 100% 1min 28s Passed
ReceiveStock 4 100% 1min 29s Passed
ReportSettings 3 100% 1min 44s Passed
ResultsExport 7 100% 2min 25s Passed
ResultsImport 1 100% 50s 780ms Passed
SampleCertificate 8 100% 3min 10s Passed
SampleLabel 2 100% 38s 426ms Passed
SampleViewer 5 100% 1min 58s Passed
Settings 7 100% 2min 10s Passed
Specifications 23 100% 13min 55s Passed
StockItems 3 100% 36s 746ms Passed
Submit 9 100% 2min 12s Passed
SubscriptionTier 20 100% 5min 17s Passed
TestMethods 30 100% 9min 54s Passed
TestSuites 6 100% 1min 46s Passed
Trending 7 100% 2min 6s Passed
UsageTracking 3 100% 1min 5s Passed
User Permissions 49 100% 29min 49s Passed
UserAccounts 5 100% 58s 643ms Passed
VerifyTests 3 100% 51s 169ms Passed
Warning Limits 8 100% 4min 22s Passed
Scenario Order Duration Status
I can manually adjust a batch of stock and see this reflected on the inventory page 1 1min 3s Passed
I can manually adjust stock and see this on the recently adjustment history table 2 13s 108ms Passed
A stock batch is removed from inventory view when adjusted to zero 3 14s 181ms Passed
Stock item remains visible as out of stock when all batches are reduced to zero 4 13s 741ms Passed
Zero-quantity stock batch behavior is consistent across stock module pages 5 14s 810ms Passed
I can select a job and approve the samples for it 154 13s 988ms Passed
I can only see jobs on the approve samples page that have been verified 155 12s 975ms Passed
I can only see jobs associated with my assigned clients at approve samples 156 26s 040ms Passed
I can add an attachment to a job 157 19s 363ms Passed
I can delete an attachment on a job 158 18s 151ms Passed
I can add an attachment to a sample 159 18s 778ms Passed
I can delete an attachment on a sample 160 19s 742ms Passed
I can add a job and see this on the filtered audit 249 20s 355ms Passed
I can find audit data using the search box 250 17s 382ms Passed
I can edit a test method and see this on the audit 251 14s 785ms Passed
I can update a product spec and see this on the audit 252 26s 053ms Passed
I am taken to the audit logs for a job when I click the job audit button 253 19s 698ms Passed
I am taken to the audit logs for a job when I click the context menu audit logs button 254 16s 521ms Passed
I am taken to the audit logs for a sample when I click the sample audit button 255 19s 253ms Passed
I am taken to the audit logs for a sample when I click the context menu audit logs button 256 12s 236ms Passed
I can only see audit logs for my own organisation 257 19s 450ms Passed
Product attachment add and delete are recorded in audit 258 18s 782ms Passed
I can create a client 20 14s 165ms Passed
I can search for a client 21 11s 246ms Passed
I can edit an existing client 22 12s 845ms Passed
I can add all filtered products to a new client 23 14s 419ms Passed
I can view related products on clients 24 11s 336ms Passed
I can create a custom job field 270 40s 052ms Passed
I can create a custom sample field 271 40s 536ms Passed
I can use a custom sample field on a sample 272 1min 18s Passed
I can use a custom job field on a job 273 1min 14s Passed
I can only use numbers in a number type custom job field 274 25s 604ms Passed
Changing a custom job field does not change it on an existing job 275 24s 498ms Passed
Changing a custom sample field does not change it on an existing sample 276 22s 999ms Passed
I can set a client specific custom job field and see this on a job 277 23s 686ms Passed
I can set a client specific custom sample field and see this on a sample 278 24s 543ms Passed
I can edit and save my dashboard 231 8s 895ms Passed
I can see the samples completed today widget has the correct information 232 26s 901ms Passed
I can see the samples completed this week widget shows the correct information 233 15s 378ms Passed
I can see the outstanding samples widget shows the correct information 234 12s 385ms Passed
I can see the company logo widget correctly displays on the dashboard 235 19s 840ms Passed
I can see the onboarding checklist is displayed when I add this to my dashboard 236 13s 370ms Passed
I can see the samples completed on time widget shows the correct information 237 15s 834ms Passed
I can see a list of my overdue samples on the overdue samples widget 238 12s 554ms Passed
I can see a sample at every step of the workflow pipeline widget 239 16s 075ms Passed
I can see the correct information on the samples approaching due date widget 240 11s 868ms Passed
I can see my out of spec results show on the oos monthly count widget 241 11s 619ms Passed
I can see I have an investigation showing on the active sample investigations and by age widgets 242 26s 715ms Passed
I can add the median time to investigation closure widget to my dashboard and see the correct data 243 22s 458ms Passed
I can see my expired stock count on the expired stock widget 244 15s 083ms Passed
I can see my stock health on the stock health widget 245 14s 639ms Passed
I can see my stock on the stock usability widget 246 15s 262ms Passed
I can see my stock expiring soon on the stock expiring soon widget 247 14s 302ms Passed
Stock widgets do not count zero-quantity batches 248 21s 653ms Passed
I can select a job and enter results for it 161 15s 559ms Passed
I can progress a job through enter results with a mandatory and default input 162 24s 123ms Passed
I can submit a test which has rounding set and see that they have trailing zeros 163 20s 947ms Passed
I can submit tests without rounding and see no trailing zeros 164 20s 622ms Passed
I can not see inputs set to show only on workbook at enter results 165 20s 391ms Passed
I can see the job details from the enter results page 166 13s 033ms Passed
I can only add results in the format set in the test method 167 20s 465ms Passed
I can go to the next test for the same input after pressing enter 168 17s 527ms Passed
I can use the arrow keys to navigate between cells while editing cells 169 18s 335ms Passed
I can go to the next test for the same list input after pressing enter 170 31s 930ms Passed
I can revert back to the previous test input when reason for change dialog is cancelled 171 20s 378ms Passed
I can see the test output calculates correctly when an input value is changed 172 19s 082ms Passed
I can only see jobs on the enter results page that have been received 173 10s 671ms Passed
I can add a new test to an existing job and enter results for this test 174 21s 792ms Passed
I can only see jobs associated with my assigned clients at enter results 175 23s 289ms Passed
I can record stock usage against a test at enter results and see this reflected on the stock inventory 176 24s 438ms Passed
I can create a new equipment item 223 13s 480ms Passed
I can edit an equipment item 224 14s 078ms Passed
I can decommission an equipment item 225 11s 949ms Passed
I can add and remove maintenance events for an equipment item 226 11s 809ms Passed
I can see an upcoming maintenance events remove these and see the calendar update 227 13s 246ms Passed
I can see when an event is overdue on the maintenance calendar 228 12s 986ms Passed
I can filter by event type on the maintenance calendar 229 13s 043ms Passed
I can progress an event through to approval on the calendar 230 22s 856ms Passed
I can see an expired batch of stock on the expired stock page 6 10s 034ms Passed
I can dispose of an expired stock batch on the expired stock screen 7 11s 998ms Passed
I can see the correct information on the expiring soon tab 8 12s 017ms Passed
I can see my stock items and edit the batches from the inventory page 9 12s 463ms Passed
I can start a new investigation on a sample 177 22s 484ms Passed
I can start an investigation on a sample and see this on the dashboard and job viewer 178 26s 200ms Passed
I can close an investigation and see that the dashboard icon is removed 179 24s 698ms Passed
I can edit an investigation 180 24s 045ms Passed
I can search for a job on the job viewer 181 18s 238ms Passed
I can filter job by status on the dashboard 182 16s 733ms Passed
I can sort and reset the filters on the job viewer 183 16s 354ms Passed
I can view samples on the sample viewer 184 15s 891ms Passed
I can search for a sample on the samnple viewer 185 17s 347ms Passed
I can filter by product on the sample viewer 186 23s 256ms Passed
I can only see my assigned clients and associated jobs on the job viewer 187 24s 433ms Passed
I can download a job certificate on the job viewer when all samples are approved 120 21s 791ms Passed
I can download a job certificate at approve samples when all samples are approved 121 17s 518ms Passed
I can download a draft job certificate at approve samples when not all samples are approved 122 16s 767ms Passed
I can download a draft job certificate button on the job viewer where all samples are not approved 123 33s 079ms Passed
I cannot download a draft job certificate where all samples are not received 124 18s 363ms Passed
I can see job certificate templates when I print a job certificate 125 31s 147ms Passed
I can see the job certificate is attached to the job 126 20s 265ms Passed
I am served a job certificate from the attachments if one exists 127 19s 706ms Passed
I can regenerate a job certificate that has previously been generated 128 23s 695ms Passed
I can submit a job and produce a job submission summary from the job viewer 129 14s 316ms Passed
I can see the job summary is attached to a submitted job 130 17s 272ms Passed
I can add a new sample to an existing job 188 23s 947ms Passed
I can update the label settings and save the changes 279 11s 503ms Passed
I can update the label settings and then revert these to default 280 10s 681ms Passed
I create a job and take it through to approval 189 27s 144ms Passed
I create a job with multiple samples and take one through to approval 190 26s 535ms Passed
I can create a new list 281 10s 195ms Passed
I can add items to an existing list 282 16s 250ms Passed
Login to LabHQ 108 6s 323ms Passed
I am unable to log in with incorrect password 109 2s 899ms Passed
I can change my password and login with the new password 110 14s 757ms Passed
My account is disabled if i enter incorrect credentials multiple times 111 5s 607ms Passed
I can log out of LabHQ 112 8s 053ms Passed
I cannot reset my password using a weak password 113 10s 719ms Passed
I cannot reuse my old password 114 8s 043ms Passed
I cannot log in to a disabled account 115 12s 776ms Passed
I cannot see organisations I am not authorised for 116 6s 657ms Passed
I am directed to the organisation select screen if I try to navigate to another organisations site from a logged in state 117 9s 213ms Passed
I can set MFA to app and my user is prompted to configure this at login 118 15s 797ms Passed
I cannot see jobs that aren't received on the manage work screen 191 15s 119ms Passed
I cannot see jobs that have their results submitted on the manage work screen 192 16s 303ms Passed
I can create a workbook from a job 193 16s 639ms Passed
I can view and download previously created workbooks 194 19s 995ms Passed
I can download a workbook for a job 195 16s 807ms Passed
I can create a workbook from multiple jobs 196 18s 452ms Passed
I cannot create a workbook from a job twice 197 20s 552ms Passed
I can create a workbook from a job add extra tests and select the job again 198 27s 054ms Passed
I can only create workbooks for jobs of clients selected in the client filter 199 24s 508ms Passed
I can only view workbooks for clients selected in the client filter 200 33s 178ms Passed
I am navigated to the new support site when I click the support link on the menu 152 9s 336ms Passed
I am navigated to the new support site when I click the about icon on the menu 153 9s 946ms Passed
I can update my company address 283 10s 435ms Passed
I can add a custom logo and see this on the site 284 26s 965ms Passed
I can remove a custom logo and see the default labhq one on the site 285 16s 564ms Passed
I can see the out of spec results by product graph where I have results to show 259 39s 923ms Passed
I can see the out of spec results by test method graph populate when I select a product 260 40s 067ms Passed
I cannot see the out of spec results by test method graph where no filters are selected 261 8s 630ms Passed
I cannot see the out of spec results by product graph when there are no approved out of spec results 262 9s 421ms Passed
I can invite and revoke access to the portal 148 12s 689ms Passed
I can resend an invite to a portal user 149 13s 190ms Passed
I cannot resent an invite to a portal user that has already accepted 150 12s 301ms Passed
I cannot see portal information if my subscription tier is essentials or growth 151 26s 194ms Passed
I can add and delete a product attachment from product edit 25 21s 459ms Passed
Product attachments are visible from lifecycle product side panel 26 26s 244ms Passed
I can create a product 27 15s 369ms Passed
I can view related clients on products 28 15s 479ms Passed
I can view related test suites on products 29 14s 496ms Passed
I can search for a product 30 18s 053ms Passed
I can edit an existing product 31 23s 195ms Passed
I can delete a product 32 19s 256ms Passed
I can define an order of test method outputs on product specification 33 25s 494ms Passed
I can clone a product 34 32s 755ms Passed
I can view a product 35 20s 234ms Passed
I can clone a product with an outdated spec and cannot publish my new product 36 29s 139ms Passed
I can update a test method and set to draft, sync this to the product and be unable to publish the product 37 19s 487ms Passed
I can delete a test suite and the product requires resync 38 16s 268ms Passed
I can delete a test method and the product requires resync 39 26s 606ms Passed
I can add a 2D coordinate specification on a product 40 22s 545ms Passed
I can select a job and receive the samples for it 201 17s 696ms Passed
I can receive a sample and enter results 202 18s 520ms Passed
I can see the default specification is pre selected at receive samples 203 14s 813ms Passed
I can choose to set no specification on a sample 204 16s 824ms Passed
I can only see jobs associated with my assigned clients at receive samples 205 21s 070ms Passed
I can receive a batch of stock 10 11s 136ms Passed
I can see a job is automatically submitted when I receive a batch of stock that requires testing 11 17s 081ms Passed
I can see the status of my batch is updated to in testing when the sample is received 12 21s 006ms Passed
I can see the status of my batch is updated when the sample is approved 13 40s 331ms Passed
I can upload, download and delete a custom template 286 46s 101ms Passed
I cannot upload a template in an unsupported format 287 30s 018ms Passed
I can download the default template 288 28s 747ms Passed
I can enter results and export these on the results export 131 20s 749ms Passed
I can change a submitted result and see this update on the results export 132 20s 322ms Passed
I can produce a results export for a specified job id 133 16s 265ms Passed
I can produce a results export using a given date range 134 16s 301ms Passed
I can see my custom job and sample fields on the results export 135 31s 820ms Passed
I can export results for all clients in the system 136 21s 659ms Passed
I can see repeats when exporting results 137 18s 223ms Passed
I can set up the mappings for the results import and import results from 119 50s 780ms Passed
I can download a sample certificate for an approved sample 138 20s 164ms Passed
I can download a draft sample certificate for an unapproved sample 139 18s 690ms Passed
I can see sample certificate templates when I print a sample certificate 140 31s 926ms Passed
I can see the sample certificate is attached to a sample 141 19s 485ms Passed
I can see the sample certificate is attached to the sample from the approve samples page 142 23s 795ms Passed
I am served a sample certificate from the attachments if one exists 143 20s 975ms Passed
I can regenerate a sample certificate that has previously been generated 144 21s 061ms Passed
I can select a default sample certificate template on a product and see this is used on generation 145 34s 761ms Passed
I can produce sample labels for all my selected samples on receive 146 16s 920ms Passed
I can produce all sample labels for a job on the job viewer 147 21s 505ms Passed
I can add correctly available test methods when editing an existing sample 206 24s 425ms Passed
The sample due date can be updated 207 20s 958ms Passed
I can use the arrows to move between samples on a job 208 23s 228ms Passed
I can delete a repeat test from a sample 209 25s 818ms Passed
I can add repeat tests to an existing sample 210 24s 196ms Passed
I can change my date locale and see this update the format on LabHQ 289 19s 190ms Passed
I am prompted to give a reason for change in order to change a submitted test input 290 14s 820ms Passed
I am prompted to enter my password when submitting a result if require e-sig is enabled 291 17s 221ms Passed
The test verification process is skipped if I have the setting enabled 292 25s 079ms Passed
I cannot verify a sample if I entered the results with the independent verify setting on 293 21s 600ms Passed
I cannot turn off MFA if my organisation requires it 294 18s 964ms Passed
I receive an emailed OTP if my organisation enables forced MFA 295 13s 963ms Passed
I can add a specification to a product 41 21s 045ms Passed
I can update a specification on a product 42 24s 753ms Passed
I can see a pass specification results on the approve samples page 43 2min 3s Passed
I can add a 2D coordinate specification on a product and see this fail at enter results 44 30s 673ms Passed
I can add a 2D coordinate specification on a product and see this pass at approve samples 45 30s 870ms Passed
I can see a pass specification when a default test method value is used 46 30s 239ms Passed
I can see a fail specification result on the verify tests page 47 32s 909ms Passed
I can see out of specs when entering results 48 30s 528ms Passed
I can see a fail specification results on the approve samples page 49 31s 518ms Passed
I can view the specification results on the test viewer page 50 34s 709ms Passed
I can see the spec change from fail to pass when results are changed 51 41s 121ms Passed
Deleting a test method does not affect the set spec or lifecycle data without sync 52 44s 442ms Passed
I can see a list of test method outputs that have been removed after refreshing product specifications 53 44s 188ms Passed
I can see my spec values are kept after refreshing product specifications 54 26s 867ms Passed
I can add a specification for a string output type 55 24s 300ms Passed
I can see a pass specification from a string output type on approve samples 56 31s 428ms Passed
I can see a fail specification from a string output type on approve samples 57 30s 901ms Passed
I can add a second specification to a product and use this on a sample 58 35s 278ms Passed
I can see all added specifications to an existing product when product is saved 59 26s 880ms Passed
A deleted spec is still used on an already submitted job 60 37s 966ms Passed
I change the spec on a sample and see the results change from fail to pass 61 35s 646ms Passed
I can see a failed specification at enter results before submitting 62 32s 519ms Passed
I can change a test method output type and see this reflected on the spec when refreshed 63 32s 850ms Passed
I can create a new stock item 14 11s 695ms Passed
I can edit a stock item and save the changes 15 13s 210ms Passed
I can delete a stock item 16 11s 840ms Passed
I can submit a job 211 15s 056ms Passed
I can cancel job creation 212 12s 156ms Passed
I can edit the test methods in the selected test suites when I submit a job 213 12s 694ms Passed
I can add repeats and then copy these down to other samples when I submit a job 214 14s 123ms Passed
I can start a job and come back later to see this as draft 215 15s 644ms Passed
I can submit a job and see the details of this on the job viewer 216 18s 578ms Passed
I am taken to receive samples after submitting a job 217 13s 770ms Passed
I can see the correct test methods when creating a job 218 13s 670ms Passed
I can only submit jobs for my assigned clients 219 16s 334ms Passed
I cannot access trend report if my subscription tier is Essentials 296 14s 574ms Passed
I cannot access oos results if my subscription tier is Essentials 297 9s 763ms Passed
I cannot select the oos results permission in Essentials tier 298 13s 130ms Passed
I cannot access trend report from approve samples if my subscription tier is Essentials 299 14s 726ms Passed
I cannot access investigations if my subscription tier is Essentials 300 17s 097ms Passed
I cannot access export results if my subscription tier is Essentials 301 10s 020ms Passed
I cannot select the export results permission in Essentials tier 302 13s 495ms Passed
I cannot access Equipment items if my subscription tier is Essentials or growth 303 18s 730ms Passed
I cannot access Equipment maintenance if my subscription tier is Essentials or growth 304 20s 351ms Passed
I cannot access Stock module if my subscription tier is Essentials or growth 305 20s 462ms Passed
I cannot access label settings if my subscription tier is Essentials or growth 306 20s 152ms Passed
I cannot print a sample label if my subscription tier is Essentials 307 17s 101ms Passed
I cannot access custom fields if my subscription tier is Essentials 308 29s 427ms Passed
I cannot access report settings if my subscription tier is Essentials or growth 309 29s 503ms Passed
I cannot access manage work in essentials tier 310 13s 906ms Passed
I cannot create a new client if I am on the essentials tier 311 8s 387ms Passed
I cannot access the below widgets if I am on essentials tier 312 8s 894ms Passed
I cannot access the below widgets if I am on growth tier 313 8s 650ms Passed
I cannot add new attachments if I am on Essentials tier 314 18s 110ms Passed
I cannot add product attachments if I am on Essentials tier 315 10s 542ms Passed
I can create a test method 64 18s 578ms Passed
I can view a test method 65 17s 264ms Passed
I can create a test method with a 2d coordinate input 66 14s 549ms Passed
I can delete a test method 67 16s 453ms Passed
I can view related test suites on test methods 68 14s 600ms Passed
I can view related products on test methods 69 13s 300ms Passed
I can remove a test suite from a test method and see the related products update 70 14s 136ms Passed
I can search for a test method 71 15s 045ms Passed
I can filter by draft test method 72 15s 727ms Passed
I can edit an existing test method 73 16s 685ms Passed
I can clone a test method 74 15s 510ms Passed
I can quick add the output from input on a test method 75 15s 311ms Passed
I can test my output calculation at test method setup 76 18s 734ms Passed
I can delete a test method that is attached to a suite and product 77 17s 889ms Passed
I can delete a test method that shows a conflict with the delete 78 16s 491ms Passed
I can see the test method version change when I sync and publish after a change 79 17s 523ms Passed
I can see the test method version change to draft when I save after a change 80 16s 378ms Passed
When a test method/product version changes this does not change on existing lifecycle jobs 81 27s 446ms Passed
I cannot use duplicate test method output names 82 19s 561ms Passed
I cannot add another input or output when limit reached 83 38s 351ms Passed
I cannot clone an input or add a matching output when limit reached 84 38s 283ms Passed
I cannot clone an output when limit reached 85 37s 902ms Passed
I cannot create a matching output for a new input when within 1 of the limit 86 38s 245ms Passed
I can assign a draft test method (Never published) to a test suite via test method setup 87 23s 529ms Passed
I can assign a draft test method (Previously published) to a test suite via test method setup 88 19s 076ms Passed
I can hide and unhide a test method output from certificates 89 14s 959ms Passed
I can set an input to electronic only on a test method 90 14s 983ms Passed
I can set an input to workbook only on a test method 91 14s 940ms Passed
I can set an input to display on all on a test method 92 16s 271ms Passed
I can add related stock items to a test method 93 16s 946ms Passed
I can create a test suite 94 15s 612ms Passed
I can view a test suite 95 19s 053ms Passed
I can view related test methods on test suites 96 16s 932ms Passed
I can search for a test suite 97 18s 355ms Passed
I can edit an existing test suite 98 18s 923ms Passed
I can delete a test suite 99 17s 383ms Passed
I can progress through trend wizard to view the trend graph 263 31s 293ms Passed
I can see a message appear when there is no data to show on the trend graph 264 12s 912ms Passed
I can see the trend wizard prepopulate from approve samples page 265 16s 151ms Passed
Verified samples will link to trend chart from approve samples page 266 14s 052ms Passed
I can see the trend wizard prepopulate from test summary page 267 21s 380ms Passed
Samples with results entered will link to trend chart from the job viewer 268 17s 725ms Passed
I can import result data successfully 269 12s 590ms Passed
I can see manual adjustment appear on the usage tracking screen 17 13s 617ms Passed
I can record stock usage against a test at enter results and see this reflected on the usage tracking screen 18 26s 688ms Passed
Only approved and not expired stock batches are available for selection at enter results 19 24s 959ms Passed
I cannot view settings if I do not have manage permissions 321 35s 609ms Passed
I cannot view Organisation if I do not have manage permissions 322 35s 664ms Passed
I cannot access label settings if I do not have permission 323 35s 761ms Passed
I cannot view Custom fields if I do not have manage permissions 324 33s 429ms Passed
I cannot view Report settings if I do not have permission 325 35s 518ms Passed
I cannot view Lists if I do not have manage permissions 326 33s 662ms Passed
I cannot view the Audit if I do not have manage permissions 327 34s 072ms Passed
I cannot view clients if I do not have view permissions 328 33s 478ms Passed
I cannot view test methods/suites/products if I do not have view permissions 329 44s 841ms Passed
I cannot view submit job if I do not have manage permissions 330 33s 604ms Passed
I cannot view receive samples if I do not have manage permissions 331 34s 520ms Passed
I cannot view manage work if I do not have permission 332 33s 912ms Passed
I cannot download a workbook from manage work if I do not have permission 333 35s 630ms Passed
I cannot redownload a workbook from view workbook page if I do not have permission 334 33s 974ms Passed
I cannot view enter results if I do not have manage permissions 335 34s 541ms Passed
I cannot view verify tests if I do not have manage permissions 336 33s 540ms Passed
I cannot view approve samples if I do not have manage permissions 337 34s 419ms Passed
I cannot view trend report if I do not have permissions 338 34s 820ms Passed
I cannot view oos results if I do not have permissions 339 33s 939ms Passed
I cannot view trend report from approve samples page if I do not have permissions 340 35s 391ms Passed
I cannot view trend report from job viewer if I do not have permissions 341 40s 848ms Passed
I cannot see the edit tests button on submit job if I do not have edit tests permisison 342 32s 594ms Passed
I cannot see the edit tests button on sample details if I do not have edit tests permission 343 39s 745ms Passed
I cannot see the label download button if I do not have permission 344 39s 508ms Passed
I cannot view export results page if I do not have permission 345 32s 751ms Passed
I cannot update the company address without the correct permission 346 29s 553ms Passed
I can import results data without the correct permission 347 29s 316ms Passed
I cannot change the spec on a sample without the correct permission 348 41s 024ms Passed
I cannot delete a sample without the correct permission 349 39s 650ms Passed
I cannot edit a sample without the correct permission 350 40s 567ms Passed
I cannot add a sample to a job without the correct permission 351 39s 921ms Passed
I cannot delete a job without the correct permission 352 40s 081ms Passed
I cannot edit a job without the correct permission 353 39s 530ms Passed
I cannot revert approval without correct permission 354 41s 834ms Passed
I cannot revert verification without correct permission 355 41s 648ms Passed
I cannot delete a setup item without correct permission 356 32s 023ms Passed
I cannot publish a setup item without correct permission 357 31s 874ms Passed
I cannot archive user accounts without correct permission 358 31s 255ms Passed
I cannot see user accounts without correct permission 359 35s 741ms Passed
I cannot add sample attachments without correct permission 360 39s 871ms Passed
I cannot delete sample attachments without correct permission 361 42s 128ms Passed
I cannot add job attachments without correct permission 362 38s 406ms Passed
I cannot delete job attachments without correct permission 363 41s 056ms Passed
I cannot start an investigation without the correct permission 364 41s 263ms Passed
I cannot regenerate sample certificates without the correct permission 365 41s 401ms Passed
I cannot regenerate job certificates without the correct permission 366 40s 459ms Passed
I cannot access equipment items without the correct permission 367 34s 782ms Passed
I cannot access equipment maintenance without the correct permission 368 34s 066ms Passed
I cannot access results import configuration if I do not have permission 369 36s 547ms Passed
I cannot see the BSL Admin role on a non BSL company 316 11s 140ms Passed
I can disable a user account 317 14s 555ms Passed
I can archive a user account 318 10s 986ms Passed
I can edit an existing user account 319 13s 095ms Passed
I can only see user accounts associated with my organisation 320 8s 864ms Passed
I can select a job and verify the tests for it 220 12s 838ms Passed
I can only see jobs on the verify tests page that have had results entered 221 12s 328ms Passed
I can only see jobs associated with my assigned clients at verify tests 222 26s 002ms Passed
I can add a warning limit to a specification 100 24s 052ms Passed
I can see the warning on approve samples when a sample is out of warning limits 101 31s 298ms Passed
I can see tests out of warning limits at enter results 102 29s 745ms Passed
I can see the warning on the verify tests page when a sample is out of warning limits 103 30s 850ms Passed
I can see the warning on the test viewer when the test is out of warning limit 104 34s 056ms Passed
I can set the warning operator to a different one to spec and see a failed warning on test viewer 105 35s 518ms Passed
I can set a warning limit with no set spec and see a warning on the test viewer 106 33s 352ms Passed
I can see the test change from failed spec to warn when results are changed 107 43s 497ms Passed
Step Usage Status
Given I am logged in as user 'Adjuststockuser' 4 Passed
And I have created the following stock item: 27 Passed
And I have received the following stock batch: 27 Passed
When I click on the 'Stock' menu item 22 Passed
And I click on the 'Adjust stock' menu item 10 Passed
And I click the adjust stock button 20 Passed
And I populate the adjust stock form with the following: 10 Passed
And I can see the message of 'Stock availability updated successfully' 10 Passed
And I click on the 'Inventory' menu item 9 Passed
Then I can see the following stock item showing here: 6 Passed
Given I am logged in as user 'AdjustViewStockUser' 1 Passed
Then I can see the following recently adjusted stock in the table: 2 Passed
Given I am logged in as user 'Adjuststockzerouser' 2 Passed
And I click on stock item 'ZeroBatchStock' 1 Passed
Then I can no longer see stock batch 'ZERO123' on inventory 1 Passed
Given I am logged in as user 'Adjuststockzeruser' 1 Passed
And I click on stock item 'ZeroVisibleStock' 1 Passed
And I can no longer see stock batch 'ZEROVIS123' on inventory 1 Passed
And I click on stock item 'ZeroModuleStock' 1 Passed
And I can no longer see stock batch 'ZMOD123' on inventory 1 Passed
And I click on the 'expired stock' menu item 4 Passed
And I can no longer see stock item 'ZeroModuleStock' showing here 1 Passed
Given I am logged in as user 'ApproveSampleUser' 1 Passed
When I progress a job up to approval with batchNo 'approve' and input value '123' and spec 'Default specification' 1 Passed
And I click on the 'Approve samples' menu item 8 Passed
And I search for the created job 49 Passed
And I tick then approve the results 6 Passed
Then I can see the message of 'Samples approved successfully' 1 Passed
Given I am logged in as user 'ApproveUser' 1 Passed
When I progress a job up to verify with batchNo 'TestBatch123' and input value '10' and spec 'Default specification' 1 Passed
Then I can not see the job appear when I search for it 3 Passed
Given I am logged in as user 'clientFilterApproveUser' 1 Passed
And I have created the user 'spareApproveUser' 1 Passed
And I have progressed a job up to approval with batchNo 'TestBatch123' and input value '5' 1 Passed
And I create the following setup data: 74 Passed
When I have submitted a job with the following data: 9 Passed
And I receive the job 6 Passed
And I enter results of '5' for job 2 Passed
And I verify the results for job 1 Passed
And I have navigated to the 'Approve samples' page 1 Passed
Then I can only see the job for the client I am assigned 4 Passed
Given I am logged in as user 'jobattachmentUser' 1 Passed
When I submit a job with batchNo 'jobattachment' 1 Passed
And I view the created job on the job viewer 61 Passed
And I click on attachments 17 Passed
And I upload attachment 'Logo.png' 9 Passed
Then I can see the attachment has successfully uploaded to the job 1 Passed
Given I am logged in as user 'jobdeleteattachmentUser' 1 Passed
When I submit a job with batchNo 'deletejobattachment' 1 Passed
And I confirm the attachment has uploaded to the job 2 Passed
And I click on options for the added attachment 5 Passed
And I click on the delete button 12 Passed
And I click ok 60 Passed
Then I can see the attachment has successfully deleted from the job 1 Passed
And I can see the message of 'No attachments' 3 Passed
Given I am logged in as user 'sampleattachmentUser' 1 Passed
When I submit a job with batchNo 'sampleattachment' 1 Passed
And I view the first sample on the job 59 Passed
Then I can see the attachment has successfully uploaded to the sample 1 Passed
Given I am logged in as user 'sampledeleteattachmentUser' 1 Passed
When I submit a job with batchNo 'deletesampleattachment' 1 Passed
And I confirm the attachment has uploaded to the sample 2 Passed
Then I can see the attachment has successfully deleted from the sample 1 Passed
Given I am logged in as user 'AuditSubmitJobUser' 1 Passed
When I click on the 'Submit job' menu item 35 Passed
And I click Create a new job 47 Passed
And I select the default client from the list 43 Passed
And I enter 'AutoTest' into the batch number 15 Passed
And I select the default product from the list and add a sample 42 Passed
And I submit the job 18 Passed
And I click on the 'Audit' menu item 6 Passed
Then I am on the audit page 9 Passed
And I select 'Job' from the audit type filter 2 Passed
And I clear the audit actions 3 Passed
And I select 'Submitted' from the audit actions 2 Passed
And I enter from todays date on the filter 1 Passed
And I can see the submitted job action on the audit 4 Passed
And I clear the audit filters 2 Passed
And I enter before yesterdays date on the filter 1 Passed
And I can no longer see the submitted job action on the audit 2 Passed
Given I am logged in as user 'AuditSearchJobUser' 1 Passed
And I enter 'AuditSearchJob' into the batch number 1 Passed
And I enter 'notathing3262457' into the search box 1 Passed
And I enter the job id in the search box 1 Passed
Given I am logged in as user 'AuditEditTestMethodUser' 1 Passed
When I click on the 'Setup' menu item 85 Passed
And I click on the 'Test methods' menu item 40 Passed
And I click on options then edit the default test method 1 Passed
And I enter 'Audit trace' into the description 1 Passed
And I click save 110 Passed
And I can see the message of 'Test method updated successfully' 6 Passed
And I select 'Test Method' from the audit type filter 1 Passed
And I can see the test method description change to 'Audit trace' on the audit 1 Passed
Given I am logged in as user 'UpdateAuditSpecUser' 1 Passed
And I have navigated to the 'Products' page 41 Passed
When I click on product 'UpdateAuditSpecProduct' on the products page 1 Passed
And I click the generate specifications button 45 Passed
And I enter 'Automated test spec' into the specification description 2 Passed
And I click the output to expand the spec 39 Passed
And I select 'Between' from the operator drop down 24 Passed
And I enter '1' in the lower limit 11 Passed
And I enter '5' in the upper limit 11 Passed
And I can see the message of 'Product updated successfully' 3 Passed
And I select 'Product' from the audit type filter 2 Passed
And I select 'Updated' from the audit actions 1 Passed
And I can see the product spec update showing the new values '1' - '5' and version '1.1' on the audit 1 Passed
Given I am logged in as user 'JobAuditLinkUser' 1 Passed
And I submit a job with batchNo 'JALBatch' 1 Passed
When I view the created job on the job viewer 27 Passed
And I click on the job audit button 1 Passed
Given I am logged in as user 'JobAuditCLinkUser' 1 Passed
And I submit a job with batchNo 'JALCBatch' 1 Passed
When I refresh the page 5 Passed
And I click the job view on the dashboard 2 Passed
And select the context menu for the job on the job viewer 1 Passed
And I click on the view audit button 2 Passed
Given I am logged in as user 'SampleAuditLinkUser' 1 Passed
And I have progressed a job up to enter results with batchNo 'SALUTest' 1 Passed
And I click on the sample audit button 1 Passed
And I can see the sample logs on the audit 2 Passed
Given I am logged in as user 'SampleAuditCLinkUser' 1 Passed
And I have progressed a job up to enter results with batchNo 'SALCUTest' 1 Passed
When I click the sample view on the dashboard 1 Passed
And I select the context menu for the sample on the dashboard 1 Passed
Given I am logged in as user 'AuditOtherOrgUSer' 1 Passed
And I Log out of LabHQ 55 Passed
And I enter the log in details for the default bsl account 1 Passed
Then I cannot see the submitted job action on the audit 1 Passed
Given I am logged in as user 'AuditProductAttachmentUser' 1 Passed
And I click on the 'Products' menu item 19 Passed
And I click on product 'AuditProductAttachmentProd' on the products page 1 Passed
And I click on the attachments button 4 Passed
And I click ok on the popup dialog 2 Passed
And I click the close button 2 Passed
And I can see 'Product attachment added' 1 Passed
And I can see 'Product attachment deleted' 1 Passed
Given I am logged in as user 'createclientuser' 1 Passed
And I click on the 'Clients' menu item 10 Passed
And I click on the create client button 2 Passed
And I enter 'createclientclient' in the name field 1 Passed
And I add the default product to the client 1 Passed
And I add the default user account to the client 1 Passed
And I click on the create button 1 Passed
Then I can see the message of 'Client created successfully' 1 Passed
Given I am logged in as user 'searchclientuser' 1 Passed
And I have created a client called 'SearchClient' 1 Passed
And I am on the clients page 1 Passed
And I enter 'NULL' into the search box 6 Passed
And I can see the message of 'No clients found' 1 Passed
And I enter 'SearchClient' into the search box 1 Passed
Then I can see client 'SearchClient' in the list 1 Passed
Given I am logged in as user 'editclientuser' 1 Passed
And I have created a client called 'editthisclient' 1 Passed
And I click on client 'editthisclient' on the clients page 1 Passed
And I enter 'newclientname' in the name field 1 Passed
And I press tab on the keyboard 4 Passed
And I can see the message of 'Client updated successfully' 7 Passed
And I click the back button 14 Passed
Then I can see client 'newclientname' in the list 1 Passed
Given I am logged in as user 'addallproductsclientuser' 1 Passed
And I have created the following products: 1 Passed
And I enter 'createallproductclient' in the name field 1 Passed
And I click on the products drop down 1 Passed
And I enter 'AT' into the product filter so only '4' remain 1 Passed
And I click the double arrow to select all filtered products 1 Passed
Then I can see the following list of '4' products in the selected box 1 Passed
Given I am logged in as user 'clientsproductuser' 1 Passed
And I click on the 'clients' menu item 1 Passed
And I click on the default client on the clients page 3 Passed
And I click on the default available product from the selected list 1 Passed
And I click the edit product button 9 Passed
Then I can see the default product on the products edit page 1 Passed
Given I am logged in as user '<username>' 25 Passed
And I click on the 'custom fields' menu item 18 Passed
And I enter 'autojobfield' into the first custom job field title 7 Passed
And I select '<fieldType>' from the custom field 'job' type dropdown 6 Passed
And I click save job fields 11 Passed
Then I can see the message of 'Job custom fields saved successfully' 3 Passed
And I enter 'autosamplefield' into the first custom sample field title 7 Passed
And I select '<fieldType>' from the custom field 'sample' type dropdown 6 Passed
And I click save sample fields 9 Passed
Then I can see the message of 'Sample custom fields saved successfully' 3 Passed
And I can see the message of 'Sample custom fields saved successfully' 5 Passed
And I click on the 'Submit job' menu item 12 Passed
And I enter 'CustomSample' into the batch number 3 Passed
Then I can see the custom sample field 'autosamplefield' 3 Passed
And I click on the edit button 16 Passed
And I can populate the '<fieldType>' field 'autosamplefield' with the following values: 3 Passed
And I can see the message of 'Sample saved successfully' 3 Passed
And I can see the value '<fieldValue>' for the field 'autosamplefield' 3 Passed
And I can see the message of 'Job custom fields saved successfully' 7 Passed
And I enter 'CustomJob' into the batch number 4 Passed
Then I can see the custom job field 'autojobfield' 3 Passed
And I can populate the '<fieldType>' field 'autojobfield' with the following values: 3 Passed
And I can see the message of 'Job saved successfully' 3 Passed
And I can see the value '<fieldValue>' for the field 'autojobfield' 3 Passed
Given I am logged in as user 'UseCustomNumberJobFieldUser' 1 Passed
And I enter 'autojobnumberfield' into the first custom job field title 1 Passed
And I select 'number' from the custom field 'job' type dropdown 1 Passed
And I enter 'CustomNumberJob' into the batch number 1 Passed
Then I can see the custom job field 'autojobnumberfield' 1 Passed
And I can enter value '123456789' into the custom field 'autojobnumberfield' 1 Passed
And I cannot enter value 'ExampleText' into the job field 'autojobnumberfield' 1 Passed
Given I am logged in as user 'UseCustomJobFieldUser2' 1 Passed
And I have set the first custom job field as 'autousejobfieldold' 1 Passed
And I enter 'customjobfieldjob' into the batch number 1 Passed
And I enter 'autojobfieldnew' into the first custom job field title 1 Passed
And I select 'date' from the custom field 'job' type dropdown 1 Passed
Then I can see the custom job field 'autousejobfieldold' 1 Passed
And I cannot see a date picker on field 'autousejobfieldold' 1 Passed
Given I am logged in as user 'UseCustomSampleFieldUser2' 1 Passed
And I have set the first custom sample field as 'autousesampleold' 1 Passed
And I enter 'customsamplefieldjob' into the batch number 1 Passed
And I enter 'autosamplenew' into the first custom sample field title 1 Passed
Then I can see the custom sample field 'autousesampleold' 1 Passed
Given I am logged in as user 'Clientjobfielduser' 1 Passed
And I select the default client from the job fields drop down 2 Passed
And I enter 'clientjobfield' into the first custom job field title 1 Passed
And I progress a job up to enter results with batchNo 'clientjobfieldjob' and spec '' 2 Passed
Then I can see the custom job field 'clientjobfield' 1 Passed
Given I am logged in as user 'Clientsamplefielduser' 1 Passed
And I select the default client from the sample fields drop down 1 Passed
And I enter 'clientsamplefield' into the first custom sample field title 1 Passed
Then I can see the custom sample field 'clientsamplefield' 1 Passed
Given I am logged in as user 'editdashboarduser' 1 Passed
When I click on the manage dashboard button 11 Passed
And I click to remove the welcome to labhq widget 1 Passed
Then I can no longer see the welcome to labhq widget 1 Passed
Given I am logged in as user 'samplescompletedtodayuser' 1 Passed
And I have progressed the following jobs through the lifecycle process: 6 Passed
And I click to add the 'completed today' widget from the widget gallery 1 Passed
Then I can see the samples completed today widget shows '5' 1 Passed
Given I am logged in as user 'samplescompletedweekuser' 1 Passed
And I click to add the 'completed this week' widget from the widget gallery 1 Passed
Then I can see the samples completed this week widget shows '2' 1 Passed
Given I am logged in as user 'samplesdueweekuser' 1 Passed
And I have progressed a job up to enter results with batchNo 'dueweek' 1 Passed
And I click to add the 'outstanding samples' widget from the widget gallery 1 Passed
Then I can see the outstanding samples widget shows '1' 1 Passed
Given I am logged in as user 'companylogouser' 1 Passed
When I delete the custom logo if one exists 1 Passed
And I navigate to the 'dashboard' page 3 Passed
And I click on the manage dashboard button 12 Passed
And I click to add the 'your logo' widget from the widget gallery 1 Passed
And I click the logo widget to upload my company logo 1 Passed
And I click start in the logo section 4 Passed
And I choose image file 'Logo.png' to upload 2 Passed
And I click the next to edit logo 4 Passed
And I click the next to preview logo 4 Passed
And I click the finish and upload button 4 Passed
And I can see the message of 'Logo updated successfully' 2 Passed
Then I can see the company logo widget shows the company logo image 1 Passed
Given I am logged in as user 'onboardingchecklistuser' 1 Passed
When I navigate to the 'dashboard' page 1 Passed
And I click to add the 'onboarding checklist' widget from the widget gallery 1 Passed
Then I can see the text 'Complete these steps to fully configure your lims environment' 1 Passed
Given I am logged in as user 'samplesontimeuser' 1 Passed
And I click to add the 'completed on time' widget from the widget gallery 1 Passed
Then I can see the samples completed on time widget shows '100%' 1 Passed
Given I am logged in as user 'overduesampleuser' 1 Passed
And I have progressed a job up to enter results with batchNo '123-6' 1 Passed
And I have updated the due date on sample with batch '123-6' to 'yesterday' 1 Passed
And I click to add the 'overdue samples' widget from the widget gallery 1 Passed
Then I can see the sample shows on the overdue samples widget as '1 day overdue' 1 Passed
Given I am logged in as user 'workflowpipelineuser' 1 Passed
And I submit a job with batchNo '123-1' 1 Passed
And I have progressed a job up to enter results with batchNo '123-2' 2 Passed
And I have progressed a job up to approval with batchNo '123-3' and input value '987' 1 Passed
And I click to add the 'workflow pipeline' widget from the widget gallery 1 Passed
Then I can see that there is '1' sample awaiting receipt on the workflow pipeline widget 1 Passed
And I can see there there is '1' sample awaiting testing on the workflow pipeline widget 1 Passed
And I can see there is '1' sample awaiting approval on the workflow pipeline widget 1 Passed
Given I am logged in as user 'approachingduedateuser' 1 Passed
And I have updated the due date on sample with batch '123-2' to 'today' 1 Passed
And I click to add the 'approaching due date (next 48h)' widget from the widget gallery 1 Passed
Then I can see the sample showing on the approaching due date widget with a due date of 'Today' and a status of 'In Test' 1 Passed
Given I am logged in as user 'ooswidgetuser' 1 Passed
And I have progressed a job up to verify with batchNo 'verifyspecresults' and input value '11' and spec 'Default specification' 1 Passed
And I click to add the 'oos monthly count' widget from the widget gallery 1 Passed
Then I can see '1' oos showing on the monthly count 1 Passed
Given I am logged in as user 'activesampinveswidgetuser' 1 Passed
And I have progressed a job up to enter results with batchNo 'inveswidget' 1 Passed
And I click into the investigations section 7 Passed
And I click start investigation 6 Passed
And I can see the message of 'Investigation started successfully' 5 Passed
And I navigate to the 'Dashboard' page 6 Passed
And I click to add the 'active sample investigations' widget from the widget gallery 1 Passed
And I click to add the 'active investigations by age' widget from the widget gallery 1 Passed
Then I can see there is '1' active investigation showing on the active investigations widget 1 Passed
And I can see there is '1' total investigation and average age of '0' on the investigations by age widget 1 Passed
Given I am logged in as user 'medianinveswidgetuser' 1 Passed
And I have progressed a job up to enter results with batchNo 'medianwidget' 1 Passed
And I click to add the 'median time to investigation closure' widget from the widget gallery 1 Passed
Then I can see the median investigation closure time is '0' 1 Passed
Given I am logged in as user 'expiredstockwidgetuser' 1 Passed
When I navigate to the 'Dashboard' page 4 Passed
And I click to add the 'expired stock' widget from the widget gallery 2 Passed
Then I can see there is '1' expired stock batch showing on the expired stock widget 1 Passed
Given I am logged in as user 'stockhealthwidgetuser' 1 Passed
And I click to add the 'stock health' widget from the widget gallery 1 Passed
Then I can see I have '1' low in stock on the stock health widget 1 Passed
Given I am logged in as user 'stockusabilitywidgetuser' 1 Passed
And I click to add the 'stock usability' widget from the widget gallery 2 Passed
Then I can see my total batches of '3' on the stock usability widget 1 Passed
And I can see I have '1' in date, '1' expiring soon and '1' expired stock batches on the stock usability widget 1 Passed
Given I am logged in as user 'stockexpiringsoonwidgetuser' 1 Passed
And I click to add the 'stock expiring soon (next 48h)' widget from the widget gallery 2 Passed
Then I can see my stock 'SESWidget' showing with an expiry of '1 day' on the stock expiring soon widget 1 Passed
Given I am logged in as user 'stockzerowidgetuser' 1 Passed
Then I can see my total batches of '2' on the stock usability widget 1 Passed
And I can see I have '1' in date, '1' expiring soon and '0' expired stock batches on the stock usability widget 1 Passed
And I can see there is '0' expired stock batch showing on the expired stock widget 1 Passed
And I can see my stock 'ZeroWidgetStock' showing with an expiry of '1 day' on the stock expiring soon widget 1 Passed
Given I am logged in as user 'EnterResultsSideBarUser' 1 Passed
When I progress a job up to enter results with batchNo 'EnterResultsSidebar' and spec 'Default specification' 1 Passed
And I click on the 'Enter results' menu item 33 Passed
And I can see the job details displayed 1 Passed
And I click into the first input and enter '123' 3 Passed
And I press enter on the keyboard 15 Passed
Then I can submit the results 1 Passed
Given I am logged in as user 'OptionalInputUser' 1 Passed
And I have created a test method called 'MandatoryTestMethod' with default value of 'value' and is mandatory 1 Passed
And I select edit tests on the create job page and choose test method 'MandatoryTestMethod' 1 Passed
And I click submit and go to next step to submit job with batch 'AutoTest' 8 Passed
And I tick the first sample on the receive samples page 9 Passed
And I click the Receive button 16 Passed
And I drop down the test method 'MandatoryTestMethod' on the enter results page 1 Passed
Then I can see the default value of 'value' on the input 1 Passed
And I can see input 'AutoInput-0' is mandatory 1 Passed
And I can submit the results 1 Passed
Given I am logged in as user 'TrailingZeroUser' 1 Passed
And I have created a test method called 'RoundingTestMethod' with a rounding of 5 1 Passed
And I select edit tests on the create job page and choose test method 'RoundingTestMethod' 1 Passed
And I drop down the test method 'RoundingTestMethod' on the enter results page 1 Passed
And I click into the first input and type '1' on the keyboard 2 Passed
Then I can see '1.00000' in the output field 1 Passed
Given I am logged in as user 'TrailingZeroUser2' 1 Passed
And I have created a test method called 'NoRoundingTestMethod' with a rounding of 0 1 Passed
And I select edit tests on the create job page and choose test method 'NoRoundingTestMethod' 1 Passed
And I drop down the test method 'NoRoundingTestMethod' on the enter results page 1 Passed
Then I can see '1' in the output field 1 Passed
Given I am logged in as user 'HiddenEnterResultsUser' 1 Passed
And I select 'HiddenClient' from the client list 1 Passed
And I enter 'HiddenInput' into the batch number 1 Passed
And I select product 'HiddenProduct' from the list and add a sample 1 Passed
And I ensure that test suite 'HiddenTestSuite' is selected 1 Passed
And I click submit and go to next step to submit job with batch 'HiddenInput' 1 Passed
And I tick to receive all the samples 8 Passed
And I drop down the test method 'HiddenTestMethod1' on the enter results page 1 Passed
And I can see the test method has expanded 1 Passed
Then I cannot see 'AutoInput' 1 Passed
Given I am logged in as user 'EnterResultsDetailsUser' 1 Passed
When I progress a job up to enter results with batchNo 'EnterResultsDetails' and spec 'Default specification' 2 Passed
Then I can see the job details displayed 1 Passed
Given I am logged in as user 'NumInputEnterResultsUser' 1 Passed
And I select 'NumClient' from the client list 1 Passed
And I enter 'NumInput' into the batch number 1 Passed
And I select product 'NumProduct' from the list and add a sample 1 Passed
And I add click the add samples button 11 Passed
And I enter '1' into add samples and click ok 9 Passed
And I ensure that test suite 'NumTestSuite' is selected 1 Passed
And I click submit and go to next step to submit job with batch 'NumInput' 1 Passed
And I drop down the test method 'NumTestMethod1' on the enter results page 1 Passed
And I click into the first input and type 'NotANumber' on the keyboard 1 Passed
Then I can see the first input remains empty 1 Passed
Given I am logged in as user 'EnterEnterResultsUser' 1 Passed
And I enter 'EnterButton' into the batch number 4 Passed
And I click submit and go to next step to submit job with batch 'EnterButton' 4 Passed
And I type number '1' on the keyboard 2 Passed
And I press arrow up on the keyboard 2 Passed
Then I can see the 'second' input contains '1' 2 Passed
Given I am logged in as user 'ArrowNavEnterResultsUser' 1 Passed
And I press arrow down on the keyboard 6 Passed
Given I am logged in as user 'ListEnterNavEnterResultsUser' 1 Passed
And I have created a default list 5 Passed
And I select 'ListClient' from the client list 1 Passed
And I select product 'ListProduct' from the list and add a sample 1 Passed
And I ensure that test suite 'ListTestSuite' is selected 1 Passed
And I drop down the test method 'ListTestMethod1' on the enter results page 1 Passed
And I click into the first input 1 Passed
Then I can see the first list input contains 'False' 1 Passed
And I can see the second list input contains 'True' 1 Passed
Given I am logged in as user 'ReasonTestInputUser' 1 Passed
And I have enabled the require reason for change setting 1 Passed
When I have progressed a job up to verify with batchNo 'ReasonTestInput' and input value '2' and spec 'Default specification' 1 Passed
And I click into the first input and enter '9' 4 Passed
And I click the cancel button 1 Passed
Then I can see the 'first' input contains '2' 1 Passed
Given I am logged in as user 'CorrectOutputUser' 1 Passed
And I click into the first input and enter '200' 1 Passed
And I click into the first input and enter '100' 1 Passed
Then I can see '100.0' in the output field 1 Passed
Given I am logged in as user 'EnterResultNotReceivedUser' 1 Passed
When I submit a job with batchNo 'EnterResultNotReceived' 1 Passed
Given I am logged in as user 'NewTestExistingJobUser' 1 Passed
And I have created a test method called 'NewTestTestMethod' 1 Passed
And I have progressed a job up to enter results with batchNo 'NewTestExistingJob' 1 Passed
And I click edit tests on the sample viewer 5 Passed
And I click the select test method drop down 5 Passed
And I click on 'NewTestTestMethod (v1)' 1 Passed
And I add 1 of these tests to the job 2 Passed
And I can see the message of 'Tests added successfully' 4 Passed
Then I can see 'NewTestTestMethod' 1 Passed
Given I am logged in as user 'clientFilterEnterUser' 1 Passed
And I have created the user 'spareEnterUser' 1 Passed
And I have progressed a job up to enter results with batchNo 'TestBatch123' 4 Passed
And I have navigated to the 'Enter results' page 1 Passed
Given I am logged in as user 'ERStockUser' 1 Passed
And I have progressed a job up to enter results with batchNo 'ERStock' 1 Passed
And I click on the edit test method button for test method 'ERSTockTM' on the test method page 1 Passed
And I click the related stock items button 4 Passed
And I select stock item 'ERStock' from the dual list and a quantity of '15' 1 Passed
And I click to save test method 'ERSTockTM' 1 Passed
And I can see the message of 'Stock items updated successfully' 3 Passed
And I select add stock for the first test 3 Passed
And I choose stock batch 'ERB987' for stock item 'ERStock' 1 Passed
And I enter a quantity of '15' 2 Passed
And I click the add button 3 Passed
And I can see the message of 'Current Usage: 15 / 15 g' 2 Passed
And I can see the message of 'Batches saved successfully.' 2 Passed
And I click on the 'Stock' menu item 3 Passed
Given I am logged in as user 'createequipmentuser' 1 Passed
When I click on the 'Equipment' menu item 13 Passed
And I click on the 'Equipment Items' menu item 7 Passed
And I click on the Create equipment item button 6 Passed
And I populate the equipment form with the following: 7 Passed
Then I can see the message of 'Equipment item CreateEquip created successfully' 1 Passed
And I can see the following data in the equipment list table: 1 Passed
Given I am logged in as user 'editequipmentuser' 1 Passed
And I can see the message of 'Equipment item CreateEquip2 created successfully' 1 Passed
And I click on equipment item 'CreateEquip2' 1 Passed
And I can see the message of 'Equipment item EditEquip updated successfully' 1 Passed
Then I can see the following data in the equipment list table: 1 Passed
Given I am logged in as user 'decomequipmentuser' 1 Passed
And I can see the message of 'Equipment item DecomEquip created successfully' 1 Passed
And I click the menu button for equipment 'DecomEquip' 1 Passed
And I click on the decommission button 1 Passed
Then I can see the message of 'Equipment item decommissioned' 1 Passed
And I can no longer see the equipment item 'DecomEquip' in the list 1 Passed
And I can see equipment item 'DecomEquip' showing as decommissioned when I tick to show decommissioned 1 Passed
Given I am logged in as user 'deleteeventuser' 1 Passed
And I click on the Maintenance tab 5 Passed
And I click on the add maintenance event button 3 Passed
And I populate the maintenance event form with the following: 1 Passed
Then I can see the message of 'Equipment item MainEquip created successfully' 1 Passed
And I can see '1' maintenance event showing on the tab 1 Passed
And I delete event number '1' 2 Passed
And I can see '0' maintenance event showing on the tab 2 Passed
Given I am logged in as user 'viewcaleventuser' 1 Passed
And I have created equipment item 'CalViewEquip' and event called 'CalViewSchedule' 1 Passed
And I click on the 'Maintenance' menu item 6 Passed
And I 'can' see the maintenance event for equipment 'CalViewEquip' called 'CalViewSchedule' 1 Passed
And I click on equipment item 'CalViewEquip' 1 Passed
And I can see the message of 'Equipment item CalViewEquip updated successfully' 1 Passed
Then I 'cannot' see the maintenance event for equipment 'CalViewEquip' called 'CalViewSchedule' 1 Passed
Given I am logged in as user 'overduecaleventuser' 1 Passed
And I add a Service event schedule called 'CalOverdueSchedule' starting yesterday with a frequency of '30' 1 Passed
And I can see the message of 'Equipment item CalOverdueEquip created successfully' 1 Passed
Then I can see the overdue maintenance event for equipment 'CalOverdueEquip' called 'CalOverdueSchedule' 1 Passed
Given I am logged in as user 'eventequipfilteruser' 1 Passed
And I add a Service event schedule called 'FilterEvent' starting today with a frequency of '40' 1 Passed
And I can see the message of 'Equipment item FilterEquip created successfully' 1 Passed
Then I 'can' see the maintenance event for equipment 'FilterEquip' called 'FilterEvent' 1 Passed
And I set the maintenance event filter to show only 'Calibration' events 1 Passed
And I can no longer see equipment item 'FilterEquip' event 'FilterEvent' 1 Passed
Given I am logged in as user 'progresseventuser' 2 Passed
And I have created equipment item '<equipName>' and event called 'Progress Schedule' 2 Passed
And I click on the event 'Progress Schedule' for equipment item '<equipName>' 2 Passed
And I can see the event status is 'Planned' 2 Passed
And I click set in progress 2 Passed
And I can see the event status is 'In progress' 2 Passed
And I select '<status>' maintenance event 2 Passed
And I can see the event status is 'Completed' 2 Passed
And I can see the outcome is '<status>' 2 Passed
And I select approve maintenance event 2 Passed
Then I can see the event status is 'Approved' 2 Passed
Given I am logged in as user 'Expiredstockuser' 1 Passed
Then I can see the following batch of expired stock showing here: 2 Passed
Given I am logged in as user 'Disposestockuser' 1 Passed
And I click to dispose stock batch 'DIS123' 1 Passed
Then I can see the message of 'Stock batch disposed successfully' 1 Passed
And I can no longer see stock item 'DisposeStock' showing here 1 Passed
Given I am logged in as user 'ExpiringSoonstockuser' 1 Passed
And I click on expiring soon 1 Passed
Given I am logged in as user 'Batchstockuser' 1 Passed
And I can see the following stock item showing here: 1 Passed
And I click on stock item 'BatchStock' 2 Passed
And I can see the message of 'Available Batches' 1 Passed
And I can see the following information on the batch pop up: 1 Passed
And I can click the edit button for batch 'BAT987' 1 Passed
And I enter 'UpdateBatch' in the batch input 1 Passed
And I enter the expiry date for 'yesterday' 1 Passed
And I click the update batch button 1 Passed
And I can see the message of 'Stock updated successfully' 1 Passed
Then I can see the following information on the batch pop up: 1 Passed
Given I am logged in as user 'startinvestigationuser' 1 Passed
And I have progressed a job up to enter results with batchNo 'investigationstart' 1 Passed
And I enter the following investigation details: 3 Passed
Then I can see the message of 'Investigation started successfully' 1 Passed
And I can see the following information on the sample investigation 2 Passed
And the investigation status is 'Active' 1 Passed
Given I am logged in as user 'viewinvestigationuser2' 1 Passed
And I have progressed a job up to enter results with batchNo 'investigationView' 1 Passed
Then I can see an investigation icon on the sample 1 Passed
And I can see an investigation icon on the job 1 Passed
Given I am logged in as user 'closeinvestigationuser' 1 Passed
And I have progressed a job up to enter results with batchNo 'investigationclose' 1 Passed
And I click close investigation 1 Passed
And I enter 'resolved' into the resolution field 1 Passed
And the investigation status is 'Closing' 1 Passed
Then I can see the message of 'Investigation closed successfully' 1 Passed
And the investigation status is 'Closed' 1 Passed
And I can not see an investigation icon on the sample 1 Passed
And I can not see an investigation icon on the job 1 Passed
Given I am logged in as user 'editinvestigationuser' 1 Passed
And I have progressed a job up to enter results with batchNo 'investigationedit' 1 Passed
Then I can see the message of 'Investigation updated successfully' 1 Passed
Given I am logged in as user 'SearchJobUser' 1 Passed
And I have progressed a job up to enter results with batchNo 'SearchJob' 1 Passed
And I click on the 'job' menu item 4 Passed
And I can see the message of 'No jobs found. Please refine your search' 3 Passed
And I enter 'SearchJob' into the search box 1 Passed
Then The job 'SearchJob' shows on the job viewer 1 Passed
Given I am logged in as user 'StatusJobUser' 1 Passed
And I have progressed a job up to enter results with batchNo 'StatusFilterJob' 1 Passed
And I select 'Approved' on the status filter 2 Passed
And I select 'In Test' on the status filter 1 Passed
Then The job 'StatusFilterJob' shows on the job viewer 1 Passed
Given I am logged in as user 'SortJobUser' 1 Passed
When I progress a job up to approval with batchNo 'resetjobfilter' and input value '2345' and spec 'Default specification' 1 Passed
And I refresh the page 12 Passed
And I click the reset filters button 1 Passed
Then The job 'resetjobfilter' shows on the job viewer 1 Passed
Given I am logged in as user 'SampleViewUser' 1 Passed
And I have progressed a job up to enter results with batchNo 'SampleView' 1 Passed
And I click on the 'sample' menu item 3 Passed
Then The sample 'SampleView' shows on the sample viewer 1 Passed
Given I am logged in as user 'SampleSearchUser' 2 Passed
And I have progressed a job up to enter results with batchNo 'SampleSearch' 1 Passed
And I can see the message of 'No samples found. ' 1 Passed
And I enter 'SampleSearch' into the search box 1 Passed
Then The sample 'SampleSearch' shows on the sample viewer 1 Passed
And I have progressed a job up to enter results with batchNo 'SampleProduct' 1 Passed
And I select 'clientFilterProduct' in the product filter 1 Passed
Then I cannot see job with batch 'SampleProduct' on the job viewer 1 Passed
And The sample 'FilterOutBatch' shows on the sample viewer 1 Passed
Given I am logged in as user 'clientFilterUser' 1 Passed
And I have created the user 'spareUser' 1 Passed
Then I cannot see client 'clientFilterClient' in the client filter 1 Passed
And I cannot see job with batch 'NoAccessBatch' on the job viewer 1 Passed
Given I am logged in as user 'DownloadJobCertUser' 1 Passed
And I have progressed a job through the lifecycle process with batchNo 'jobcert' and input value '234' 1 Passed
And I click on the Job certificate button 9 Passed
Then I can see a file has downloaded 2 Passed
Given I am logged in as user 'DlJobCertAppUser' 1 Passed
When I progress a job up to approval with batchNo 'appjobcert' and input value '123' and spec 'Default specification' 1 Passed
And I navigate to the 'Approve samples' page 2 Passed
Then I cannot see the draft job certificate button 1 Passed
And I can see a file has downloaded 5 Passed
Given I am logged in as user 'DlDraftJobCertAppUser' 1 Passed
When I progress a job up to approval with batchNo 'drafappjobcert' and input value '123' and spec 'Default specification' 1 Passed
Then I can see 'Draft Job certificate' 2 Passed
Given I am logged in as user 'DownloadDraftJobCertUser' 1 Passed
And I enter 'jobcert' into the batch number 2 Passed
And I click submit and go to next step to submit job with batch 'jobcert' 2 Passed
And I enter '123' into the default input and submit the results 4 Passed
And I click on the 'Verify tests' menu item 6 Passed
And I tick then verify the results 3 Passed
Given I am logged in as user 'CannotDownloadJobCertUser' 1 Passed
Then I cannot see the job certificate button 1 Passed
Given I am logged in as user 'PrintJobCertUser' 1 Passed
And I have progressed a job through the lifecycle process with batchNo '123' and input value '123' 6 Passed
When I click on the 'administration' menu item 3 Passed
And I click on the 'report settings' menu item 15 Passed
And I click on the JobCertificate tab 2 Passed
And I upload template 'JobCertificate' 1 Passed
And I upload template 'JobCertificate2' 1 Passed
Then I can see my new template is selected by default 2 Passed
And I can select a custom template 2 Passed
And I click on the 'administration' menu item 3 Passed
And I can no longer see the templates when I delete them 3 Passed
Given I am logged in as user 'JobCertificateAttachmentUser' 1 Passed
And I can see the message of 'Job certificate has been uploaded to the job attachments' 4 Passed
Then I can see the job certificate attachment showing here 1 Passed
Given I am logged in as user 'JobCertificateReturnExistingUser' 1 Passed
Then I can see the message of 'Job certificate has been downloaded from job attachments' 1 Passed
Given I am logged in as user 'RegenJobCertificateUser' 1 Passed
And I wait for the message 'Job certificate has been uploaded to the job attachments' to dissapear 1 Passed
And I click the job options button 3 Passed
And I click on regenerate job certificate button 1 Passed
And I can see the message of 'Regenerating will retrieve the latest available data and create a new report.' 2 Passed
Then I can see both certificates showing here 2 Passed
Given I am logged in as user 'CreateJobSummaryUser' 1 Passed
And I enter 'AutoTestSummary' into the batch number 2 Passed
Then I can see the submission summary is downloaded when I click the job summary button 1 Passed
Given I am logged in as user 'jobsummaryattachmentUser' 1 Passed
When I submit a job with batchNo 'jobsummaryattachment' 1 Passed
Then I can see the job summary attachment showing here 1 Passed
Given I am logged in as user 'NewSampleExistingJobUser' 1 Passed
And I have created a test method called 'NewSampleTestMethod' 1 Passed
And I have progressed a job up to enter results with batchNo 'NewSampleExistingJob' 1 Passed
And I click the add sample button 1 Passed
And I select the default product and test suite 1 Passed
Then I can see the message of 'Sample added successfully' 1 Passed
And I can see the new sample 1 Passed
Given I am logged in as user 'labelsettingsuser' 1 Passed
When I click on the 'Administration' menu item 75 Passed
And I click on the 'More settings' menu item 3 Passed
And I click on the label settings configure button 2 Passed
And I edit the template configuration with the following: 1 Passed
And I click the save button 51 Passed
Then I can see the message of 'Label settings saved successfully' 1 Passed
Given I am logged in as user 'labelsettingrevertsuser' 1 Passed
And I enter 'TESTCODE' into the zpl input box 1 Passed
And I can see the message of 'Label settings saved successfully' 2 Passed
And I can see the zpl input contains 'TESTCODE' 1 Passed
And I click on the revert button 1 Passed
Then I can see the default template is loaded back 1 Passed
Given I am logged in as user 'lifecycleProcessUser' 1 Passed
Then I can see the job 'AutoTest' on the job viewer 1 Passed
Given I am logged in as user 'lifecycleProcessUser2' 1 Passed
And I enter 'SampleTest' into the batch number 3 Passed
And I click submit and go to next step to submit job with batch 'SampleTest' 4 Passed
Then I can see the job 'SampleTest' on the job viewer 1 Passed
Given I am logged in as user 'NewListUser' 1 Passed
And I click on the 'Lists' menu item 2 Passed
And I click here to create a new list 1 Passed
And I name the list 'AutoNewList' 1 Passed
And I add a first list entry with a name of 'entry 1' and description of 'The first automated list entry' 1 Passed
And I click the create button 4 Passed
Then I can see the message of 'List has been created successfully' 1 Passed
And I can see the list 'AutoNewList' in the drop down 1 Passed
Given I am logged in as user 'EditListUser' 1 Passed
And I have created a list 'newautolist' with an entry of 'One' and description of 'This is one' 1 Passed
And I select the created list from the drop down 1 Passed
And I click the new entry button 1 Passed
And I add a second list entry with a name of 'Two' and description of 'This is two' 1 Passed
Then I can see the message of 'List has been updated successfully' 1 Passed
And I can see a second list entry with a name of 'Two' and description of 'This is two' after I refresh the page 1 Passed
Given I have created the user 'LoginUser' 1 Passed
And I navigate to LabHQ 8 Passed
When I enter my credentials to log in to user 'LoginUser' 1 Passed
Then I am logged into LabHQ 2 Passed
Given I have created the user 'WrongPassUser' 1 Passed
When I enter username 'WrongPassUser' and password of 'Password' 1 Passed
Then I can see the message of 'Invalid username or password.' 1 Passed
Given I have created the user 'PassChangeUser' 1 Passed
When I enter my credentials to log in to user 'PassChangeUser' 1 Passed
And I click on the my account button 4 Passed
And I click on Change password 3 Passed
And I change my password to 'NewDetails123!' 1 Passed
And I enter username 'PassChangeUser' and password of 'NewDetails123!' to log in 1 Passed
Given I have created the user 'DisabledAccountUser' 1 Passed
When I enter my username 'DisabledAccountUser' and password 'Password', '10' times 1 Passed
And I enter my credentials for user 'DisabledAccountUser' 1 Passed
Then I can see the message of 'Account is temporarily disabled; contact your administrator or retry later.' 1 Passed
Given I have created the user 'LogOutUser' 1 Passed
When I enter my credentials to log in to user 'LogOutUser' 1 Passed
Then I can see the login page 1 Passed
Given I have created the user 'StrongPassUser' 1 Passed
When I navigate to LabHQ 1 Passed
And I enter my credentials to log in to user 'StrongPassUser' 1 Passed
And I change my password to 'notstrong' 1 Passed
Then I can see the message of 'Invalid password: must contain at least 1 special characters.' 1 Passed
Given I have created the user 'PasswordHistoryUser' 1 Passed
When I enter my credentials to log in to user 'PasswordHistoryUser' 1 Passed
And I change my password to my old password 1 Passed
Then I can see the message of 'Invalid password: must not be equal to any of last 5 passwords.' 1 Passed
Given I have created the user 'DisabledAccount' 1 Passed
And I am logged in as user 'DisableUserAccount' 1 Passed
And I click on the 'User accounts' menu item 56 Passed
And I click on options for user 'disabledaccount' 1 Passed
And I click on disable account 2 Passed
And I can see the message of 'disabledaccount has been disabled' 1 Passed
And I enter my credentials for user 'disabledaccount' 1 Passed
Then I can see the message of 'Account is disabled, contact your administrator.' 1 Passed
Given I have created the user 'WrongOrgUser' 1 Passed
When I enter my credentials to log in to user 'WrongOrgUser' 1 Passed
Then I cannot see the switch organisation menu item in my account 1 Passed
And I cannot see the switch organisation icon in the header 1 Passed
Given I have created the user 'RedirectOrgUser' 1 Passed
When I enter my credentials to log in to user 'RedirectOrgUser' 1 Passed
And I navigate to the submit job page of another organisation 1 Passed
Then I can see the organisation select page 1 Passed
And I can only see my organisation 1 Passed
Given I am logged in as user 'AppMfaUser' 1 Passed
When I click on the my account button 1 Passed
And I select 'App' on the MFA drop down 1 Passed
And I can see the message of 'MFA updated successfully' 1 Passed
And I enter my credentials for user 'AppMfaUser' 1 Passed
Then I can see the setup page for MFA application authorisation 1 Passed
Given I am logged in as user 'ManageWorkNotReceivedUser' 1 Passed
When I submit a job with batchNo 'ManageWorkNotReceived' 1 Passed
And I click on the 'Resources' menu item 7 Passed
And I click on the 'Manage work' menu item 13 Passed
And I select only the default client from the client filter 10 Passed
Then I cannot see the job at manage work 2 Passed
And I can see the message of 'No jobs, please check back later.' 3 Passed
Given I am logged in as user 'ManageWorkResultsSubmittedUser' 1 Passed
When I progress a job up to verify with batchNo 'ManageWorkSubmitted' and input value '6' and spec 'Default specification' 1 Passed
Given I am logged in as user 'CreateWorkbookUser' 1 Passed
And I have progressed a job up to enter results with batchNo 'CreateWorkbook' 1 Passed
When I click on the 'Resources' menu item 6 Passed
And I select the job with batch 'CreateWorkbook' at manage work 1 Passed
And I click on create workbook button 9 Passed
Then I can see the created message 6 Passed
And I am given a workbook ID 5 Passed
And I press the create new workbook button 5 Passed
And I cannot see the job with batch 'CreateWorkbook' at manage work 1 Passed
Given I am logged in as user 'ViewWorkbookUser' 1 Passed
And I have progressed a job up to enter results with batchNo 'ViewWorkbook' 1 Passed
And I select the job with batch 'ViewWorkbook' at manage work 1 Passed
And I can see the workbook when I click to go to the view workbooks page 2 Passed
And I click on the re-download workbook button 1 Passed
Given I am logged in as user 'DownloadWorkbookUser' 1 Passed
And I have progressed a job up to enter results with batchNo 'DownloadWorkbook' 3 Passed
And I select the job with batch 'DownloadWorkbook' at manage work 3 Passed
And I click on the download workbook button 1 Passed
Given I am logged in as user 'CreateMultipleWorkbookUser' 1 Passed
And I have progressed a job up to enter results with batchNo 'CreateWorkbook1' 1 Passed
And I have progressed a job up to enter results with batchNo 'CreateWorkbook2' 1 Passed
And I select the job with batch 'CreateWorkbook1' at manage work 1 Passed
And I select the job with batch 'CreateWorkbook2' at manage work 1 Passed
And I cannot see the job with batch 'CreateWorkbook1' at manage work 1 Passed
And I cannot see the job with batch 'CreateWorkbook2' at manage work 1 Passed
Given I am logged in as user 'CannotCreateWorkbookUser' 1 Passed
And I have progressed a job up to enter results with batchNo 'CannotCreateWorkbook' 1 Passed
And I select the job with batch 'CannotCreateWorkbook' at manage work 1 Passed
And I can see the created message 4 Passed
Then I cannot check the job with batch 'CannotCreateWorkbook' again 1 Passed
Given I am logged in as user 'CreateWorkbookAddedTestsUser' 1 Passed
And I have progressed a job up to enter results with batchNo 'CreateWorkbookTwice' 1 Passed
And I select the job with batch 'CreateWorkbookTwice' at manage work 2 Passed
And I cannot see the job with batch 'CreateWorkbookTwice' at manage work 1 Passed
And I click on 'AutoTestMethod (v1)' 1 Passed
Then I click on create workbook button 1 Passed
And I am given another workbook ID that is sequential 1 Passed
And I cannot see the job at manage work 1 Passed
Given I am logged in as user 'clientFilterManageWorkUser' 1 Passed
And I have created the user 'spareManageWorkUser' 1 Passed
Then I cannot see client 'manageWorkClient' in the manage work client filter 1 Passed
And I can see the job with batch 'TestBatch123' at manage work 1 Passed
And I cannot see the job with batch 'NoAccessBatch' at manage work 1 Passed
Given I am logged in as user 'clientFilterViewWorkUser' 1 Passed
And I select client 'manageWorkClient' in the manage work client filter 1 Passed
And I select the job with batch 'ClientFilterBatch' at manage work 1 Passed
Then I can not see the workbook when I click to go to the view workbooks page 1 Passed
Given I am logged in as user 'SupportSiteUser1' 1 Passed
When I click the User Guide menu option 1 Passed
Then I am navigated to the help site dashboard 2 Passed
Given I am logged in as user 'SupportSiteUser2' 1 Passed
When I click the About icon in the header 1 Passed
Then I click the User Guide link 1 Passed
Given I am logged in as user 'UpdateCompanyAddressUser' 1 Passed
And I click on the 'Organization' menu item 5 Passed
And I enter the following address information: 1 Passed
Then I can see the message of 'Address updated successfully' 1 Passed
And I can see the following information in the address section: 1 Passed
Given I am logged in as user 'NewLogoUser' 2 Passed
And I choose image file '<fileName>' to upload 2 Passed
Then I can see the message of 'Logo updated successfully' 2 Passed
And I can see the custom logo in the header 2 Passed
Given I am logged in as user 'NewLogoUser2' 1 Passed
And I click remove current logo 1 Passed
Then I can see the message of 'Logo removed successfully' 1 Passed
And I can see the deault labhq logo is displayed again 1 Passed
Given I am logged in as user 'FailSpecOOSUser' 1 Passed
When I click on product 'FailSpecOOSProduct' on the products page 1 Passed
And I click the publish button for product 'FailSpecOOSProduct' 1 Passed
And I click on the 'Analytics' menu item 4 Passed
And I click on the 'OOS results' menu item 4 Passed
Then I can see the message of 'Out of Specification Results by Product' 1 Passed
And The OOS Graph is displayed 1 Passed
And I can see the oos results by product chart shows correctly 1 Passed
Given I am logged in as user 'FailSpecOOSTMUser' 1 Passed
When I click on product 'FailSpecOOSTMProduct' on the products page 1 Passed
And I click the publish button for product 'FailSpecOOSTMProduct' 1 Passed
And I select product 'FailSpecOOSTMProduct' from the oos results product selection drop down 1 Passed
Then I can see the oos results by test method graph is displayed 1 Passed
And I can see the oos results by test method chart shows correctly 1 Passed
Given I am logged in as user 'NoFailSpecOOSTMUser' 1 Passed
When I click on the 'Analytics' menu item 6 Passed
And I can see the message of 'Select a Product to view a summary of the out of specification Results.' 1 Passed
Then I can see the oos results by test method graph is not displayed 1 Passed
Given I am logged in as user 'NoFailSpecOOSUser' 1 Passed
Then I can see the message of 'No Results out of specification since' 1 Passed
And The OOS Graph is not displayed 1 Passed
Given I am logged in as user 'RevokeExternalUser' 1 Passed
And I have created a client called 'AddExternalClient' 1 Passed
And I click on client 'AddExternalClient' on the clients page 1 Passed
And I click add new user 5 Passed
And I enter user email 'invite@portal' 1 Passed
And I click on the menu for external user 'invite@portal' 1 Passed
And I click on revoke access 1 Passed
And I can see the message of 'The following external users will have their access to the Portal revoked and their notifications disabled:' 1 Passed
Then I can no longer see the external user 'invite@portal' in the list 1 Passed
Given I am logged in as user 'ResendExternalUser' 2 Passed
And I have created a client called 'ResendExternalClient' 1 Passed
And I click on client 'ResendExternalClient' on the clients page 1 Passed
And I enter user email 'resend@portal' 1 Passed
And I click on the menu for external user 'resend@portal' 1 Passed
And I click on resend invite 2 Passed
Then I can see the message of 'Invitation email resent to resend@portal.' 1 Passed
And I have created a client called 'ResendFailExternalClient' 1 Passed
And I click on client 'ResendFailExternalClient' on the clients page 1 Passed
And I enter user email 'resendfail@portal' 1 Passed
And I have accepted the invite for external user 'resendfail@portal' 1 Passed
And I click on the menu for external user 'resendfail@portal' 1 Passed
Then I can see the message of 'User has already accepted an invitation.' 1 Passed
Given The organisation subscription tier is set to '<tier>' 14 Passed
And I am logged in as user 'portaltier' 2 Passed
And I enter user email '<user>' 2 Passed
And I click on the menu for external user '<user>' 2 Passed
Then I can see 'Delete' 2 Passed
And I cannot see the resend invite option 2 Passed
And I can see the message of 'For external stakeholders receiving notifications' 2 Passed
Given I am logged in as user 'productattachmentmanageuser' 1 Passed
And I click on product 'ProductAttachmentProduct' on the products page 1 Passed
Then I can see the message of 'Uploaded Logo.png to product: ProductAttachmentProduct' 1 Passed
When I click on options for the added attachment 1 Passed
Then I can see the message of 'Logo.png deleted from product: ProductAttachmentProduct' 1 Passed
Given I am logged in as user 'productattachmentlifecycleuser' 1 Passed
And I click on product 'ProductLifecycleProduct' on the products page 1 Passed
And I can see the message of 'Uploaded Logo.png to product: ProductLifecycleProduct' 1 Passed
And I enter 'ProductLifecycleAttachBatch' into the batch number 1 Passed
And I select product 'ProductLifecycleProduct' from the list and add a sample 1 Passed
And I click on the 'Receive samples' menu item 2 Passed
And I click on 'ProductLifecycleProduct (v1)' 1 Passed
Then I can see 'ATTACHMENTS' 1 Passed
And I can see 'Logo.png' 1 Passed
Given I am logged in as user 'CreateProductUser' 1 Passed
And I click the Create product button 1 Passed
And I enter 'Test product' in the name field 1 Passed
And I add the default related suite to the product 1 Passed
And I click on related clients button 2 Passed
And I copy across the default client from the available list 1 Passed
Then I can see the message of 'Product created successfully' 1 Passed
Given I am logged in as user 'productclientuser' 1 Passed
And I click on the default product on the products page 6 Passed
And I click on the default client from the selected list 1 Passed
Then I can see the client name on the client edit page 1 Passed
Given I am logged in as user 'producttestsuiteuser' 1 Passed
And I click on related test suites button 7 Passed
And I click on the default test suite from the selected item list 2 Passed
Then I can see the test suite name on the test suite edit page 2 Passed
Given I am logged in as user 'SearchProductUser' 1 Passed
And I am on the products page 1 Passed
And I can see the message of 'No products found' 1 Passed
And I enter 'SearchProductProduct' into the search box 1 Passed
Then I can see product 'SearchProductProduct' in the list 1 Passed
Given I am logged in as user 'editProductUser' 1 Passed
And I click on product 'editProductProduct' on the products page 1 Passed
And I enter 'newProductName' in the name field 1 Passed
And I navigate to the 'products' page 1 Passed
And I enter 'newProductName' into the search box 1 Passed
Then I can see product 'newProductName' in the list 1 Passed
Given I am logged in as user 'DeleteProductUser' 1 Passed
And I click on options and delete the product 'ProductProduct' 1 Passed
And I can see the message of 'Deleting product ProductProduct' 1 Passed
Then I can see a message advising me this will affect 'ProductDeleteTestSuite' 1 Passed
And I can see the message of 'Product deleted successfully' 1 Passed
And I can see that the product 'ProductProduct' has been deleted 1 Passed
Given I am logged in as user 'outputorderuser' 1 Passed
When I click on product 'OrderProduct' on the products page 1 Passed
And I enter 'TMOutputUser' into the specification description 3 Passed
And I click the default spec options 10 Passed
And I click on test method output order button 2 Passed
And I move 'output-1' above 'output-2' 1 Passed
And I click the publish button for product 'OrderProduct' 1 Passed
Then I can see that test method output 'output-2' is at the top 1 Passed
Given I am logged in as user 'cloneproductuser' 1 Passed
When I click on product 'Clone this product' on the products page 2 Passed
And I enter 'Is this still here?' into the product description 2 Passed
And I select 'Equals' from the operator drop down 13 Passed
And I enter '2' in the target 4 Passed
And I click the publish button for product 'Clone this product' 2 Passed
And I click on product 'Clone this product' options 2 Passed
And I click on the clone button 3 Passed
And I enter 'clonedproduct' into the product clone pop up 2 Passed
And I click to view product 'clonedproduct' 2 Passed
And I click the publish button for product 'clonedproduct' 1 Passed
And I can see the message of 'Product published successfully' 2 Passed
Then I can see 'Specification: Equals 2' in the output spec summary 1 Passed
And The product description shows 'Is this still here?' 1 Passed
Given I am logged in as user 'viewProductUser' 1 Passed
And I click on product 'ViewProductProduct' on the products page 1 Passed
And I enter 'View product description' into the product description 1 Passed
And I click to view product 'ViewProductProduct' 1 Passed
Then I can see product 'ViewProductProduct' on the product view page 1 Passed
And The product view details show description 'View product description' 1 Passed
Given I am logged in as user 'cloneproductuser2' 1 Passed
And I click on the 'Setup' menu item 11 Passed
And I click on options and delete the test method 'CloneProductTestMethod1' 1 Passed
And I can see the message of 'Deleting test method CloneProductTestMethod1' 1 Passed
Then I can see 'Edit clonedproduct' 1 Passed
And I can see test method 'CloneProductTestMethod1' in the specification section 1 Passed
And I can see the publish product button is not visible 2 Passed
Given I am logged in as user 'unpublishedTMonProductUser' 1 Passed
And I have created a test method called 'unPublishedVersionTestMethod' 1 Passed
And I click on the edit test method button for test method 'unPublishedVersionTestMethod' on the test method page 1 Passed
And I copy across the default test suite from the available list 4 Passed
And I enter 'Set to draft' in the workbook notes field 1 Passed
Then I can see test method 'unPublishedVersionTestMethod' showing as draft in the specification section 1 Passed
Given I am logged in as user 'DeleteProductSuiteUser' 1 Passed
And I click on the 'Test suites' menu item 10 Passed
And I click on options and delete the default test suite 1 Passed
And I can see the message of 'This test suite will be unassigned from test method:' 1 Passed
And I can see the message of 'Test suite deleted successfully' 2 Passed
Then I can see the default test method and its output appear in the specification section 1 Passed
And the default test method no longer shows when I resync the product 1 Passed
Given I am logged in as user 'DeleteProductTMUser' 1 Passed
And I click on product 'DeleteTMProduct' on the products page 2 Passed
And I click the publish button for product 'DeleteTMProduct' 1 Passed
And I click on options and delete the test method 'DeleteTestMethod' 2 Passed
And I can see the message of 'Deleting test method DeleteTestMethod' 2 Passed
Then I can see test method 'DeleteTestMethod' and its output appear in the specification section 1 Passed
And test method 'DeleteTestMethod' no longer shows when I resync the product 1 Passed
Given I am logged in as user '2dspecproductuser' 1 Passed
When I click on product 'Approve2DSpecProduct' on the products page 1 Passed
And I select 'Within' from the operator drop down 3 Passed
And I enter the following into the coordinates inputs: 3 Passed
Then I can see 'Specification: Within: (0.355,0.355), (0.305,0.305), (0.285,0.325), (0.335,0.375)' in the output spec summary 1 Passed
Given I am logged in as user 'ReceiveSampleUser' 1 Passed
Then I can see the message of 'Samples received successfully' 1 Passed
Given I am logged in as user 'EnterResultsUser' 1 Passed
And I enter '123' into the default input 1 Passed
Then I can see '123.0' in the output field 1 Passed
Given I am logged in as user 'SelectSpecUser' 1 Passed
And I enter 'SelectSpec' into the batch number 1 Passed
And I click submit and go to next step to submit job with batch 'SelectSpec' 1 Passed
Then I can see the specification 'Default specification' is already selected 1 Passed
Given I am logged in as user 'SelectNoSpecUser' 1 Passed
And I enter 'SelectNoSpec' into the batch number 1 Passed
And I click submit and go to next step to submit job with batch 'SelectNoSpec' 1 Passed
And I select spec 'No specification' from the drop down 1 Passed
Then I can see the spec for the sample has been updated 1 Passed
Given I am logged in as user 'clientFilterReceiveUser' 1 Passed
And I have created the user 'spareReceiveUser' 1 Passed
And I submit a job with batchNo 'TestBatch123' 1 Passed
And I have navigated to the 'Receive samples' page 1 Passed
Given I am logged in as user 'Receivestockuser' 1 Passed
And I click on the 'Receive stock' menu item 6 Passed
And I click the receive stock button 10 Passed
And I populate the receive stock form with the following: 5 Passed
Then I can see the message of 'Stock received successfully' 1 Passed
And I can see the following in the list of recently received: 1 Passed
Given I am logged in as user 'Submitstockuser' 1 Passed
And I populate the testing details form with the default product and test suite 4 Passed
And I can see the message of 'Job submitted successfully' 4 Passed
Then I click on the view sample link to be taken to the submitted sample for stock batch 'Sub976' 1 Passed
And I can see the following details on the sample viewer: 1 Passed
Given I am logged in as user 'receivesamplestockuser' 1 Passed
And I receive the job with batch 'SubRec876' 1 Passed
Then I can see the following in the list of recently received: 3 Passed
Given I am logged in as user 'approvesamplestockuser' 2 Passed
And I progress the submitted job with batch '<batch>' to approval with input value '<value>' 2 Passed
And I click on the <reportType> tab 9 Passed
And I upload template '<reportType>' 3 Passed
Then I can see the file showing in the <reportType> custom templates 3 Passed
And I can see the <reportType> template downloads when I click on it 3 Passed
And I can no longer see the <reportType> when I click the context menu and delete it 3 Passed
And I upload an unsupported file 3 Passed
Then I can see the message of 'Invalid file type. Supported types: .docx, .odt' 3 Passed
Then I can see the template downloads when I click the download <reportType> template button 3 Passed
Given I am logged in as user 'EnterResultsAndExportUser2' 1 Passed
When I progress a job up to enter results with batchNo 'ResultsExport1' and spec 'Default specification' 1 Passed
And I click on the show summary and submit button 4 Passed
And I click on the submit button 3 Passed
And I can see the message of 'Test submitted successfully' 2 Passed
And I click on the 'Reporting' menu item 7 Passed
And I click on the 'Export results' menu item 7 Passed
And I click on the export results button 7 Passed
And I click the download button to download the export 7 Passed
Then I can see the following information in the export: 5 Passed
Given I am logged in as user 'EnterResultsAndExportUser' 1 Passed
When I progress a job up to verify with batchNo 'ResultsExport2' and input value '32.2' and spec 'Default specification' 1 Passed
And I click into the first input and enter '98.65' 1 Passed
Given I am logged in as user 'EnterResultsAndExportByJobIdUser' 1 Passed
When I progress a job up to verify with batchNo 'jobid' and input value '64.8' and spec 'Default specification' 1 Passed
And I enter the job id on the results exports page 2 Passed
Given I am logged in as user 'EnterResultsAndExportByDateUser' 1 Passed
When I progress a job up to verify with batchNo 'dateRange' and input value '0.67' and spec 'Default specification' 1 Passed
And I enter the date range '01/01/2023' to '' on the export results page 1 Passed
Given I am logged in as user 'CustomFieldExportUser' 1 Passed
And I have set the first custom sample field as 'Custom sample field' 1 Passed
And I have set the first custom job field as 'Custom job field' 1 Passed
And I enter 'clientOverridejob' into the first custom job field title 1 Passed
When I progress a job up to verify with batchNo 'ResultsExport1' and input value '9' and spec 'Default specification' 1 Passed
And I can enter value 'JobResultsExport' into the custom field 'clientOverridejob' 1 Passed
And I can enter value 'Sample results export' into the custom field 'Custom sample field' 1 Passed
Given I am logged in as user 'ExportNoFilterUser' 1 Passed
And I have created the user 'spareNoFilterUser' 1 Passed
And I have progressed a job up to verify with batchNo 'TestBatch123' and input value '5' and spec 'Default specification' 2 Passed
And I enter results of '9' for job 1 Passed
Then I can see the following information in line '1' of the export: 1 Passed
And I can see the following information in line '2' of the export: 1 Passed
Given I am logged in as user 'ExportResultsWithRepeatsUser' 1 Passed
When I progress a job up to approval with batchNo 'TestBatch123' and input value '12.3' and 2 repeats 1 Passed
Then I can see 3 repeats in the export 1 Passed
Given I am logged in as user 'ResImportUser' 2 Passed
And I have created equipment item '<EquipmentItem>' and event called 'importevent' 2 Passed
When I progress a job up to enter results with batchNo 'resultimport' and spec 'Default specification' 2 Passed
And I update the file 'resultimport.<FileType>' with the correct sample id 2 Passed
And I click on the admin icon 10 Passed
And I click on the 'Administration' menu item 9 Passed
And I click on the results import configure button 2 Passed
And I click on '<EquipmentItem>' 2 Passed
And I select the filetype of '<FileType>' 2 Passed
And I enter the following in the column mapping: 2 Passed
And I click the add test method button 2 Passed
And I select the default test method from the drop down 2 Passed
And I select the default input from the input drop down 2 Passed
And I click the add input button 2 Passed
And I map the input to name 'mapinput' 2 Passed
And I can see the message of 'Mapping for <EquipmentItem> has been updated' 2 Passed
And I click on upload results 2 Passed
And I select the mapping configuration for equipment item '<EquipmentItem>' 2 Passed
And I upload the file 'resultimport.<FileType>' 2 Passed
And I click upload 2 Passed
Then I can see the successfull upload of the result 2 Passed
And I can see '65.000' in the output field 2 Passed
Given I am logged in as user 'DownloadSampleCertUser' 1 Passed
And I have progressed a job through the lifecycle process with batchNo 'TestBatch123' and input value '123' 6 Passed
And I click the download sample certificate button 10 Passed
Then I can see the message of 'Sample certificate has been uploaded to the sample attachments' 1 Passed
Given I am logged in as user 'DownloadDraftSampleCertUser' 1 Passed
And I have progressed a job up to approval with batchNo 'TestBatch123' and input value '123' 1 Passed
Given I am logged in as user 'PrintSampleCertUser' 1 Passed
And I click on the SampleCertificate tab 4 Passed
And I upload template 'AltCert' 2 Passed
And I upload template 'SamCert' 2 Passed
And I can see the message of 'Sample certificate has been uploaded to the sample attachments' 6 Passed
Given I am logged in as user 'SampleCertificateAttachmentUser' 1 Passed
Then I can see the sample certificate attachment showing here 2 Passed
Given I am logged in as user 'SampleCertAttachApproveSamplesUser' 1 Passed
When I progress a job up to approval with batchNo 'TestBatch123' and input value '7' and spec 'Default specification' 1 Passed
And I can see the message of 'Sample certificate has been downloaded from sample attachments' 1 Passed
Given I am logged in as user 'SampleCertificateReturnExistingUser' 1 Passed
Then I can see the message of 'Sample certificate has been downloaded from sample attachments' 1 Passed
Given I am logged in as user 'RegenSampleCertificateUser' 1 Passed
And I click the sample options button 2 Passed
And I click on regenerate sample certificate button 1 Passed
Given I am logged in as user 'DefaultSampleCertTemplateUser' 1 Passed
And I click on the 'setup' menu item 1 Passed
And I click on the report settings button 1 Passed
And I select a temple 'AltCert.docx' for the sample certificate template 1 Passed
And I can see the message of 'Report settings updated successfully' 1 Passed
Then I can see 'AltCert' 1 Passed
Given I am logged in as user 'allsamplelabelsuser' 1 Passed
And I enter '3' into add samples and click ok 2 Passed
And I tick to download all sample labels 1 Passed
Then A file is downloaded when I click the receive button 1 Passed
Given I am logged in as user 'allsamplelabelsjobvieweruser' 1 Passed
Then a file is downloaded when I click the download all sample labels button 1 Passed
Given I am logged in as user 'EditExistingJobUser' 1 Passed
And I have created a test method called 'EditExistingJobClientTestMethod' 1 Passed
And I have created an unlinked test method called 'EditExistingJobUnlinkedTestMethod' 1 Passed
And I have progressed a job up to enter results with batchNo 'EditExistingJob' 1 Passed
Then I can see 'EditExistingJobClientTestMethod' 1 Passed
And I can see 'EditExistingJobUnlinkedTestMethod' 1 Passed
Given I am logged in as user 'UpdateDueDateUser' 1 Passed
And I have progressed a job up to enter results with batchNo 'SampleDueDateTest' 1 Passed
And I click on the due date calendar 1 Passed
And I change the due date to the first of the next month 1 Passed
Then I can save 1 Passed
Given I am logged in as user 'SampleNavigationUser' 1 Passed
And I enter 'SampleNavigation' into the batch number 1 Passed
And I click the arrow symbol to go to the next sample 1 Passed
Then I can see I am viewing the second sample for the submitted job 1 Passed
And The next sample arrow symbol is disabled 1 Passed
Given I am logged in as user 'DeleteTestExistingJobUser' 1 Passed
And I have created a test method called 'DeleteTestTestMethod' 1 Passed
And I have progressed a job up to enter results with batchNo 'DeleteTestExistingJob' 1 Passed
And I click on 'DeleteTestTestMethod (v1)' 1 Passed
And I add 5 of these tests to the job 1 Passed
And I clik on the context menu for the test method 'DeleteTestTestMethod' 1 Passed
And I click on delete 2 Passed
And I can see the message of 'Test deleted successfully' 1 Passed
Then I See 4 repeats for test method 'DeleteTestTestMethod' 1 Passed
And I can no longer see repeat 5 for test 'DeleteTestTestMethod' 1 Passed
Given I am logged in as user 'AddRepeatTestUser' 1 Passed
And I have created a test method called 'RepeatTestMethod' 1 Passed
And I have progressed a job up to enter results with batchNo 'AddRepeatsJob' 1 Passed
And I click on 'RepeatTestMethod (v1)' 1 Passed
And I add 6 of these tests to the job 1 Passed
Then I See 6 repeats for test method 'RepeatTestMethod' 1 Passed
Given I am logged in as user 'localeChangeUser' 1 Passed
When I progress a job up to verify with batchNo 'localeChange' and input value '0.89' and spec 'Default specification' 1 Passed
And I click on the settings configure button 7 Passed
And I select US from the locale drop down 1 Passed
And I can see the message of 'Settings updated successfully' 7 Passed
Then I can see the submitted date in the US format 1 Passed
Given I am logged in as user 'GiveReasonTestInputUser' 1 Passed
When I click on the admin icon 5 Passed
And I enable the require reason for change setting 1 Passed
And I have progressed a job up to verify with batchNo 'GiveReasonTestInput' and input value '2' and spec 'Default specification' 1 Passed
And I enter a reason for change of 'Change control Test' 1 Passed
Then I can see the 'first' input contains '9' 1 Passed
Given I am logged in as user 'EsigTestInputUser' 1 Passed
And I enable the require E-signatures setting 1 Passed
And I progress a job up to enter results with batchNo 'EsigTestInput' and spec 'Default specification' 1 Passed
Then I can see the password prompt appear 1 Passed
And I can see 'Test submitted successfully' when I enter my password and click ok 1 Passed
Given I am logged in as user 'SkipVerificationUser' 1 Passed
And I enable the skip verification setting 1 Passed
And I enter '1' into the default input and submit the results 1 Passed
Then I can see the sample on the approve samples page 1 Passed
Given I am logged in as user 'IndependentVerificationUser' 1 Passed
And I enable the require independent verification setting 1 Passed
Then I am not able to tick the sample to verify the test results 1 Passed
Given I am logged in as user 'EnforcedMfaUser' 1 Passed
And I enable the enforce MFA setting 2 Passed
Then I can see MFA is set to email 1 Passed
And I can see there is no option to turn off MFA 1 Passed
Given I am logged in as user 'emailOtpUser' 1 Passed
And I enter my credentials for user 'emailOtpUser' 1 Passed
Then I can see the OTP email request page 1 Passed
Given I am logged in as user 'CreateSpecUser' 1 Passed
When I click on product 'SpecProduct' on the products page 1 Passed
Then I can see test method 'SpecTestMethod1' and its output appear in the specification section 1 Passed
Given I am logged in as user 'UpdateSpecUser' 1 Passed
When I click on product 'UpdateSpecProduct' on the products page 1 Passed
And I click the save and publish product button 3 Passed
Then I can see the message of 'Product published successfully' 4 Passed
And I can see 'Specification: Between 1 and 5' in the output spec summary 1 Passed
When I click on product 'ApproveResultSpecProduct' on the products page 4 Passed
And I enter '<lower>' in the lower limit 4 Passed
And I enter '<upper>' in the upper limit 4 Passed
And I click the publish button for product 'ApproveResultSpecProduct' 4 Passed
And I progress a job up to approval with batchNo 'viewpassspecsresults' and input value '<input>' and spec 'Default specification' 4 Passed
And I navigate to the approve samples page for the job 10 Passed
Then I can see that the job meets the spec requirements on the approve samples page 7 Passed
Given I am logged in as user '2dspecfailuser' 1 Passed
When I click on product 'Fail2DSpecProduct' on the products page 1 Passed
And I click the publish button for product 'Fail2DSpecProduct' 1 Passed
And I progress a job up to enter results with batchNo '2dspecbat' and spec 'Default specification' 1 Passed
And I drop down the test method 'Fail2DSpecTestMethod1' on the enter results page 1 Passed
And I enter '0.284,0.324' into the default input 1 Passed
Then I can see the failed specification warning on the enter results page 2 Passed
And I can see the limit details of 'Specification: Within (0.355,0.355), (0.305,0.305), (0.285,0.325), (0.335,0.375)' when I view the summary and hover the result 1 Passed
Given I am logged in as user '2dspecPassuser' 1 Passed
When I click on product 'Pass2DSpecProduct' on the products page 1 Passed
And I click the publish button for product 'Pass2DSpecProduct' 1 Passed
And I progress a job up to approval with batchNo 'pass2dspec' and input value '0.4000,0.4000' and spec 'Default specification' 1 Passed
Given I am logged in as user 'DefaultValueSpecUser' 1 Passed
When I click on product 'DefaultValueSpecProduct' on the products page 1 Passed
And I click the publish button for product 'DefaultValueSpecProduct' 1 Passed
And I progress a job up to approval with batchNo 'DefaultValueSpecBatch', default input value and spec 'Default specification' 1 Passed
Given I am logged in as user 'VerifyTestsSpecUser' 1 Passed
When I click on product 'VerifyTestsSpecProduct' on the products page 1 Passed
And I click the publish button for product 'VerifyTestsSpecProduct' 1 Passed
And I have progressed a job up to verify with batchNo 'verifyspecresults' and input value '6' and spec 'Default specification' 1 Passed
And I navigate to the verify tests page for the job 2 Passed
And I click to expand test 'VerifyTestsSpecTestMethod1' on the verify tests page 1 Passed
Then I can see that the test failed the spec requirements on the verify tests page 1 Passed
And I can see the spec limits of 'Specification: Between 1 and 5' when I hover the result 1 Passed
Given I am logged in as user 'EnterResultsSpecUser' 2 Passed
When I click on product 'EnterResultsSpecProduct' on the products page 2 Passed
And I click the publish button for product 'EnterResultsSpecProduct' 2 Passed
And I progress a job up to enter results with batchNo 'TestBatch123' and spec 'Default specification' 1 Passed
And I drop down the test method 'EnterResultsSpecTestMethod1' on the enter results page 2 Passed
And I click into the first input and enter '5.5' 1 Passed
And I can see the limit details of 'Specification: Between 1 and 5' when I view the summary and hover the result 1 Passed
Given I am logged in as user 'ApproveFailResultSpecUser' 1 Passed
When I click on product 'ApproveFailResultSpecProduct' on the products page 2 Passed
And I click the publish button for product 'ApproveFailResultSpecProduct' 2 Passed
And I progress a job up to approval with batchNo 'viewfailspecsresults' and input value '2.1' and spec 'Default specification' 1 Passed
Then I can see that the job failed the spec requirements with the message of '1 of 2 tests fail' on the approve samples page 2 Passed
Given I am logged in as user 'TestViewResultSpecUser' 1 Passed
When I click on product 'TestViewResultSpecProduct' on the products page 2 Passed
And I enter '0.0000002' in the lower limit 3 Passed
And I enter '0.0000003' in the upper limit 3 Passed
And I click the publish button for product 'TestViewResultSpecProduct' 2 Passed
And I progress a job up to approval with batchNo 'testviewspecsresults' and input value '0.000001' and spec 'Default specification' 1 Passed
And I view the test method 'TestViewResultSpecTestMethod1' on the sample details page 2 Passed
Then I can see the warning that the test does not match specification on the test viewer 3 Passed
Given I am logged in as user 'ChangeResultSpecUser' 1 Passed
When I click on product 'ChangeResultSpecProduct' on the products page 1 Passed
And I select 'Greater than' from the operator drop down 2 Passed
And I enter '2' in the lower limit 3 Passed
And I click the publish button for product 'ChangeResultSpecProduct' 1 Passed
And I have progressed a job up to verify with batchNo 'changespecresults' and input value '1' and spec 'Default specification' 1 Passed
And I view the test method 'ChangeResultSpecTestMethod1' on the sample details page 2 Passed
And I can see the warning that the test does not match specification on the test viewer 3 Passed
And I update the test result of the created job with an input value of '2.0000001' 1 Passed
Then I can see that the test has passed spec on the test viewer 3 Passed
Given I am logged in as user 'LifecycleSpecUser' 1 Passed
When I click on product 'LifecycleSpecProduct' on the products page 1 Passed
And I click the publish button for product 'LifecycleSpecProduct' 1 Passed
And I have progressed a job up to verify with batchNo 'deletestaticspecresults' and input value '1' and spec 'Default specification' 1 Passed
And I view the test method 'LifecycleSpecTestMethod1' on the sample details page 2 Passed
And I click on options and delete the test method 'LifecycleSpecTestMethod1' 1 Passed
And I can see the message of 'Deleting test method LifecycleSpecTestMethod1' 1 Passed
Given I am logged in as user 'RemoveOutputSpecUser' 1 Passed
And I have navigated to the 'Test methods' page 1 Passed
When I click on the edit test method button for test method 'RemoveOutputSpecTestMethod' on the test method page 1 Passed
And I click the create input button 11 Passed
And I name the input 'removeOutput' 1 Passed
And I set the type to 'numeric' 2 Passed
And I set create output on the input edit pop up to true 7 Passed
And I click publish test method to publish 'RemoveOutputSpecTestMethod' 1 Passed
And I can see the message of 'Test method published successfully' 4 Passed
And I navigate to the 'Products' page 2 Passed
And I click on product 'RemoveOutputSpecProduct' on the products page 2 Passed
And I can see test method 'RemoveOutputSpecTestMethod' outputs 'output-1', 'removeOutput' in the specification section 1 Passed
And I click the publish button for product 'RemoveOutputSpecProduct' 1 Passed
And I navigate to the 'Test methods' page 1 Passed
And I click on the edit test method button for test method 'RemoveOutputSpecTestMethod' on the test method page 1 Passed
And I click on output options for output '1' 1 Passed
And I click publish test method to publish 'Create Test Method' 2 Passed
Then I see a dialog containing the test method 'RemoveOutputSpecTestMethod' and output 'removeOutput' 1 Passed
Given I am logged in as user 'KeepSpecUser' 1 Passed
When I click on product 'KeepSpecProduct' on the products page 1 Passed
And I click the add warning button 9 Passed
And I enter '2' in the lower warning limit 4 Passed
And I enter '4' in the upper warning limit 4 Passed
And I click copy to new spec 7 Passed
And I name the spec 'newspec' 2 Passed
And I click the publish button for product 'KeepSpecProduct' 1 Passed
And I assign the test suite 'AutoTestSuite' to the product 1 Passed
Then I can see 'Specification: Between 1 and 5. Warning Limit: Between 2 and 4' in the output spec summary 1 Passed
Given I am logged in as user 'UpdateStringSpecUser' 1 Passed
When I click on product 'UpdateStringSpecProduct' on the products page 1 Passed
And I select default list for the specification from the drop down 4 Passed
And I select 'True' from the valid options drop down 4 Passed
And I can see 'Specification: Must be: True' in the output spec summary 1 Passed
Given I am logged in as user 'ApproveResultStringSpecUser' 1 Passed
When I click on product 'ApproveResultStringSpecProduct' on the products page 1 Passed
And I click the publish button for product 'ApproveResultStringSpecProduct' 1 Passed
And I progress a job up to approval with batchNo 'viewpassstringspecsresults' and input value 'True' and spec 'Default specification' 1 Passed
Given I am logged in as user 'ApproveFailResultStringSpecUser' 1 Passed
When I click on product 'ApproveFailResultStringSpecProduct' on the products page 1 Passed
And I click the publish button for product 'ApproveFailResultStringSpecProduct' 1 Passed
And I progress a job up to approval with batchNo 'viewfailstringspecsresults' and input value 'fail list item' and spec 'Default specification' 1 Passed
Given I am logged in as user 'MultiSpecUser' 1 Passed
When I click on product 'MultiSpecProduct' on the products page 1 Passed
And I enter '6' in the lower limit 5 Passed
And I enter '9' in the upper limit 5 Passed
And I click the output to expand the spec for spec 'newspec' 1 Passed
And I enter '1' in the target 5 Passed
And I click the publish button for product 'MultiSpecProduct' 1 Passed
And I progress a job up to approval with batchNo 'multispecjob' and input value '1' and spec 'newspec' 1 Passed
And I view the test method 'MultiSpecTestMethod1' on the sample details page 1 Passed
Given I am logged in as user 'ThreeSpecUser' 1 Passed
When I click on product 'ThreeSpecProduct' on the products page 1 Passed
And I name the spec 'newspec1' 1 Passed
And I click the output to expand the spec for spec 'newspec1' 1 Passed
And I name the spec 'newspec2' 1 Passed
And I click the output to expand the spec for spec 'newspec2' 1 Passed
And I click the publish button for product 'ThreeSpecProduct' 1 Passed
And I can see all test methods are present for spec 'newspec1' 1 Passed
And I can see all test methods are present for spec 'newspec2' 1 Passed
Given I am logged in as user 'DeleteSpecUser' 1 Passed
When I click on product 'DeleteSpecProduct' on the products page 1 Passed
And I name the spec 'deletedspec' 1 Passed
And I click the output to expand the spec for spec 'deletedspec' 1 Passed
And I click the publish button for product 'DeleteSpecProduct' 2 Passed
And I submit a job with batchNo 'Deletespecjob' 1 Passed
And I click delete spec 1 Passed
And I progress a submitted job up to approval with input value '1' and default spec 1 Passed
And I view the test method 'DeleteSpecTestMethod1' on the sample details page 1 Passed
Given I am logged in as user 'SwapSpecUser' 1 Passed
When I click on product 'SwapSpecProduct' on the products page 1 Passed
And I name the spec 'Swapspec' 1 Passed
And I click the output to expand the spec for spec 'Swapspec' 1 Passed
And I click the publish button for product 'SwapSpecProduct' 1 Passed
And I progress a job up to approval with batchNo 'Swapspecjob' and input value '1' and spec 'Default specification' 1 Passed
And I click on the specification field 1 Passed
And I select specification 'Swapspec' 1 Passed
And I click to save new specification 1 Passed
And I view the test method 'SwapSpecTestMethod1' on the sample details page 1 Passed
And I name the spec 'FailSpec' 1 Passed
And I click the output to expand the spec for spec 'FailSpec' 1 Passed
And I progress a job up to enter results with batchNo 'erspecjob' and spec 'FailSpec' 1 Passed
And I enter '2' into the default input 1 Passed
Then I can see the failed test and submit successfully 1 Passed
Given I am logged in as user 'TMOutputUser' 1 Passed
When I click on product 'TMOutputProduct' on the products page 1 Passed
And I click the publish button for product 'TMOutputProduct' 1 Passed
And I click on the edit test method button for test method 'TMOutputTestMethod1' on the test method page 1 Passed
And I click on input options for input '0' 5 Passed
And I click the edit input option 4 Passed
And I click publish test method to publish 'TMOutputTestMethod1' 1 Passed
And I click on product 'TMOutputProduct' on the products page 1 Passed
Then I see the operator drop down contains 'Between' 1 Passed
Given I am logged in as user 'createstockuser' 1 Passed
And I click on the 'Stock Items' menu item 3 Passed
And I click on the create stock item button 3 Passed
And I populate the stock item form with the following: 4 Passed
Then I can see the message of 'Stock item Solution created successfully' 1 Passed
Given I am logged in as user 'editstockuser' 1 Passed
And I can see the message of 'Stock item Spoon created successfully' 1 Passed
And I can see the message of 'Stock item Regulator updated successfully' 1 Passed
Then I can see the following stock item in the list: 1 Passed
Given I am logged in as user 'deletestockuser' 1 Passed
And I can see the message of 'Stock item Beaker created successfully' 1 Passed
And I click the stock item options for 'Beaker' 1 Passed
Then I can see the message of 'Stock item Beaker deleted successfully' 1 Passed
And I cannot see the stock item 'Beaker' in the list 1 Passed
Given I am logged in as user 'CreateJobUser' 1 Passed
Then I can see the job details on the job viewer 1 Passed
Given I am logged in as user 'CancelJobUser' 1 Passed
And I enter 'AutoTestCancel' into the batch number 1 Passed
And I click the cancel job button 1 Passed
Then I can see the job creation was cancelled 1 Passed
And I am on the submit job page with no draft jobs pending 1 Passed
Given I am logged in as user 'EditTestAtSubmitUser' 1 Passed
And I have created a test method called 'EditTestsTestMethod' 1 Passed
And I click on edit tests on the create job page 3 Passed
And I copy across 'EditTestsTestMethod' from the available list 1 Passed
Then I can see 'Custom tests selected' 1 Passed
Given I am logged in as user 'EditRepeatTestAtSubmitUser' 1 Passed
And I have created a test method called 'TestMethodRepeat' 1 Passed
And I copy across 'TestMethodRepeat' from the available list 1 Passed
And I enter '4' in the repeats for the default test method 1 Passed
And I click to copy down the repeats 1 Passed
Then I can see '4' in the repeats for ClientTestMethod 1 Passed
Given I am logged in as user 'CreateDraftJobUser' 1 Passed
And I enter 'AutoTestDraftJob' into the batch number 1 Passed
And I navigate to the 'Enter results' page 1 Passed
And I am on the enter results page 1 Passed
Then I can see the draft job that I created with batch no 'AutoTestDraftJob' 1 Passed
And I can see the message of 'Select a product to view samples' 1 Passed
Given I am logged in as user 'CreateJobDetailsUser' 1 Passed
Then I can see the following details on the job viewer: 1 Passed
Given I am logged in as user 'SubmitNextStepUser' 1 Passed
Then I can see job with batch number 'AutoTest' on the receive samples page 1 Passed
Given I am logged in as user 'CorrectTMFilterUser' 1 Passed
And I have created a test method called 'ClientTestMethod' 1 Passed
And I have created an unlinked test method called 'UnlinkedTestMethod' 1 Passed
Then I can see test method 'ClientTestMethod' when editing tests on the create job page 1 Passed
And I can see test method 'UnlinkedTestMethod' when editing tests on the create job page 1 Passed
Given I am logged in as user 'clientSubmitUser' 1 Passed
And I have created the user 'spareClientSubmitUser' 1 Passed
When I have navigated to the 'Submit job' page 1 Passed
Then I cannot see client 'clientSubmitFilterClient' in the client select box 1 Passed
Given The organisation subscription tier is set to 'Essentials' 13 Passed
And I am logged in as user 'trendtier' 3 Passed
Then I am navigated to the labhq upgrade page when I click on 'Trend' menu item 1 Passed
And I cannot manually navigate to the 'Trend' page 2 Passed
And I am logged in as user 'oostier' 1 Passed
Then I am navigated to the labhq upgrade page when I click on 'oos results' menu item 1 Passed
And I am logged in as user 'oostieruser' 1 Passed
Then I cannot manually navigate to the 'oos' page 1 Passed
And I have progressed a job up to approval with batchNo 'notrendlink' and input value '50.76' 1 Passed
When I navigate to the approve samples page for the job 2 Passed
Then The trend icon is disabled for the sample on the approve samples page 1 Passed
And I am logged in as user 'investigationtier' 1 Passed
And I have progressed a job up to enter results with batchNo 'investigationaccess' 1 Passed
Then I can see the investigations tab is unavailable 1 Passed
And I am logged in as user 'exportresultstier' 1 Passed
When I click on the 'Reporting' menu item 1 Passed
Then I am navigated to the labhq upgrade page when I click on 'Export results' menu item 1 Passed
And I am logged in as user 'exporttieruser' 1 Passed
Then I cannot manually navigate to the 'Export results' page 1 Passed
And I am logged in as user 'equipmenttier' 4 Passed
Then I am navigated to the labhq upgrade page when I click on 'equipment items' menu item 2 Passed
Then I am navigated to the labhq upgrade page when I click on 'maintenance' menu item 2 Passed
And I am logged in as user 'stocktier' 2 Passed
Then I click on the 'Stock' menu item 2 Passed
And I am navigated to the labhq upgrade page when I click on 'Inventory' menu item 2 Passed
And I am logged in as user 'labelsettingstier' 2 Passed
Then I am navigated to the labhq upgrade page when I click on 'label settings' menu item 2 Passed
And I submit a job with batchNo 'labelbat' 1 Passed
Then I can see the download all sample labels button is unavailable 1 Passed
And I can see the download sample label button is unavailable 1 Passed
And I am logged in as user 'customfieldtier' 2 Passed
Then I am navigated to the labhq upgrade page when I click on 'custom fields' menu item 2 Passed
And I cannot manually navigate to the 'Custom fields' page 3 Passed
And I am logged in as user 'reporttier' 2 Passed
Then I am navigated to the labhq upgrade page when I click on 'report settings' menu item 2 Passed
And I cannot manually navigate to the 'Report settings' page 3 Passed
And I am logged in as user 'manageworktieruser' 1 Passed
When I click on the 'resources' menu item 1 Passed
Then I am navigated to the labhq upgrade page when I click on 'manage work' menu item 1 Passed
And I cannot manually navigate to the 'Manage work' page 2 Passed
And I am logged in as user 'clienttieruser' 1 Passed
Then I can see the create client button is disabled 1 Passed
And I am logged in as user 'essentialWidgetUser' 1 Passed
Then I can see the following widgets are showing the premium icon: 2 Passed
Given The organisation subscription tier is set to 'Growth' 1 Passed
And I am logged in as user 'GrowthWidgetUser' 1 Passed
And I am logged in as user 'essentialattachmentuser' 1 Passed
And I have progressed a job up to enter results with batchNo 'attachtier' 1 Passed
Then I cannot add new attachments 4 Passed
And I cannot add new attachments 1 Passed
And I am logged in as user 'essentialproductattachmentuser' 1 Passed
Given I am logged in as user 'CreateTestMethodUser' 1 Passed
And I click the Create test method button 4 Passed
And I enter 'Create Test Method' in the name field 1 Passed
And I enter 'This is a note appearing on the workbook for this TM' in the workbook notes field 1 Passed
And I name the input 'Input 1' 1 Passed
Then I can see the message of 'Test method published successfully' 2 Passed
And I click the edit test method button 4 Passed
And I can see the workbook notes field contains the text 'This is a note appearing on the workbook for this TM' 1 Passed
Given I am logged in as user 'ViewTestMethodUser' 1 Passed
And I have created a test method called 'ViewTestMethod' 1 Passed
And I click on the edit test method button for test method 'ViewTestMethod' on the test method page 1 Passed
And I enter 'View test method workbook notes' in the workbook notes field 1 Passed
And I click on the test method 'ViewTestMethod' on the test method page 1 Passed
Then I can see test method 'ViewTestMethod' on the test method view page 1 Passed
And The test method view details show workbook notes 'View test method workbook notes' 1 Passed
Given I am logged in as user '2dcoordinatetmuser' 1 Passed
And I enter '2D Input Coordinate' in the name field 1 Passed
And I name the input '2D Input' 1 Passed
And I set the type to 'coordinate' 1 Passed
And I add a default input value of '0.355, 0.385' 1 Passed
Then I can see the field type for input '0' is ' coordinate ' 1 Passed
Given I am logged in as user 'DeleteTestMethodUser' 1 Passed
And I have created a test method called 'DeleteTestMethod' 1 Passed
Then I can see the message of 'Test method deleted successfully' 1 Passed
And I can see that the test method 'DeleteTestMethod' has been deleted 1 Passed
Given I am logged in as user 'methodsuiteuser' 1 Passed
And I click on the 'test methods' menu item 3 Passed
And I click on the default test method on the test method page 4 Passed
Given I am logged in as user 'methodproductuser' 1 Passed
And I click on the related products button 2 Passed
Then I can see the default product and test suite showing here 1 Passed
And I can successfully navigate to the product edit page 1 Passed
Given I am logged in as user 'methodproductupdateuser' 1 Passed
And I remove the default test suite from the test method 1 Passed
And I can see the save button is enabled 1 Passed
Then I can see the message of 'No related Products.' 1 Passed
Given I am logged in as user 'SearchTestMethodUser' 1 Passed
And I have created a test method called 'SearchTestMethod' 1 Passed
And I am on the test methods page 2 Passed
And I can see the message of 'No test methods found' 2 Passed
And I enter 'SearchTestMethod' into the search box 1 Passed
Then I can see test method 'SearchTestMethod' in the list 1 Passed
Given I am logged in as user 'FilterTestMethodUser' 1 Passed
And I have created a test method called 'FilterTestMethod' 1 Passed
And I select 'Published' on the status filter 2 Passed
Then I can see test method 'FilterTestMethod' in the list 1 Passed
Given I am logged in as user 'EditTestMethodUser' 2 Passed
And I have created a test method called 'EditTestMethod' 2 Passed
And I click on the edit test method button for test method 'EditTestMethod' on the test method page 2 Passed
And I enter 'newmethodname' in the name field 1 Passed
Then I can see test method 'newmethodname' in the list 1 Passed
Given I am logged in as user 'CloneTestMethodUser' 1 Passed
And I have created a test method called 'CloneTestMethod' 1 Passed
And I click on options for the test method 2 Passed
And I enter 'newtestmethodname' into the test method clone pop up 1 Passed
Then I can see the text 'Edit newtestmethodname' 1 Passed
And I can see my new copied test method 1 Passed
Given I am logged in as user 'CreateOutputUser' 1 Passed
And I have created a test method called 'CreateOutputTestMethod' 1 Passed
And I click on the edit test method button for test method 'CreateOutputTestMethod' on the test method page 1 Passed
And I name the input 'createoutput' 1 Passed
Then I can see an output called 'createoutput' 1 Passed
Given I am logged in as user 'OutputCalculateUser' 1 Passed
And I click on the edit test method button for test method 'OutputCalcTestMethod' on the test method page 1 Passed
And I click on output options for output '0' 3 Passed
And I click the edit output option 2 Passed
And I set the decimals to 0 1 Passed
And I enter '$1*2.5' in the results calculation field 1 Passed
And I click on the test calculation button 1 Passed
Then I can see the raw calculated result showing as '2.5' 1 Passed
And I can see the rounded calculated result showing as '3' 1 Passed
Given I am logged in as user 'DeleteAttachedTestMethodUser' 1 Passed
And I click on options and delete the test method 'AttachedTestMethod' 1 Passed
Then I can see a message advising me this will affect 'AttachedTestSuite' 1 Passed
Given I am logged in as user 'DeleteConflictTestMethodUser' 1 Passed
When I delete test method 'SecondConflictTestMethod' 1 Passed
And I click on options and delete the test method 'ConflictTestMethod' 1 Passed
Then I can see the message of 'Unable to delete ConflictTestMethod as it is the only test method on the following test suite:' 1 Passed
And I can still see the test method 'ConflictTestMethod' when I click ok 1 Passed
Given I am logged in as user 'TestMethodVersionUser' 1 Passed
And I have created a test method called 'VersionTestMethod' 1 Passed
And I click on the edit test method button for test method 'VersionTestMethod' on the test method page 1 Passed
And I name the input 'newinputversion' 4 Passed
And I click publish test method to publish 'VersionTestMethod' 1 Passed
And I can see the test method version number is 'Published' '2' 1 Passed
Given I am logged in as user 'TestMethodDraftVersionUser' 1 Passed
And I have created a test method called 'DraftVersionTestMethod' 1 Passed
And I click on the edit test method button for test method 'DraftVersionTestMethod' on the test method page 1 Passed
And I click to save test method 'DraftVersionTestMethod' 1 Passed
Then I can see the message of 'Test method updated successfully' 1 Passed
And I can see the test method version number is 'Draft' '1.1' 1 Passed
Given I am logged in as user 'LifecycleVersionUser' 1 Passed
And I click publish test method to publish 'AutoTestMethod' 1 Passed
Then I can see product and test method are version '1' 1 Passed
Given I am logged in as user 'dusplicateoutputnameuser2' 1 Passed
And I have created a test method called 'DuplicateOutputTestMethod' 1 Passed
And I click on the edit test method button for test method 'DuplicateOutputTestMethod' on the test method page 1 Passed
And I click the create output button 2 Passed
And I name the output 'outputname' 2 Passed
And I enter '$1' in the results calculation field 2 Passed
And I click publish test method to publish 'DuplicateOutputTestMethod' 1 Passed
Then I can see the message of 'Output names must be unique' 1 Passed
Given I am logged in as user 'inputoutputlimituser' 1 Passed
And I have created a test method called 'atthelimit1' with '100' inputs and '100' outputs 1 Passed
And I click on the edit test method button for test method 'atthelimit1' on the test method page 1 Passed
Then I can see the create input button is disabled 1 Passed
And I can see the create output button is disabled 1 Passed
Given I am logged in as user 'inputoutputlimituser2' 1 Passed
And I have created a test method called 'atthelimit2' with '100' inputs and '100' outputs 1 Passed
And I click on the edit test method button for test method 'atthelimit2' on the test method page 1 Passed
Then I can see the clone button for input at index '0' is disabled 1 Passed
And I can see the add matching output button for input at index '0' is disabled 1 Passed
Given I am logged in as user 'inputoutputlimituser3' 1 Passed
And I have created a test method called 'atthelimit4' with '100' inputs and '100' outputs 1 Passed
And I click on the edit test method button for test method 'atthelimit4' on the test method page 1 Passed
Then I can see the clone button for output at index '0' is disabled 1 Passed
Given I am logged in as user 'inputoutputlimituser4' 1 Passed
And I have created a test method called 'atthelimit5' with '99' inputs and '100' outputs 1 Passed
And I click on the edit test method button for test method 'atthelimit5' on the test method page 1 Passed
Then I can see the create matching output checkbox is disabled 1 Passed
Given I am logged in as user 'NeverPublishedTMUser' 1 Passed
And I enter 'unpublishedTM' in the name field 1 Passed
And I name the input 'UnpublishedTM' 1 Passed
And I can see the test method version number is 'Draft' '0.1' 1 Passed
And I click to save test method 'unpublishedTM' 1 Passed
And I can see the message of 'Test suites updated successfully' 1 Passed
And I can see the message of 'Related test suites updated successfully' 1 Passed
And I wait for the message 'Test suites updated successfully' to dissapear 1 Passed
And I wait for the message 'Related test suites updated successfully' to dissapear 1 Passed
And I click on the default test suite on the test suite page 3 Passed
And I click on the edit test suite button 5 Passed
Then I can see test method 'unpublishedTM' showing in the selected test methods section of the test suite 1 Passed
Given I am logged in as user 'PrePublishedTMUser' 1 Passed
And I have created a test method called 'PrePublishedVersionTestMethod' 1 Passed
And I click on the edit test method button for test method 'PrePublishedVersionTestMethod' on the test method page 1 Passed
And I click to save test method 'PrePublishedVersionTestMethod' 1 Passed
Then I can see test method 'PrePublishedVersionTestMethod' showing in the selected test methods section of the test suite 1 Passed
And I can see a tick on the output show on report column 1 Passed
And I click to hide the output from reports 1 Passed
Then I can see a cross on the output show on report column 1 Passed
Given I am logged in as user 'ElectronicInputTestMethodUser' 1 Passed
And I have created a test method called 'ElectronicTestMethod' 1 Passed
And I click on the edit test method button for test method 'ElectronicTestMethod' on the test method page 1 Passed
And I set the input to show on 'electronic' 1 Passed
Then I can see the input 'AutoInput-0' display on value is 'Electronic' 1 Passed
Given I am logged in as user 'WorkbookInputTestMethodUser' 1 Passed
And I have created a test method called 'WorkbookTestMethod' 1 Passed
And I click on the edit test method button for test method 'WorkbookTestMethod' on the test method page 1 Passed
And I set the input to show on 'workbook' 1 Passed
Then I can see the input 'AutoInput-0' display on value is 'Workbook' 1 Passed
Given I am logged in as user 'AllInputTestMethodUser' 1 Passed
And I have created a test method called 'AllTestMethod' 1 Passed
And I click on the edit test method button for test method 'AllTestMethod' on the test method page 1 Passed
And I set the input to show on 'all' 1 Passed
Then I can see the input 'AutoInput-0' display on value is 'All' 1 Passed
Given I am logged in as user 'TestMethodStockUser' 1 Passed
And I have created a test method called 'StockTestMethod' 1 Passed
And I click on the edit test method button for test method 'StockTestMethod' on the test method page 1 Passed
And I select stock item 'TMStock' from the dual list and a quantity of '12' 1 Passed
And I click to save test method 'TestMethodStockUser' 1 Passed
Then I can see the message of 'Stock items updated successfully' 1 Passed
And I can see the test method version number is 'Published' '1' 1 Passed
Given I am logged in as user 'CreateTestSuiteUser' 1 Passed
And I click the Create test suite button 1 Passed
And I enter 'create test suite' in the name field 1 Passed
And I add the default test method to the test suite 1 Passed
Then I can see the message of 'Test suite created successfully' 1 Passed
Given I am logged in as user 'ViewTestSuiteUser' 1 Passed
And I click on test suite 'ViewSuiteTestSuite' on the test suite page 2 Passed
And I enter 'View suite description' into the description 1 Passed
And I can see the message of 'Test suite updated successfully' 2 Passed
Then I can see test suite 'ViewSuiteTestSuite' on the test suite view page 1 Passed
And The test suite view details show description 'View suite description' 1 Passed
Given I am logged in as user 'suitemethoduser' 1 Passed
And I click on the 'test suites' menu item 1 Passed
And I click on the default test method on the selected list 1 Passed
Then I am on the test methods edit page 1 Passed
And I can see the default test method 1 Passed
Given I am logged in as user 'SearchSuiteUser' 1 Passed
And I am on the test suites page 1 Passed
And I can see the message of 'No test suites found' 1 Passed
And I enter 'SearchTestSuite' into the search box 1 Passed
Then I can see test suite 'SearchTestSuite' in the list 1 Passed
Given I am logged in as user 'EditSuiteUser' 1 Passed
And I click on test suite 'EditTestSuite' on the test suite page 1 Passed
And I enter 'newsuitename' in the name field 1 Passed
Then I can see test suite 'newsuitename' in the list 1 Passed
Given I am logged in as user 'DeleteSuiteUser' 1 Passed
And I click on options and delete the test suite 'SuiteDeleteTestSuite' 1 Passed
And I can see the message of 'Deleting test suite SuiteDeleteTestSuite' 1 Passed
Then I can see a message advising me this will affect 'SuiteProduct' 1 Passed
And I can see a message advising me this will affect 'SecondSuiteTestMethod' 1 Passed
And I can see a message advising me this will affect 'SuiteTestMethod' 1 Passed
And I can see that the test suite 'SuiteDeleteTestSuite' has been deleted 1 Passed
Given I am logged in as user 'Resultsvieweruser' 1 Passed
And I click on the 'Trend' menu item 2 Passed
And I select the default options from setup data on the trend report 2 Passed
Then I can see the trend data graph 1 Passed
Given I am logged in as user 'Nodatatrenduser' 1 Passed
Then I can see the message of 'No trend results have been found. Please refine your search and try again' 1 Passed
Given I am logged in as user 'approveresultstrenddatauser' 1 Passed
And I have progressed a job up to approval with batchNo 'approveresultstrenddata' and input value '50.76' 1 Passed
And I click on the trend data button for the job on the approve samples page 1 Passed
Then I am on the trend report page 2 Passed
And I can see the correct trend report selections from approve samples 1 Passed
Given I am logged in as user 'verifiedtrenduser' 1 Passed
And I have progressed a job up to approval with batchNo 'verifiedtrendjobviewer' and input value '50.76' 1 Passed
When I click on the 'Approve samples' menu item 1 Passed
Then The trend icon shows for the job on the approve samples page 1 Passed
Given I am logged in as user 'testsummarytrenddatauser' 1 Passed
And I have progressed a job through the lifecycle process with batchNo 'testsummarytrenddata' and input value '50.76' 1 Passed
And I click on the default test method by name 3 Passed
And I click on the trend data button on the test summary page 1 Passed
And I can see the correct trend report selections from test summary 1 Passed
Given I am logged in as user 'resultsenteredtrenduser' 1 Passed
When I progress a job up to verify with batchNo 'resultsenteredtrend' and input value '50.76' and spec '' 1 Passed
Then The trend icon shows on the job 1 Passed
Given I am logged in as user 'importdatauser' 1 Passed
When I navigate to the 'administration' page 1 Passed
And I click on import 1 Passed
And I choose a csv file to upload 1 Passed
And I click to start import 1 Passed
Then I can see the message of 'File has uploaded successfully' 1 Passed
Given I am logged in as user 'usagetrackstockuser' 1 Passed
And I click on the 'Usage tracking' menu item 2 Passed
Then I can see the following usage tracking showing here: 2 Passed
Given I am logged in as user 'UTStockUser' 1 Passed
And I have progressed a job up to enter results with batchNo 'UTStock' 1 Passed
And I click on the edit test method button for test method 'UTSTockTM' on the test method page 1 Passed
And I select stock item 'UTStock' from the dual list and a quantity of '15' 1 Passed
And I click to save test method 'UTSTockTM' 1 Passed
And I choose stock batch 'UT987' for stock item 'UTStock' 1 Passed
Given I am logged in as user 'ERStockFilterUser' 1 Passed
And I have progressed a job up to enter results with batchNo 'ERStockFilterBatch' 1 Passed
And I click on the edit test method button for test method 'ERStockFilterTM' on the test method page 1 Passed
And I select stock item 'ERStockFilterItem' from the dual list and a quantity of '10' 1 Passed
And I click to save test method 'ERStockFilterTM' 1 Passed
Then I can see stock batch 'ERAPPROVED' available for selection for stock item 'ERStockFilterItem' 1 Passed
And I cannot see stock batch 'ERNOTAPPROVED' available for selection for stock item 'ERStockFilterItem' 1 Passed
And I cannot see stock batch 'EREXPIRED' available for selection for stock item 'ERStockFilterItem' 1 Passed
When I choose stock batch 'ERAPPROVED' for stock item 'ERStockFilterItem' 1 Passed
And I enter a quantity of '10' 1 Passed
Then I can see the message of 'Current Usage: 10 / 10 g' 1 Passed
Given I have created the user 'SettingsPermissionUser' 1 Passed
And I am logged in as user 'SettingsPermissionRemoveUser' 1 Passed
And I search for user 'SettingsPermissionUser' 1 Passed
And I click on user account 'SettingsPermissionUser' 1 Passed
And I select user from the account type drop down 49 Passed
And I select all permissions 49 Passed
And I remove 'settings manage' permission 1 Passed
And I can see the message of 'User updated successfully' 50 Passed
And I enter my credentials to log in to user 'SettingsPermissionUser' 1 Passed
Then I can see the organisation configure button 3 Passed
And I cannot see the settings configure button 1 Passed
And I cannot manually navigate to the 'Settings' page 1 Passed
Given I have created the user 'OrgPermissionUser' 1 Passed
And I am logged in as user 'OrgPermissionUserRM' 1 Passed
And I search for user 'OrgPermissionUser' 1 Passed
And I click on user account 'OrgPermissionUser' 1 Passed
And I remove 'organisation view' permission 1 Passed
And I remove 'organisation manage' permission 2 Passed
And I enter my credentials to log in to user 'OrgPermissionUser' 1 Passed
Then I can see the report settings configure button 1 Passed
And I can see the 'Report settings' menu item 1 Passed
And I cannot see the 'Organisation' menu item 1 Passed
And I cannot see the organisation configure button 1 Passed
And I cannot manually navigate to the 'Organisation' page 1 Passed
Given I have created the user 'labelsettingpermissionsuser' 1 Passed
And I am logged in as user 'labelsettingpermissionsuserRM' 1 Passed
And I search for user 'labelsettingpermissionsuser' 1 Passed
And I click on user account 'labelsettingpermissionsuser' 1 Passed
And I remove 'label settings' permission 1 Passed
And I enter my credentials to log in to user 'labelsettingpermissionsuser' 1 Passed
Then I can see the 'Organization' menu item 3 Passed
And I can see the organisation configure button 3 Passed
And I cannot see the 'label settings' menu item 1 Passed
And I cannot see the label settings configure button 1 Passed
And I cannot manually navigate to the 'label settings' page 1 Passed
Given I have created the user 'customfieldspermissionsuser' 1 Passed
And I am logged in as user 'customfieldspermissionsuserRM' 1 Passed
And I search for user 'customfieldspermissionsuser' 1 Passed
And I click on user account 'customfieldspermissionsuser' 1 Passed
And I remove 'custom fields manage' permission 1 Passed
And I enter my credentials to log in to user 'customfieldspermissionsuser' 1 Passed
Then I can see the 'Lists' menu item 1 Passed
And I cannot see the 'Custom fields' menu item 1 Passed
Given I have created the user 'reportsettingpermissionsuser' 1 Passed
And I am logged in as user 'reportsettingpermissionsuserRM' 1 Passed
And I search for user 'reportsettingpermissionsuser' 1 Passed
And I click on user account 'reportsettingpermissionsuser' 1 Passed
And I remove 'report settings' permission 1 Passed
And I enter my credentials to log in to user 'reportsettingpermissionsuser' 1 Passed
And I cannot see the 'report settings' menu item 1 Passed
And I cannot see the report settings configure button 1 Passed
Given I have created the user 'ListPermissionUser' 1 Passed
And I am logged in as user 'ListPermissionUserRM' 1 Passed
And I search for user 'ListPermissionUser' 1 Passed
And I click on user account 'ListPermissionUser' 1 Passed
And I remove 'lists manage' permission 1 Passed
And I enter my credentials to log in to user 'ListPermissionUser' 1 Passed
Then I can see the 'Custom fields' menu item 1 Passed
And I cannot see the 'List' menu item 1 Passed
And I cannot manually navigate to the 'Lists' page 1 Passed
Given I have created the user 'AuditPermissionUser' 1 Passed
And I am logged in as user 'AuditPermissionUserrm' 1 Passed
And I search for user 'AuditPermissionUser' 1 Passed
And I click on user account 'AuditPermissionUser' 1 Passed
And I remove 'audit view' permission 1 Passed
And I enter my credentials to log in to user 'AuditPermissionUser' 1 Passed
Then I can see the 'submit job' menu item 3 Passed
And I cannot see the 'audit' menu item 1 Passed
And I cannot manually navigate to the 'Audit' page 1 Passed
Given I have created the user 'ClientsPermissionUser' 1 Passed
And I am logged in as user 'ClientsPermissionUserrm' 1 Passed
And I search for user 'ClientsPermissionUser' 1 Passed
And I click on user account 'ClientsPermissionUser' 1 Passed
And I remove 'clients view' permission 1 Passed
And I enter my credentials to log in to user 'ClientsPermissionUser' 1 Passed
Then I can see the 'test methods' menu item 1 Passed
And I cannot see the 'Clients' menu item 1 Passed
And I cannot manually navigate to the 'Clients' page 1 Passed
Given I have created the user 'TestMethodsPermissionUser' 1 Passed
And I am logged in as user 'TestMethodsPermissionUserrm' 1 Passed
And I search for user 'TestMethodsPermissionUser' 1 Passed
And I click on user account 'TestMethodsPermissionUser' 1 Passed
And I remove 'setup data view' permission 1 Passed
And I enter my credentials to log in to user 'TestMethodsPermissionUser' 1 Passed
Then I can see the 'clients' menu item 1 Passed
And I cannot see the 'test methods' menu item 1 Passed
And I cannot see the 'test suites' menu item 1 Passed
And I cannot see the 'products' menu item 1 Passed
And I cannot manually navigate to the 'Test methods' page 1 Passed
And I cannot manually navigate to the 'Test suites' page 1 Passed
And I cannot manually navigate to the 'Products' page 1 Passed
Given I have created the user 'SubmitPermissionUser' 1 Passed
And I am logged in as user 'SubmitPermissionUserrm' 1 Passed
And I search for user 'SubmitPermissionUser' 1 Passed
And I click on user account 'SubmitPermissionUser' 1 Passed
And I remove 'lifecycle submit' permission 1 Passed
And I enter my credentials to log in to user 'SubmitPermissionUser' 1 Passed
Then I can see the 'receive samples' menu item 2 Passed
And I cannot see the 'submit job' menu item 1 Passed
And I cannot manually navigate to the 'Submit job' page 1 Passed
Given I have created the user 'ReceivePermissionUser' 1 Passed
And I am logged in as user 'ReceivePermissionUserrm' 1 Passed
And I search for user 'ReceivePermissionUser' 1 Passed
And I click on user account 'ReceivePermissionUser' 1 Passed
And I remove 'lifecycle receive' permission 1 Passed
And I enter my credentials to log in to user 'ReceivePermissionUser' 1 Passed
And I cannot see the 'receive samples' menu item 1 Passed
And I cannot manually navigate to the 'Receive samples' page 1 Passed
Given I have created the user 'ManageWorkPermissionUser' 1 Passed
And I am logged in as user 'ManageWorkPermissionUserrm' 1 Passed
And I search for user 'ManageWorkPermissionUser' 1 Passed
And I click on user account 'ManageWorkPermissionUser' 1 Passed
And I remove 'resources manage work' permission 1 Passed
And I enter my credentials to log in to user 'ManageWorkPermissionUser' 1 Passed
And I cannot see the 'Resources' menu item 1 Passed
And I cannot see the 'manage work' menu item 1 Passed
Given I have created the user 'DLWorkPermissionUser' 1 Passed
And I am logged in as user 'DLWorkPermissionUserrm' 1 Passed
And I add the default client to both users 22 Passed
And I search for user 'DLWorkPermissionUser' 1 Passed
And I click on user account 'DLWorkPermissionUser' 1 Passed
And I remove 'resources download workbook' permission 2 Passed
And I enter my credentials to log in to user 'DLWorkPermissionUser' 1 Passed
And I cannot see the download workbook button 1 Passed
Given I have created the user 'DLViewWorkPermissionUser' 1 Passed
And I am logged in as user 'DLViewWorkPermissionUserrm' 1 Passed
And I search for user 'DLViewWorkPermissionUser' 1 Passed
And I click on user account 'DLViewWorkPermissionUser' 1 Passed
And I enter my credentials to log in to user 'DLViewWorkPermissionUser' 1 Passed
And I cannot see the re-download workbook button 1 Passed
Given I have created the user 'EnterResultsPermissionUser' 1 Passed
And I am logged in as user 'EnterResultsPermissionUserrm' 1 Passed
And I search for user 'EnterResultsPermissionUser' 1 Passed
And I click on user account 'EnterResultsPermissionUser' 1 Passed
And I remove 'lifecycle results' permission 1 Passed
And I enter my credentials to log in to user 'EnterResultsPermissionUser' 1 Passed
And I cannot see the 'enter results' menu item 1 Passed
And I cannot manually navigate to the 'Enter results' page 1 Passed
Given I have created the user 'VerifyPermissionUser' 1 Passed
And I am logged in as user 'VerifyPermissionUserrm' 1 Passed
And I search for user 'VerifyPermissionUser' 1 Passed
And I click on user account 'VerifyPermissionUser' 1 Passed
And I remove 'lifecycle verify' permission 1 Passed
And I enter my credentials to log in to user 'VerifyPermissionUser' 1 Passed
Then I can see the 'enter results' menu item 1 Passed
And I cannot see the 'verify tests' menu item 1 Passed
And I cannot manually navigate to the 'Verify tests' page 1 Passed
Given I have created the user 'ApprovePermissionUser' 1 Passed
And I am logged in as user 'ApprovePermissionUserrm' 1 Passed
And I search for user 'ApprovePermissionUser' 1 Passed
And I click on user account 'ApprovePermissionUser' 1 Passed
And I remove 'lifecycle approve' permission 1 Passed
And I enter my credentials to log in to user 'ApprovePermissionUser' 1 Passed
Then I can see the 'verify tests' menu item 1 Passed
And I cannot see the 'approve samples' menu item 1 Passed
And I cannot manually navigate to the 'Approve samples' page 1 Passed
Given I have created the user 'TrendViewerPermissionsUser' 1 Passed
And I am logged in as user 'TrendViewerPermissionsUserrm' 1 Passed
And I search for user 'TrendViewerPermissionsUser' 1 Passed
And I click on user account 'TrendViewerPermissionsUser' 1 Passed
And I remove 'analytics trend' permission 3 Passed
And I enter my credentials to log in to user 'TrendViewerPermissionsUser' 1 Passed
Then I cannot see the 'Trend' menu item 1 Passed
Given I have created the user 'OOSResultsPermissionsUser' 1 Passed
And I am logged in as user 'OOSResultsPermissionsUserrm' 1 Passed
And I search for user 'OOSResultsPermissionsUser' 1 Passed
And I click on user account 'OOSResultsPermissionsUser' 1 Passed
And I remove 'analytics oos results' permission 1 Passed
And I enter my credentials to log in to user 'OOSResultsPermissionsUser' 1 Passed
Then I cannot see the 'OOS Results' menu item 1 Passed
And I cannot manually navigate to the 'OOS' page 1 Passed
Given I have created the user 'TrendSampleViewerPermissionsUser' 1 Passed
And I am logged in as user 'TrendSampleViewerPermissionsUserrm' 1 Passed
And I have progressed a job up to approval with batchNo 'batch' and input value '50.76' 1 Passed
And I search for user 'TrendSampleViewerPermissionsUser' 1 Passed
And I click on user account 'TrendSampleViewerPermissionsUser' 1 Passed
And I enter my credentials to log in to user 'TrendSampleViewerPermissionsUser' 1 Passed
Then The trend icon does not show for the job on the approve samples page 1 Passed
Given I have created the user 'TrendJobViewerPermissionsUser' 1 Passed
And I am logged in as user 'TrendJobViewerPermissionsUserrm' 1 Passed
And I have progressed a job through the lifecycle process with batchNo 'batch' and input value '50.76' 1 Passed
And I search for user 'TrendJobViewerPermissionsUser' 1 Passed
And I click on user account 'TrendJobViewerPermissionsUser' 1 Passed
And I enter my credentials to log in to user 'TrendJobViewerPermissionsUser' 1 Passed
Then The trend icon does not show on the job 1 Passed
Given I have created the user 'EditTestsSubmitPermissionsUser' 1 Passed
And I am logged in as user 'EditTestsSubmitPermissionsUserrm' 1 Passed
And I search for user 'EditTestsSubmitPermissionsUser' 1 Passed
And I click on user account 'EditTestsSubmitPermissionsUser' 1 Passed
And I remove 'samples add tests' permission 2 Passed
And I enter my credentials to log in to user 'EditTestsSubmitPermissionsUser' 1 Passed
And I enter 'EditJobTests' into the batch number 1 Passed
Then I cannot see the edit tests icon on the create job page 1 Passed
Given I have created the user 'EditTestsJobPermissionsUser' 1 Passed
And I am logged in as user 'EditTestsJobPermissionsUserrm' 1 Passed
And I have progressed a job through the lifecycle process with batchNo 'batch' and input value '0.009' 1 Passed
And I search for user 'EditTestsJobPermissionsUser' 1 Passed
And I click on user account 'EditTestsJobPermissionsUser' 1 Passed
And I enter my credentials to log in to user 'EditTestsJobPermissionsUser' 1 Passed
Then I cannot see the edit tests button on the job 1 Passed
Given I have created the user 'LabelDownloadPermissionsUser' 1 Passed
And I am logged in as user 'LabelDownloadPermissionsUserrm' 1 Passed
And I have progressed a job up to enter results with batchNo 'label' 1 Passed
And I search for user 'LabelDownloadPermissionsUser' 1 Passed
And I click on user account 'LabelDownloadPermissionsUser' 1 Passed
And I remove 'samples label' permission 1 Passed
And I enter my credentials to log in to user 'LabelDownloadPermissionsUser' 1 Passed
Then I cannot see the label button on the sample 1 Passed
Given I have created the user 'ExportResultPermissionsUser' 1 Passed
And I am logged in as user 'ExportResultPermissionsUserrm' 1 Passed
And I search for user 'ExportResultPermissionsUser' 1 Passed
And I click on user account 'ExportResultPermissionsUser' 1 Passed
And I remove 'results export' permission 1 Passed
And I enter my credentials to log in to user 'ExportResultPermissionsUser' 1 Passed
Then I cannot see the 'Export results' menu item 1 Passed
And I cannot manually navigate to the 'Export results' page 1 Passed
Given I have created the user 'CompanyAddressPermissionsUser' 1 Passed
And I am logged in as user 'CompanyAddressPermissionsUserrm' 1 Passed
And I search for user 'CompanyAddressPermissionsUser' 1 Passed
And I click on user account 'CompanyAddressPermissionsUser' 1 Passed
And I enter my credentials to log in to user 'CompanyAddressPermissionsUser' 1 Passed
Then I cannot see the edit address fields 1 Passed
Given I have created the user 'ResultsImportPermissionsUser' 1 Passed
And I am logged in as user 'ResultsImportPermissionsUserrm' 1 Passed
And I search for user 'ResultsImportPermissionsUser' 1 Passed
And I click on user account 'ResultsImportPermissionsUser' 1 Passed
And I remove 'reports import' permission 1 Passed
And I enter my credentials to log in to user 'ResultsImportPermissionsUser' 1 Passed
And I cannot see the import results data menu item 1 Passed
Given I have created the user 'SampleSpecPermissionsUser' 1 Passed
And I am logged in as user 'SampleSpecPermissionsUserrm' 1 Passed
And I have progressed a job up to enter results with batchNo 'spec' 11 Passed
And I search for user 'SampleSpecPermissionsUser' 1 Passed
And I click on user account 'SampleSpecPermissionsUser' 1 Passed
And I remove 'sample spec' permission 1 Passed
And I enter my credentials to log in to user 'SampleSpecPermissionsUser' 1 Passed
Then I cannot change the spec on the sample 1 Passed
Given I have created the user 'DeleteSamplePermissionsUser' 1 Passed
And I am logged in as user 'DeleteSamplePermissionsUserrm' 1 Passed
And I search for user 'DeleteSamplePermissionsUser' 1 Passed
And I click on user account 'DeleteSamplePermissionsUser' 1 Passed
And I remove 'samples delete' permission 1 Passed
And I enter my credentials to log in to user 'DeleteSamplePermissionsUser' 1 Passed
And I click on the sample options button 2 Passed
Then I cannot see the delete option 3 Passed
Given I have created the user 'EditSamplePermissionsUser' 1 Passed
And I am logged in as user 'EditSamplePermissionsUserrm' 1 Passed
And I search for user 'EditSamplePermissionsUser' 1 Passed
And I click on user account 'EditSamplePermissionsUser' 1 Passed
And I remove 'samples edit' permission 1 Passed
And I enter my credentials to log in to user 'EditSamplePermissionsUser' 1 Passed
Then I can see that the sample details fields are not editable 1 Passed
Given I have created the user 'AddSamplePermissionsUser' 1 Passed
And I am logged in as user 'AddSamplePermissionsUserem' 1 Passed
And I search for user 'AddSamplePermissionsUser' 1 Passed
And I click on user account 'AddSamplePermissionsUser' 1 Passed
And I remove 'jobs add samples' permission 1 Passed
And I enter my credentials to log in to user 'AddSamplePermissionsUser' 1 Passed
Then I cannot see the add sample button 1 Passed
Given I have created the user 'DeleteJobPermissionsUser' 1 Passed
And I am logged in as user 'DeleteJobPermissionsUserrm' 1 Passed
And I search for user 'DeleteJobPermissionsUser' 1 Passed
And I click on user account 'DeleteJobPermissionsUser' 1 Passed
And I remove 'jobs delete' permission 1 Passed
And I enter my credentials to log in to user 'DeleteJobPermissionsUser' 1 Passed
Given I have created the user 'EditJobPermissionsUser' 1 Passed
And I am logged in as user 'EditJobPermissionsUserrm' 1 Passed
And I search for user 'EditJobPermissionsUser' 1 Passed
And I click on user account 'EditJobPermissionsUser' 1 Passed
And I remove 'jobs edit' permission 1 Passed
And I enter my credentials to log in to user 'EditJobPermissionsUser' 1 Passed
Then I can see that the job details fields are not editable 1 Passed
Given I have created the user 'RevertApprovalPermissionsUser' 1 Passed
And I am logged in as user 'RevertApprovalPermissionsUserrm' 1 Passed
And I have progressed a job through the lifecycle process with batchNo 'appproved' and input value '1' 1 Passed
And I search for user 'RevertApprovalPermissionsUser' 1 Passed
And I click on user account 'RevertApprovalPermissionsUser' 1 Passed
And I remove 'lifecycle revert approval' permission 1 Passed
And I enter my credentials to log in to user 'RevertApprovalPermissionsUser' 1 Passed
Then I cannot see the revert approval option 1 Passed
Given I have created the user 'RevertVerificationPermissionsUser' 1 Passed
And I am logged in as user 'RevertVerificationPermissionsUserrm' 1 Passed
And I have progressed a job up to approval with batchNo 'verified' and input value '2' 1 Passed
And I search for user 'RevertVerificationPermissionsUser' 1 Passed
And I click on user account 'RevertVerificationPermissionsUser' 1 Passed
And I remove 'lifecycle revert verification' permission 1 Passed
And I enter my credentials to log in to user 'RevertVerificationPermissionsUser' 1 Passed
And I click on options for the test method on the sample viewer 1 Passed
Then I cannot see the revert verification option 1 Passed
Given I have created the user 'DeleteSetupPermissionsUser' 1 Passed
And I am logged in as user 'DeleteSetupPermissionsUserrm' 1 Passed
And I search for user 'DeleteSetupPermissionsUser' 1 Passed
And I click on user account 'DeleteSetupPermissionsUser' 1 Passed
And I remove 'setup data delete' permission 1 Passed
And I enter my credentials to log in to user 'DeleteSetupPermissionsUser' 1 Passed
Given I have created the user 'PublishSetupPermissionsUser' 1 Passed
And I am logged in as user 'PublishSetupPermissionsUserrm' 1 Passed
And I search for user 'PublishSetupPermissionsUser' 1 Passed
And I click on user account 'PublishSetupPermissionsUser' 1 Passed
And I remove 'setup data publish' permission 1 Passed
And I enter my credentials to log in to user 'PublishSetupPermissionsUser' 1 Passed
And I enter 'publishTM' in the name field 1 Passed
And I name the input 'createtminput' 1 Passed
Then I can see the publish button is disabled 1 Passed
Given I have created the user 'ArchiveUserPermissionsUser' 1 Passed
And I am logged in as user 'ArchiveUserPermissionsUserrm' 1 Passed
And I search for user 'ArchiveUserPermissionsUser' 1 Passed
And I click on user account 'ArchiveUserPermissionsUser' 1 Passed
And I remove 'user accounts archive' permission 1 Passed
And I enter my credentials to log in to user 'ArchiveUserPermissionsUser' 1 Passed
And I click on options for user 'archiveuserpermissionsuserrm' 1 Passed
Then I cannot see the archive option 1 Passed
Given I have created the user 'ViewUserPermissionsUser' 1 Passed
And I am logged in as user 'ViewUserPermissionsUserrm' 1 Passed
And I search for user 'ViewUserPermissionsUser' 1 Passed
And I click on user account 'ViewUserPermissionsUser' 1 Passed
And I remove 'user accounts manage' permission 1 Passed
And I enter my credentials to log in to user 'ViewUserPermissionsUser' 1 Passed
And I cannot see the user accounts configure button 1 Passed
And I cannot see the 'user accounts' menu item 1 Passed
And I cannot manually navigate to the 'User accounts' page 1 Passed
Given I have created the user 'SampleAAttachmentsPermissionsUser' 1 Passed
And I am logged in as user 'SampleAAttachmentsPermissionsUserrm' 1 Passed
And I search for user 'SampleAAttachmentsPermissionsUser' 1 Passed
And I click on user account 'SampleAAttachmentsPermissionsUser' 1 Passed
And I remove 'samples add attachments' permission 1 Passed
And I enter my credentials to log in to user 'SampleAAttachmentsPermissionsUser' 1 Passed
Given I have created the user 'SampleDAttachmentsPermissionsUser' 1 Passed
And I am logged in as user 'SampleDAttachmentsPermissionsUserrm' 1 Passed
And I search for user 'SampleDAttachmentsPermissionsUser' 1 Passed
And I click on user account 'SampleDAttachmentsPermissionsUser' 1 Passed
And I remove 'samples delete attachments' permission 1 Passed
And I enter my credentials to log in to user 'SampleDAttachmentsPermissionsUser' 1 Passed
Then I cannot see the option to delete the attachment 2 Passed
Given I have created the user 'JobAAttachmentsPermissionsUser' 1 Passed
And I am logged in as user 'JobAAttachmentsPermissionsUserrm' 1 Passed
And I search for user 'JobAAttachmentsPermissionsUser' 1 Passed
And I click on user account 'JobAAttachmentsPermissionsUser' 1 Passed
And I remove 'jobs add attachments' permission 1 Passed
And I enter my credentials to log in to user 'JobAAttachmentsPermissionsUser' 1 Passed
Given I have created the user 'JobDAttachmentsPermissionsUser' 1 Passed
And I am logged in as user 'JobDAttachmentsPermissionsUserrm' 1 Passed
And I search for user 'JobDAttachmentsPermissionsUser' 1 Passed
And I click on user account 'JobDAttachmentsPermissionsUser' 1 Passed
And I remove 'jobs delete attachments' permission 1 Passed
And I enter my credentials to log in to user 'JobDAttachmentsPermissionsUser' 1 Passed
Given I have created the user 'InvestigationPermissionsUser' 1 Passed
And I am logged in as user 'InvestigationPermissionsUserrm' 1 Passed
And I search for user 'InvestigationPermissionsUser' 1 Passed
And I click on user account 'InvestigationPermissionsUser' 1 Passed
And I remove 'samples investigations' permission 1 Passed
And I enter my credentials to log in to user 'InvestigationPermissionsUser' 1 Passed
Then I cannot see the start investigation button 1 Passed
Given I have created the user 'RegenerateSamplePermissionsUser' 1 Passed
And I am logged in as user 'RegenerateSamplePermissionsUserrm' 1 Passed
And I search for user 'RegenerateSamplePermissionsUser' 1 Passed
And I click on user account 'RegenerateSamplePermissionsUser' 1 Passed
And I remove 'samples regenerate cert' permission 1 Passed
And I enter my credentials to log in to user 'RegenerateSamplePermissionsUser' 1 Passed
Then I cannot see the regenerate sample certificate button 2 Passed
Given I have created the user 'RegenerateJobPermissionsUser' 1 Passed
And I am logged in as user 'RegenerateJobPermissionsUserrm' 1 Passed
And I search for user 'RegenerateJobPermissionsUser' 1 Passed
And I click on user account 'RegenerateJobPermissionsUser' 1 Passed
And I remove 'job regenerate cert' permission 1 Passed
And I enter my credentials to log in to user 'RegenerateJobPermissionsUser' 1 Passed
Given I have created the user 'EquipmentPermissionUser' 1 Passed
And I am logged in as user 'EquipmentPermissionUserrm' 1 Passed
And I search for user 'EquipmentPermissionUser' 1 Passed
And I click on user account 'EquipmentPermissionUser' 1 Passed
And I remove 'equipment items manage' permission 1 Passed
And I enter my credentials to log in to user 'EquipmentPermissionUser' 1 Passed
And I click on the 'Equipment' menu item 2 Passed
Then I can see the 'Maintenance' menu item 1 Passed
And I cannot see the 'Equipment Items' menu item 1 Passed
And I cannot manually navigate to the 'Equipment items' page 1 Passed
Given I have created the user 'EquipmentMainPermissionUser' 1 Passed
And I am logged in as user 'EquipmentMainPermissionUserrm' 1 Passed
And I search for user 'EquipmentMainPermissionUser' 1 Passed
And I click on user account 'EquipmentMainPermissionUser' 1 Passed
And I remove 'equipment maintenance manage' permission 1 Passed
And I enter my credentials to log in to user 'EquipmentMainPermissionUser' 1 Passed
Then I can see the 'Equipment Items' menu item 1 Passed
And I cannot see the 'Maintenance' menu item 1 Passed
And I cannot manually navigate to the 'Equipment Maintenance' page 1 Passed
Given I have created the user 'resultsimportpermissionsuser' 1 Passed
And I am logged in as user 'resultsimportpermissionsuserRM' 1 Passed
And I search for user 'resultsimportpermissionsuser' 1 Passed
And I click on user account 'resultsimportpermissionsuser' 1 Passed
And I remove 'results import configuration manage' permission 1 Passed
And I enter my credentials to log in to user 'resultsimportpermissionsuser' 1 Passed
And I cannot see the results import configure button 1 Passed
And I cannot manually navigate to the 'results import configuration' page 1 Passed
Given I am logged in as user 'bslAdminRoleUser' 1 Passed
And I click on the create user account button 1 Passed
Then I can see 'User' and 'Administrator' account types but not 'BSL Admin' in the drop down 1 Passed
Given I have created the user 'disablethisuser' 1 Passed
And I am logged in as user 'disableaccountuser' 1 Passed
And I search for user 'disablethisuser' 1 Passed
And I click on options for user 'disablethisuser' 1 Passed
Then I can see the message of 'disablethisuser has been disabled' 1 Passed
And I can see that the user 'disablethisuser' shows as disabled 1 Passed
Given I have created the user 'archivethisuser' 1 Passed
And I am logged in as user 'archiveaccountuser' 1 Passed
And I click on options for user 'archivethisuser' 1 Passed
And I click on archive account 1 Passed
And I can see the message of 'archivethisuser has been archived' 1 Passed
And I click on show archived accounts tick box 1 Passed
Then I can see that the user 'archivethisuser' shows as disabled 1 Passed
And I can see that the user 'archivethisuser' shows as archived 1 Passed
Given I have created the user 'editthisuser' 1 Passed
And I am logged in as user 'editaccountuser' 1 Passed
And I search for user 'editthisuser' 1 Passed
And I click on user account 'editthisuser' 1 Passed
And I enter 'John' into the first name field 1 Passed
And I enter 'Smith' into the last name field 1 Passed
Then I can see the name for account 'editthisuser' shows as 'John Smith' 1 Passed
Given I am logged in as user 'OnlyOrgUser' 1 Passed
Then I cannot see the BSL admin default user 1 Passed
Given I am logged in as user 'verifyTestsUser' 1 Passed
When I have progressed a job up to verify with batchNo 'verify' and input value '40' and spec 'Default specification' 1 Passed
Then I tick then verify the results 1 Passed
And I can see the message of 'Test verified successfully' 1 Passed
Given I am logged in as user 'VerifyUser' 1 Passed
Given I am logged in as user 'clientFilterVerifyUser' 1 Passed
And I have created the user 'spareVerifyUser' 1 Passed
And I have navigated to the 'Verify tests' page 1 Passed
Given I am logged in as user 'UpdateWarnUser' 1 Passed
When I click on product 'UpdateWarnProduct' on the products page 1 Passed
And I can see 'Specification: Between 1 and 5. Warning Limit: Between 2 and 4' in the output spec summary 1 Passed
Given I am logged in as user 'ApproveFailResultSpecUser2' 1 Passed
And I enter '0.00000022' in the lower warning limit 2 Passed
And I enter '0.00000025' in the upper warning limit 2 Passed
And I progress a job up to approval with batchNo 'viewfailspecsresults' and input value '0.00000026' and spec 'Default specification' 1 Passed
Then I can see that the job failed the warning requirements with the message of 'Pass (1 of 2 tests outside of warning limit)' on the approve samples page 1 Passed
Given I am logged in as user 'EnterResultsWarnUser' 1 Passed
When I click on product 'EnterResultsWarnProduct' on the products page 1 Passed
And I click the publish button for product 'EnterResultsWarnProduct' 1 Passed
And I progress a job up to enter results with batchNo 'batch' and spec 'Default specification' 1 Passed
And I drop down the test method 'EnterResultsWarnTestMethod1' on the enter results page 1 Passed
And I click into the first input and enter '5' 1 Passed
Then I can see the warning limit on the enter results page 1 Passed
And I can see the limit details of 'Warning limit: Between 2 and 4' when I view the summary and hover the result 1 Passed
Given I am logged in as user 'VerifyTestsWarnUser' 1 Passed
When I click on product 'VerifyTestsWarnProduct' on the products page 1 Passed
And I click the publish button for product 'VerifyTestsWarnProduct' 1 Passed
And I have progressed a job up to verify with batchNo 'verifyWarnresults' and input value '5' and spec 'Default specification' 1 Passed
And I click to expand test 'VerifyTestsWarnTestMethod1' on the verify tests page 1 Passed
Then I can see that the test hit the warning limit on the verify tests page 1 Passed
Given I am logged in as user 'TestViewResultSpecUser3' 1 Passed
And I progress a job up to approval with batchNo 'testviewspecsresults' and input value '0.00000026' and spec 'Default specification' 1 Passed
Then I can see the warning that the test does not match warning limit on the test viewer 4 Passed
Given I am logged in as user 'TestViewResultWarnDiffUser' 1 Passed
When I click on product 'TestViewResultWarnDiffProduct' on the products page 1 Passed
And I enter '-7' in the lower limit 1 Passed
And I enter '-1' in the upper limit 1 Passed
And I select 'Less than' from the warning operator the drop down 1 Passed
And I enter '-4' in the upper warning limit 1 Passed
And I click the publish button for product 'TestViewResultWarnDiffProduct' 1 Passed
And I progress a job up to approval with batchNo 'testviewWarndiffresults' and input value '-3' and spec 'Default specification' 1 Passed
And I view the test method 'TestViewResultWarnDiffTestMethod1' on the sample details page 1 Passed
Given I am logged in as user 'warnnospecUser' 1 Passed
When I click on product 'warnnospecProduct' on the products page 1 Passed
And I select 'Greater than' from the warning operator the drop down 2 Passed
And I select 'Between' from the warning operator the drop down 1 Passed
And I enter '1.654' in the lower warning limit 1 Passed
And I enter '2.9065' in the upper warning limit 1 Passed
And I click the publish button for product 'warnnospecProduct' 1 Passed
And I progress a job up to approval with batchNo 'warnnospecresults' and input value '2.9066' and spec 'Default specification' 1 Passed
And I view the test method 'warnnospecTestMethod1' on the sample details page 1 Passed
Given I am logged in as user 'ChangeResultSpecWarnUser' 1 Passed
When I click on product 'ChangeResultSpecWarnProduct' on the products page 1 Passed
And I select 'Greater than or equal to' from the operator drop down 1 Passed
And I enter '4' in the lower warning limit 1 Passed
And I click the publish button for product 'ChangeResultSpecWarnProduct' 1 Passed
And I have progressed a job up to verify with batchNo 'changespecwarnresults' and input value '1' and spec 'Default specification' 1 Passed
And I view the test method 'ChangeResultSpecWarnTestMethod1' on the sample details page 2 Passed
And I update the test result of the created job with an input value of '3' 1 Passed
@SetupData
Feature: AdjustStock

@SetupData
Feature: ApproveSamples

@SetupData
Feature: Attachments

@SetupData
Feature: Audit

@SetupData
Feature: Clients

@SetupData @ClearCustomFields
Feature: Custom fields

@SetupData
Feature: Dashboard

@SetupData
Feature: EnterResults

@SetupData
Feature: EquipmentItems

@SetupData
Feature: EquipmentMaintenance

@SetupData
Feature: ExpiredStock

@SetupData
Feature: Inventory

@SetupData @DeleteSetupData
Feature: Investigations

@SetupData
Feature: JobAndSampleList

@SetupData
Feature: JobCertificate

@SetupData
Feature: JobSubmissionSummary

@SetupData @DeleteSetupData
Feature: JobViewer

@SetupData
Feature: LabelSettings

@SetupData
Feature: LifecycleProcess

@SetupData
Feature: Lists

@Login
Feature: Login

@SetupData
Feature: ManageWork

@SetupData
Feature: MenuNavigation

@SetupData
Feature: Organisation

@SetupData
Feature: OutOfSpecResults

@SetupData
Feature: Portal

@SetupData @DeleteSetupData
Feature: Product Attachments

@SetupData @DeleteSetupData
Feature: Products

@SetupData
Feature: ReceiveSamples

@SetupData
Feature: ReceiveStock

@SetupData
Feature: ReportSettings

@SetupData
Feature: ResultsExport

@SetupData @DeleteSetupData
Feature: ResultsImport

@SetupData
Feature: SampleCertificate

@SetupData
Feature: SampleLabel

@SetupData @DeleteSetupData
Feature: SampleViewer

@SetupData
Feature: Settings

@SetupData @DeleteSetupData
Feature: Specifications

@SetupData
Feature: StockItems

@SetupData
Feature: Submit

@SetupData
Feature: SubscriptionTier

@SetupData @DeleteSetupData
Feature: TestMethods

@SetupData @DeleteSetupData
Feature: TestSuites

@SetupData
Feature: Trending

@SetupData
Feature: UsageTracking

@SetupData
Feature: User Permissions

@SetupData
Feature: UserAccounts

@SetupData
Feature: VerifyTests

@SetupData @DeleteSetupData
Feature: Warning Limits

Scenario: I can manually adjust a batch of stock and see this reflected on the inventory page 1 20s 568ms
  • Given I am logged in as user 'Adjuststockuser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | |
    | Item Code | C123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | |
    | Batch | |
    | Quantity | 64 |
    | Status | Approved |
    | Expiry | Tomorrow |
  • When I click on the 'Stock' menu item
  • And I click on the 'Adjust stock' menu item
  • And I click the adjust stock button
  • And I populate the adjust stock form with the following:
    | Key | Value |
    | Stock Item | |
    | Stock Batch | |
    | Quantity | 45 |
    | Reason | Expired |
    | Type | |
    | Correction | |
  • And I click the adjust stock button
  • And I can see the message of 'Stock availability updated successfully'
  • And I click on the 'Inventory' menu item
  • Then I can see the following stock item showing here:
    | Key | Value |
    | Stock Item | |
    | Item Code | C123 |
    | Available Quantity | |
    | Units | g |
    | Availability | In Stock |
Examples:
| type | correction | quantity | batch | item |
| Disposal | | 19 | DIS123 | DisStock |

Scenario: I can manually adjust a batch of stock and see this reflected on the inventory page 2 13s 866ms
  • Given I am logged in as user 'Adjuststockuser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | |
    | Item Code | C123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | |
    | Batch | |
    | Quantity | 64 |
    | Status | Approved |
    | Expiry | Tomorrow |
  • When I click on the 'Stock' menu item
  • And I click on the 'Adjust stock' menu item
  • And I click the adjust stock button
  • And I populate the adjust stock form with the following:
    | Key | Value |
    | Stock Item | |
    | Stock Batch | |
    | Quantity | 45 |
    | Reason | Expired |
    | Type | |
    | Correction | |
  • And I click the adjust stock button
  • And I can see the message of 'Stock availability updated successfully'
  • And I click on the 'Inventory' menu item
  • Then I can see the following stock item showing here:
    | Key | Value |
    | Stock Item | |
    | Item Code | C123 |
    | Available Quantity | |
    | Units | g |
    | Availability | In Stock |
Examples:
| type | correction | quantity | batch | item |
| Consumption | | 19 | CON123 | ConStock |

Scenario: I can manually adjust a batch of stock and see this reflected on the inventory page 3 14s 716ms
  • Given I am logged in as user 'Adjuststockuser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | |
    | Item Code | C123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | |
    | Batch | |
    | Quantity | 64 |
    | Status | Approved |
    | Expiry | Tomorrow |
  • When I click on the 'Stock' menu item
  • And I click on the 'Adjust stock' menu item
  • And I click the adjust stock button
  • And I populate the adjust stock form with the following:
    | Key | Value |
    | Stock Item | |
    | Stock Batch | |
    | Quantity | 45 |
    | Reason | Expired |
    | Type | |
    | Correction | |
  • And I click the adjust stock button
  • And I can see the message of 'Stock availability updated successfully'
  • And I click on the 'Inventory' menu item
  • Then I can see the following stock item showing here:
    | Key | Value |
    | Stock Item | |
    | Item Code | C123 |
    | Available Quantity | |
    | Units | g |
    | Availability | In Stock |
Examples:
| type | correction | quantity | batch | item |
| Correction | Add | 109 | CORA123 | CorAStock |

Scenario: I can manually adjust a batch of stock and see this reflected on the inventory page 4 14s 383ms
  • Given I am logged in as user 'Adjuststockuser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | |
    | Item Code | C123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | |
    | Batch | |
    | Quantity | 64 |
    | Status | Approved |
    | Expiry | Tomorrow |
  • When I click on the 'Stock' menu item
  • And I click on the 'Adjust stock' menu item
  • And I click the adjust stock button
  • And I populate the adjust stock form with the following:
    | Key | Value |
    | Stock Item | |
    | Stock Batch | |
    | Quantity | 45 |
    | Reason | Expired |
    | Type | |
    | Correction | |
  • And I click the adjust stock button
  • And I can see the message of 'Stock availability updated successfully'
  • And I click on the 'Inventory' menu item
  • Then I can see the following stock item showing here:
    | Key | Value |
    | Stock Item | |
    | Item Code | C123 |
    | Available Quantity | |
    | Units | g |
    | Availability | In Stock |
Examples:
| type | correction | quantity | batch | item |
| Correction | Remove | 19 | CORR123 | CorRStock |

Scenario: I can manually adjust stock and see this on the recently adjustment history table 13s 108ms
  • Given I am logged in as user 'AdjustViewStockUser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | AdjustViewStock |
    | Item Code | CV123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | AdjustViewStock |
    | Batch | CV45634 |
    | Quantity | 64 |
    | Status | Approved |
    | Expiry | Tomorrow |
  • When I click on the 'Stock' menu item
  • And I click on the 'Adjust stock' menu item
  • And I click the adjust stock button
  • And I populate the adjust stock form with the following:
    | Key | Value |
    | Stock Item | AdjustViewStock |
    | Stock Batch | CV45634 |
    | Quantity | 54 |
    | Reason | Expired |
    | Type | Disposal |
    | Correction | |
  • And I click the adjust stock button
  • And I can see the message of 'Stock availability updated successfully'
  • Then I can see the following recently adjusted stock in the table:
    | Key | Value |
    | Type | Disposal |
    | Reason | Expired |
    | Stock Item | AdjustViewStock |
    | Item Code | CV123 |
    | Batch | CV45634 |
    | Quantity | - 54 |
    | Units | g |
    | Date | a few seconds ago |
    | User | adjustviewstockuser |

Scenario: A stock batch is removed from inventory view when adjusted to zero 14s 181ms
  • Given I am logged in as user 'Adjuststockzerouser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | ZeroBatchStock |
    | Item Code | ZB123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | ZeroBatchStock |
    | Batch | ZERO123 |
    | Quantity | 64 |
    | Status | Approved |
    | Expiry | Tomorrow |
  • When I click on the 'Stock' menu item
  • And I click on the 'Adjust stock' menu item
  • And I click the adjust stock button
  • And I populate the adjust stock form with the following:
    | Key | Value |
    | Stock Item | ZeroBatchStock |
    | Stock Batch | ZERO123 |
    | Quantity | 64 |
    | Reason | Expired |
    | Type | Disposal |
    | Correction | |
  • And I click the adjust stock button
  • And I can see the message of 'Stock availability updated successfully'
  • And I click on the 'Inventory' menu item
  • And I click on stock item 'ZeroBatchStock'
  • Then I can no longer see stock batch 'ZERO123' on inventory

Scenario: Stock item remains visible as out of stock when all batches are reduced to zero 13s 741ms
  • Given I am logged in as user 'Adjuststockzeruser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | ZeroVisibleStock |
    | Item Code | ZV123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | ZeroVisibleStock |
    | Batch | ZEROVIS123 |
    | Quantity | 64 |
    | Status | Approved |
    | Expiry | Tomorrow |
  • When I click on the 'Stock' menu item
  • And I click on the 'Adjust stock' menu item
  • And I click the adjust stock button
  • And I populate the adjust stock form with the following:
    | Key | Value |
    | Stock Item | ZeroVisibleStock |
    | Stock Batch | ZEROVIS123 |
    | Quantity | 64 |
    | Reason | Expired |
    | Type | Disposal |
    | Correction | |
  • And I click the adjust stock button
  • And I can see the message of 'Stock availability updated successfully'
  • And I click on the 'Inventory' menu item
  • Then I can see the following stock item showing here:
    | Key | Value |
    | Stock Item | ZeroVisibleStock |
    | Item Code | ZV123 |
    | Available Quantity | 0 |
    | Units | g |
    | Availability | Out of Stock |
  • And I click on stock item 'ZeroVisibleStock'
  • And I can no longer see stock batch 'ZEROVIS123' on inventory

Scenario: Zero-quantity stock batch behavior is consistent across stock module pages 14s 810ms
  • Given I am logged in as user 'Adjuststockzerouser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | ZeroModuleStock |
    | Item Code | ZM123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | ZeroModuleStock |
    | Batch | ZMOD123 |
    | Quantity | 64 |
    | Status | Approved |
    | Expiry | Yesterday |
  • When I click on the 'Stock' menu item
  • And I click on the 'Adjust stock' menu item
  • And I click the adjust stock button
  • And I populate the adjust stock form with the following:
    | Key | Value |
    | Stock Item | ZeroModuleStock |
    | Stock Batch | ZMOD123 |
    | Quantity | 64 |
    | Reason | Expired |
    | Type | Disposal |
    | Correction | |
  • And I click the adjust stock button
  • And I can see the message of 'Stock availability updated successfully'
  • Then I can see the following recently adjusted stock in the table:
    | Key | Value |
    | Type | Disposal |
    | Reason | Expired |
    | Stock Item | ZeroModuleStock |
    | Item Code | ZM123 |
    | Batch | ZMOD123 |
    | Quantity | - 64 |
    | Units | g |
    | Date | a few seconds ago |
    | User | adjuststockzerouser |
  • And I click on the 'Inventory' menu item
  • And I click on stock item 'ZeroModuleStock'
  • And I can no longer see stock batch 'ZMOD123' on inventory
  • And I click on the 'expired stock' menu item
  • And I can no longer see stock item 'ZeroModuleStock' showing here

Scenario: I can select a job and approve the samples for it 13s 988ms
  • Given I am logged in as user 'ApproveSampleUser'
  • When I progress a job up to approval with batchNo 'approve' and input value '123' and spec 'Default specification'
  • And I click on the 'Approve samples' menu item
  • And I search for the created job
  • And I tick then approve the results
  • Then I can see the message of 'Samples approved successfully'

Scenario: I can only see jobs on the approve samples page that have been verified 12s 975ms
  • Given I am logged in as user 'ApproveUser'
  • When I progress a job up to verify with batchNo 'TestBatch123' and input value '10' and spec 'Default specification'
  • And I click on the 'Approve samples' menu item
  • Then I can not see the job appear when I search for it

@DeleteSetupData
Scenario: I can only see jobs associated with my assigned clients at approve samples 26s 040ms
  • Given I am logged in as user 'clientFilterApproveUser'
  • And I have created the user 'spareApproveUser'
  • And I have progressed a job up to approval with batchNo 'TestBatch123' and input value '5'
  • And I create the following setup data:
    | Key | Value |
    | Username | spareApproveUser |
    | TestMethodName | clientApproveFilterMethod1 |
    | TestMethod2Name | clientApproveFilterMethod2 |
    | ClientName | clientApproveFilterClient |
    | ProductName | clientApproveFilterProduct |
    | TestSuiteName | clientApproveFilterTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I have submitted a job with the following data:
    | Key | Value |
    | Username | spareApproveUser |
    | BatchNo | NoAcessClientBatch |
    | ClientName | clientApproveFilterClient |
    | ProductName | clientApproveFilterProduct |
    | TestSuiteName | clientApproveFilterTestSuite |
  • And I receive the job
  • And I enter results of '5' for job
  • And I verify the results for job
  • And I have navigated to the 'Approve samples' page
  • Then I can only see the job for the client I am assigned

Scenario: I can add an attachment to a job 19s 363ms
  • Given I am logged in as user 'jobattachmentUser'
  • When I submit a job with batchNo 'jobattachment'
  • And I view the created job on the job viewer
  • And I click on attachments
  • And I upload attachment 'Logo.png'
  • Then I can see the attachment has successfully uploaded to the job

Scenario: I can delete an attachment on a job 18s 151ms
  • Given I am logged in as user 'jobdeleteattachmentUser'
  • When I submit a job with batchNo 'deletejobattachment'
  • And I view the created job on the job viewer
  • And I click on attachments
  • And I upload attachment 'Logo.png'
  • And I confirm the attachment has uploaded to the job
  • And I click on options for the added attachment
  • And I click on the delete button
  • And I click ok
  • Then I can see the attachment has successfully deleted from the job
  • And I can see the message of 'No attachments'

Scenario: I can add an attachment to a sample 18s 778ms
  • Given I am logged in as user 'sampleattachmentUser'
  • When I submit a job with batchNo 'sampleattachment'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click on attachments
  • And I upload attachment 'Logo.png'
  • Then I can see the attachment has successfully uploaded to the sample

Scenario: I can delete an attachment on a sample 19s 742ms
  • Given I am logged in as user 'sampledeleteattachmentUser'
  • When I submit a job with batchNo 'deletesampleattachment'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click on attachments
  • And I upload attachment 'Logo.png'
  • And I confirm the attachment has uploaded to the sample
  • And I click on options for the added attachment
  • And I click on the delete button
  • And I click ok
  • Then I can see the attachment has successfully deleted from the sample
  • And I can see the message of 'No attachments'

Scenario: I can add a job and see this on the filtered audit 20s 355ms
  • Given I am logged in as user 'AuditSubmitJobUser'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'AutoTest' into the batch number
  • And I select the default product from the list and add a sample
  • And I submit the job
  • And I click on the 'Audit' menu item
  • Then I am on the audit page
  • And I select 'Job' from the audit type filter
  • And I clear the audit actions
  • And I select 'Submitted' from the audit actions
  • And I enter from todays date on the filter
  • And I can see the submitted job action on the audit
  • And I clear the audit filters
  • And I select 'Job' from the audit type filter
  • And I clear the audit actions
  • And I select 'Submitted' from the audit actions
  • And I enter before yesterdays date on the filter
  • And I can no longer see the submitted job action on the audit

Scenario: I can find audit data using the search box 17s 382ms
  • Given I am logged in as user 'AuditSearchJobUser'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'AuditSearchJob' into the batch number
  • And I select the default product from the list and add a sample
  • And I submit the job
  • And I click on the 'Audit' menu item
  • Then I am on the audit page
  • And I enter 'notathing3262457' into the search box
  • And I can no longer see the submitted job action on the audit
  • And I clear the audit filters
  • And I enter the job id in the search box
  • And I can see the submitted job action on the audit

Scenario: I can edit a test method and see this on the audit 14s 785ms
  • Given I am logged in as user 'AuditEditTestMethodUser'
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on options then edit the default test method
  • And I enter 'Audit trace' into the description
  • And I click save
  • And I can see the message of 'Test method updated successfully'
  • And I click on the 'Audit' menu item
  • Then I am on the audit page
  • And I select 'Test Method' from the audit type filter
  • And I can see the test method description change to 'Audit trace' on the audit

@DeleteSetupData
Scenario: I can update a product spec and see this on the audit 26s 053ms
  • Given I am logged in as user 'UpdateAuditSpecUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | UpdateAuditSpecUser |
    | TestMethodName | UpdateAuditSpecTestMethod1 |
    | TestMethod2Name | UpdateAuditSpecTestMethod2 |
    | ClientName | UpdateAuditSpecClient |
    | ProductName | UpdateAuditSpecProduct |
    | TestSuiteName | UpdateAuditSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'UpdateAuditSpecProduct' on the products page
  • And I click the generate specifications button
  • And I enter 'Automated test spec' into the specification description
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '1' in the lower limit
  • And I enter '5' in the upper limit
  • And I click save
  • And I can see the message of 'Product updated successfully'
  • And I click on the 'Audit' menu item
  • Then I am on the audit page
  • And I select 'Product' from the audit type filter
  • And I clear the audit actions
  • And I select 'Updated' from the audit actions
  • And I can see the product spec update showing the new values '1' - '5' and version '1.1' on the audit

Scenario: I am taken to the audit logs for a job when I click the job audit button 19s 698ms
  • Given I am logged in as user 'JobAuditLinkUser'
  • And I submit a job with batchNo 'JALBatch'
  • When I view the created job on the job viewer
  • And I click on the job audit button
  • Then I am on the audit page
  • And I can see the submitted job action on the audit

Scenario: I am taken to the audit logs for a job when I click the context menu audit logs button 16s 521ms
  • Given I am logged in as user 'JobAuditCLinkUser'
  • And I submit a job with batchNo 'JALCBatch'
  • When I refresh the page
  • And I click the job view on the dashboard
  • And select the context menu for the job on the job viewer
  • And I click on the view audit button
  • Then I am on the audit page
  • And I can see the submitted job action on the audit

Scenario: I am taken to the audit logs for a sample when I click the sample audit button 19s 253ms
  • Given I am logged in as user 'SampleAuditLinkUser'
  • And I have progressed a job up to enter results with batchNo 'SALUTest'
  • When I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click on the sample audit button
  • Then I am on the audit page
  • And I can see the sample logs on the audit

Scenario: I am taken to the audit logs for a sample when I click the context menu audit logs button 12s 236ms
  • Given I am logged in as user 'SampleAuditCLinkUser'
  • And I have progressed a job up to enter results with batchNo 'SALCUTest'
  • When I click the sample view on the dashboard
  • And I select the context menu for the sample on the dashboard
  • And I click on the view audit button
  • Then I am on the audit page
  • And I can see the sample logs on the audit

@DisableBSLMFA
Scenario: I can only see audit logs for my own organisation 19s 450ms
  • Given I am logged in as user 'AuditOtherOrgUSer'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'AutoTest' into the batch number
  • And I select the default product from the list and add a sample
  • And I submit the job
  • And I Log out of LabHQ
  • And I enter the log in details for the default bsl account
  • And I click on the 'Audit' menu item
  • Then I cannot see the submitted job action on the audit

@DeleteSetupData
Scenario: Product attachment add and delete are recorded in audit 18s 782ms
  • Given I am logged in as user 'AuditProductAttachmentUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | AuditProductAttachmentUser |
    | TestMethodName | AuditProductAttachmentTM1 |
    | TestMethod2Name | AuditProductAttachmentTM2 |
    | ClientName | AuditProductAttachmentClient |
    | ProductName | AuditProductAttachmentProd |
    | TestSuiteName | AuditProductAttachmentSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I click on the 'Setup' menu item
  • And I click on the 'Products' menu item
  • And I click on product 'AuditProductAttachmentProd' on the products page
  • And I click on the attachments button
  • And I upload attachment 'Logo.png'
  • And I click on options for the added attachment
  • And I click on the delete button
  • And I click ok on the popup dialog
  • And I click the close button
  • And I click on the 'Audit' menu item
  • Then I am on the audit page
  • And I select 'Product' from the audit type filter
  • And I can see 'Product attachment added'
  • And I can see 'Product attachment deleted'

Scenario: I can create a client 14s 165ms
  • Given I am logged in as user 'createclientuser'
  • When I click on the 'Setup' menu item
  • And I click on the 'Clients' menu item
  • And I click on the create client button
  • And I enter 'createclientclient' in the name field
  • And I add the default product to the client
  • And I add the default user account to the client
  • And I click on the create button
  • Then I can see the message of 'Client created successfully'

Scenario: I can search for a client 11s 246ms
  • Given I am logged in as user 'searchclientuser'
  • And I have created a client called 'SearchClient'
  • When I click on the 'Setup' menu item
  • And I click on the 'Clients' menu item
  • And I am on the clients page
  • And I enter 'NULL' into the search box
  • And I can see the message of 'No clients found'
  • And I enter 'SearchClient' into the search box
  • Then I can see client 'SearchClient' in the list

Scenario: I can edit an existing client 12s 845ms
  • Given I am logged in as user 'editclientuser'
  • And I have created a client called 'editthisclient'
  • When I click on the 'Setup' menu item
  • And I click on the 'Clients' menu item
  • And I click on client 'editthisclient' on the clients page
  • And I enter 'newclientname' in the name field
  • And I press tab on the keyboard
  • And I click save
  • And I can see the message of 'Client updated successfully'
  • And I click the back button
  • Then I can see client 'newclientname' in the list

Scenario: I can add all filtered products to a new client 14s 419ms
  • Given I am logged in as user 'addallproductsclientuser'
  • And I have created the following products:
    | ProductName |
    | AT product 1 |
    | AT product 2 |
    | AT product 3 |
    | AT product 4 |
    | product 5 |
    | product 6 |
  • When I click on the 'Setup' menu item
  • And I click on the 'Clients' menu item
  • And I click on the create client button
  • And I enter 'createallproductclient' in the name field
  • And I click on the products drop down
  • And I enter 'AT' into the product filter so only '4' remain
  • And I click the double arrow to select all filtered products
  • Then I can see the following list of '4' products in the selected box
    | ProductName |
    | AT product 1 |
    | AT product 2 |
    | AT product 3 |
    | AT product 4 |

Scenario: I can view related products on clients 11s 336ms
  • Given I am logged in as user 'clientsproductuser'
  • When I click on the 'Setup' menu item
  • And I click on the 'clients' menu item
  • And I click on the default client on the clients page
  • And I click on the default available product from the selected list
  • And I click the edit product button
  • Then I can see the default product on the products edit page

Scenario: I can create a custom job field 1 13s 014ms
  • Given I am logged in as user '<username>'
  • When I click on the 'Setup' menu item
  • And I click on the 'custom fields' menu item
  • And I enter 'autojobfield' into the first custom job field title
  • And I select '<fieldType>' from the custom field 'job' type dropdown
  • And I click save job fields
  • Then I can see the message of 'Job custom fields saved successfully'
Examples:
| fieldType | username |
| date | CustomJobUserDate |

Scenario: I can create a custom job field 2 13s 151ms
  • Given I am logged in as user '<username>'
  • When I click on the 'Setup' menu item
  • And I click on the 'custom fields' menu item
  • And I enter 'autojobfield' into the first custom job field title
  • And I select '<fieldType>' from the custom field 'job' type dropdown
  • And I click save job fields
  • Then I can see the message of 'Job custom fields saved successfully'
Examples:
| fieldType | username |
| list | CustomJobUserList |

Scenario: I can create a custom job field 3 13s 885ms
  • Given I am logged in as user '<username>'
  • When I click on the 'Setup' menu item
  • And I click on the 'custom fields' menu item
  • And I enter 'autojobfield' into the first custom job field title
  • And I select '<fieldType>' from the custom field 'job' type dropdown
  • And I click save job fields
  • Then I can see the message of 'Job custom fields saved successfully'
Examples:
| fieldType | username |
| number | CustomJobUserNumber |

Scenario: I can create a custom sample field 1 13s 512ms
  • Given I am logged in as user '<username>'
  • When I click on the 'Setup' menu item
  • And I click on the 'custom fields' menu item
  • And I enter 'autosamplefield' into the first custom sample field title
  • And I select '<fieldType>' from the custom field 'sample' type dropdown
  • And I click save sample fields
  • Then I can see the message of 'Sample custom fields saved successfully'
Examples:
| fieldType | username |
| date | CustomSampleUserDate |

Scenario: I can create a custom sample field 2 13s 723ms
  • Given I am logged in as user '<username>'
  • When I click on the 'Setup' menu item
  • And I click on the 'custom fields' menu item
  • And I enter 'autosamplefield' into the first custom sample field title
  • And I select '<fieldType>' from the custom field 'sample' type dropdown
  • And I click save sample fields
  • Then I can see the message of 'Sample custom fields saved successfully'
Examples:
| fieldType | username |
| list | CustomSampleUserList |

Scenario: I can create a custom sample field 3 13s 300ms
  • Given I am logged in as user '<username>'
  • When I click on the 'Setup' menu item
  • And I click on the 'custom fields' menu item
  • And I enter 'autosamplefield' into the first custom sample field title
  • And I select '<fieldType>' from the custom field 'sample' type dropdown
  • And I click save sample fields
  • Then I can see the message of 'Sample custom fields saved successfully'
Examples:
| fieldType | username |
| number | CustomSampleUserNumber |

Scenario: I can use a custom sample field on a sample 1 26s 117ms
  • Given I am logged in as user '<username>'
  • When I click on the 'Setup' menu item
  • And I click on the 'custom fields' menu item
  • And I enter 'autosamplefield' into the first custom sample field title
  • And I select '<fieldType>' from the custom field 'sample' type dropdown
  • And I click save sample fields
  • And I can see the message of 'Sample custom fields saved successfully'
  • And I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'CustomSample' into the batch number
  • And I select the default product from the list and add a sample
  • And I submit the job
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • Then I can see the custom sample field 'autosamplefield'
  • And I click on the edit button
  • And I can populate the '<fieldType>' field 'autosamplefield' with the following values:
    | Key | Value |
    | List | Change control |
    | Text | Sample Value |
    | Date | 13/6/2024 |
  • And I click save
  • And I can see the message of 'Sample saved successfully'
  • And I can see the value '<fieldValue>' for the field 'autosamplefield'
Examples:
| fieldType | username | fieldValue |
| date | CustomSampleUserDate | 13/6/2024 |

Scenario: I can use a custom sample field on a sample 2 26s 880ms
  • Given I am logged in as user '<username>'
  • When I click on the 'Setup' menu item
  • And I click on the 'custom fields' menu item
  • And I enter 'autosamplefield' into the first custom sample field title
  • And I select '<fieldType>' from the custom field 'sample' type dropdown
  • And I click save sample fields
  • And I can see the message of 'Sample custom fields saved successfully'
  • And I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'CustomSample' into the batch number
  • And I select the default product from the list and add a sample
  • And I submit the job
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • Then I can see the custom sample field 'autosamplefield'
  • And I click on the edit button
  • And I can populate the '<fieldType>' field 'autosamplefield' with the following values:
    | Key | Value |
    | List | Change control |
    | Text | Sample Value |
    | Date | 13/6/2024 |
  • And I click save
  • And I can see the message of 'Sample saved successfully'
  • And I can see the value '<fieldValue>' for the field 'autosamplefield'
Examples:
| fieldType | username | fieldValue |
| list | CustomSampleUserList | Change control |

Scenario: I can use a custom sample field on a sample 3 25s 284ms
  • Given I am logged in as user '<username>'
  • When I click on the 'Setup' menu item
  • And I click on the 'custom fields' menu item
  • And I enter 'autosamplefield' into the first custom sample field title
  • And I select '<fieldType>' from the custom field 'sample' type dropdown
  • And I click save sample fields
  • And I can see the message of 'Sample custom fields saved successfully'
  • And I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'CustomSample' into the batch number
  • And I select the default product from the list and add a sample
  • And I submit the job
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • Then I can see the custom sample field 'autosamplefield'
  • And I click on the edit button
  • And I can populate the '<fieldType>' field 'autosamplefield' with the following values:
    | Key | Value |
    | List | Change control |
    | Text | Sample Value |
    | Date | 13/6/2024 |
  • And I click save
  • And I can see the message of 'Sample saved successfully'
  • And I can see the value '<fieldValue>' for the field 'autosamplefield'
Examples:
| fieldType | username | fieldValue |
| text | CustomSampleUserText | Sample Value |

Scenario: I can use a custom job field on a job 1 24s 251ms
  • Given I am logged in as user '<username>'
  • When I click on the 'Setup' menu item
  • And I click on the 'custom fields' menu item
  • And I enter 'autojobfield' into the first custom job field title
  • And I select '<fieldType>' from the custom field 'job' type dropdown
  • And I click save job fields
  • And I can see the message of 'Job custom fields saved successfully'
  • And I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'CustomJob' into the batch number
  • And I select the default product from the list and add a sample
  • And I submit the job
  • And I view the created job on the job viewer
  • Then I can see the custom job field 'autojobfield'
  • And I click on the edit button
  • And I can populate the '<fieldType>' field 'autojobfield' with the following values:
    | Key | Value |
    | List | Change control |
    | Text | Example Value |
    | Date | 13/6/2024 |
  • And I click save
  • And I can see the message of 'Job saved successfully'
  • And I can see the value '<fieldValue>' for the field 'autojobfield'
Examples:
| fieldType | username | fieldValue |
| date | CustomJobUserDate | 13/6/2024 |

Scenario: I can use a custom job field on a job 2 25s 478ms
  • Given I am logged in as user '<username>'
  • When I click on the 'Setup' menu item
  • And I click on the 'custom fields' menu item
  • And I enter 'autojobfield' into the first custom job field title
  • And I select '<fieldType>' from the custom field 'job' type dropdown
  • And I click save job fields
  • And I can see the message of 'Job custom fields saved successfully'
  • And I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'CustomJob' into the batch number
  • And I select the default product from the list and add a sample
  • And I submit the job
  • And I view the created job on the job viewer
  • Then I can see the custom job field 'autojobfield'
  • And I click on the edit button
  • And I can populate the '<fieldType>' field 'autojobfield' with the following values:
    | Key | Value |
    | List | Change control |
    | Text | Example Value |
    | Date | 13/6/2024 |
  • And I click save
  • And I can see the message of 'Job saved successfully'
  • And I can see the value '<fieldValue>' for the field 'autojobfield'
Examples:
| fieldType | username | fieldValue |
| list | CustomJobUserList | Change control |

Scenario: I can use a custom job field on a job 3 24s 905ms
  • Given I am logged in as user '<username>'
  • When I click on the 'Setup' menu item
  • And I click on the 'custom fields' menu item
  • And I enter 'autojobfield' into the first custom job field title
  • And I select '<fieldType>' from the custom field 'job' type dropdown
  • And I click save job fields
  • And I can see the message of 'Job custom fields saved successfully'
  • And I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'CustomJob' into the batch number
  • And I select the default product from the list and add a sample
  • And I submit the job
  • And I view the created job on the job viewer
  • Then I can see the custom job field 'autojobfield'
  • And I click on the edit button
  • And I can populate the '<fieldType>' field 'autojobfield' with the following values:
    | Key | Value |
    | List | Change control |
    | Text | Example Value |
    | Date | 13/6/2024 |
  • And I click save
  • And I can see the message of 'Job saved successfully'
  • And I can see the value '<fieldValue>' for the field 'autojobfield'
Examples:
| fieldType | username | fieldValue |
| text | CustomJobUserText | Example Value |

Scenario: I can only use numbers in a number type custom job field 25s 604ms
  • Given I am logged in as user 'UseCustomNumberJobFieldUser'
  • When I click on the 'Setup' menu item
  • And I click on the 'custom fields' menu item
  • And I enter 'autojobnumberfield' into the first custom job field title
  • And I select 'number' from the custom field 'job' type dropdown
  • And I click save job fields
  • And I can see the message of 'Job custom fields saved successfully'
  • And I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'CustomNumberJob' into the batch number
  • And I select the default product from the list and add a sample
  • And I submit the job
  • And I view the created job on the job viewer
  • Then I can see the custom job field 'autojobnumberfield'
  • And I click on the edit button
  • And I can enter value '123456789' into the custom field 'autojobnumberfield'
  • And I click on the edit button
  • And I cannot enter value 'ExampleText' into the job field 'autojobnumberfield'

Scenario: Changing a custom job field does not change it on an existing job 24s 498ms
  • Given I am logged in as user 'UseCustomJobFieldUser2'
  • And I have set the first custom job field as 'autousejobfieldold'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'customjobfieldjob' into the batch number
  • And I select the default product from the list and add a sample
  • And I submit the job
  • When I click on the 'Setup' menu item
  • And I click on the 'custom fields' menu item
  • And I enter 'autojobfieldnew' into the first custom job field title
  • And I select 'date' from the custom field 'job' type dropdown
  • And I click save job fields
  • And I view the created job on the job viewer
  • Then I can see the custom job field 'autousejobfieldold'
  • And I click on the edit button
  • And I cannot see a date picker on field 'autousejobfieldold'

Scenario: Changing a custom sample field does not change it on an existing sample 22s 999ms
  • Given I am logged in as user 'UseCustomSampleFieldUser2'
  • And I have set the first custom sample field as 'autousesampleold'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'customsamplefieldjob' into the batch number
  • And I select the default product from the list and add a sample
  • And I submit the job
  • When I click on the 'Setup' menu item
  • And I click on the 'custom fields' menu item
  • And I enter 'autosamplenew' into the first custom sample field title
  • And I click save sample fields
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • Then I can see the custom sample field 'autousesampleold'

Scenario: I can set a client specific custom job field and see this on a job 23s 686ms
  • Given I am logged in as user 'Clientjobfielduser'
  • When I click on the 'Setup' menu item
  • And I click on the 'custom fields' menu item
  • And I enter 'autojobfield' into the first custom job field title
  • And I click save job fields
  • And I can see the message of 'Job custom fields saved successfully'
  • And I select the default client from the job fields drop down
  • And I enter 'clientjobfield' into the first custom job field title
  • And I click save job fields
  • And I can see the message of 'Job custom fields saved successfully'
  • And I progress a job up to enter results with batchNo 'clientjobfieldjob' and spec ''
  • And I view the created job on the job viewer
  • Then I can see the custom job field 'clientjobfield'

Scenario: I can set a client specific custom sample field and see this on a sample 24s 543ms
  • Given I am logged in as user 'Clientsamplefielduser'
  • When I click on the 'Setup' menu item
  • And I click on the 'custom fields' menu item
  • And I enter 'autosamplefield' into the first custom sample field title
  • And I click save sample fields
  • And I can see the message of 'Sample custom fields saved successfully'
  • And I select the default client from the sample fields drop down
  • And I enter 'clientsamplefield' into the first custom sample field title
  • And I click save sample fields
  • And I can see the message of 'Sample custom fields saved successfully'
  • And I progress a job up to enter results with batchNo 'clientjobfieldjob' and spec ''
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • Then I can see the custom sample field 'clientsamplefield'

Scenario: I can edit and save my dashboard 8s 895ms
  • Given I am logged in as user 'editdashboarduser'
  • When I click on the manage dashboard button
  • And I click to remove the welcome to labhq widget
  • And I click save
  • Then I can no longer see the welcome to labhq widget

Scenario: I can see the samples completed today widget has the correct information 26s 901ms
  • Given I am logged in as user 'samplescompletedtodayuser'
  • And I have progressed the following jobs through the lifecycle process:
    | BatchNo | InputValue |
    | SamCom1 | 50.675 |
    | SamCom2 | 47.675 |
    | SamCom3 | 48.65 |
    | SamCom4 | 52.567 |
    | SamCom5 | 45.6565 |
  • When I click on the manage dashboard button
  • And I click to add the 'completed today' widget from the widget gallery
  • Then I can see the samples completed today widget shows '5'

Scenario: I can see the samples completed this week widget shows the correct information 15s 378ms
  • Given I am logged in as user 'samplescompletedweekuser'
  • And I have progressed the following jobs through the lifecycle process:
    | BatchNo | InputValue |
    | WeekCom1 | 50.675 |
    | WeekCom2 | 47.675 |
  • When I click on the manage dashboard button
  • And I click to add the 'completed this week' widget from the widget gallery
  • Then I can see the samples completed this week widget shows '2'

Scenario: I can see the outstanding samples widget shows the correct information 12s 385ms
  • Given I am logged in as user 'samplesdueweekuser'
  • And I have progressed a job up to enter results with batchNo 'dueweek'
  • When I click on the manage dashboard button
  • And I click to add the 'outstanding samples' widget from the widget gallery
  • Then I can see the outstanding samples widget shows '1'

Scenario: I can see the company logo widget correctly displays on the dashboard 19s 840ms
  • Given I am logged in as user 'companylogouser'
  • When I delete the custom logo if one exists
  • And I navigate to the 'dashboard' page
  • And I click on the manage dashboard button
  • And I click to add the 'your logo' widget from the widget gallery
  • And I click the logo widget to upload my company logo
  • And I click start in the logo section
  • And I choose image file 'Logo.png' to upload
  • And I click the next to edit logo
  • And I click the next to preview logo
  • And I click the finish and upload button
  • And I can see the message of 'Logo updated successfully'
  • And I navigate to the 'dashboard' page
  • Then I can see the company logo widget shows the company logo image

Scenario: I can see the onboarding checklist is displayed when I add this to my dashboard 13s 370ms
  • Given I am logged in as user 'onboardingchecklistuser'
  • When I navigate to the 'dashboard' page
  • And I click on the manage dashboard button
  • And I click to add the 'onboarding checklist' widget from the widget gallery
  • Then I can see the text 'Complete these steps to fully configure your lims environment'

Scenario: I can see the samples completed on time widget shows the correct information 15s 834ms
  • Given I am logged in as user 'samplesontimeuser'
  • And I have progressed the following jobs through the lifecycle process:
    | BatchNo | InputValue |
    | WeekCom1 | 50.675 |
    | WeekCom2 | 47.675 |
  • When I click on the manage dashboard button
  • And I click to add the 'completed on time' widget from the widget gallery
  • Then I can see the samples completed on time widget shows '100%'

Scenario: I can see a list of my overdue samples on the overdue samples widget 12s 554ms
  • Given I am logged in as user 'overduesampleuser'
  • And I have progressed a job up to enter results with batchNo '123-6'
  • And I have updated the due date on sample with batch '123-6' to 'yesterday'
  • When I click on the manage dashboard button
  • And I click to add the 'overdue samples' widget from the widget gallery
  • Then I can see the sample shows on the overdue samples widget as '1 day overdue'

Scenario: I can see a sample at every step of the workflow pipeline widget 16s 075ms
  • Given I am logged in as user 'workflowpipelineuser'
  • And I submit a job with batchNo '123-1'
  • And I have progressed a job up to enter results with batchNo '123-2'
  • And I have progressed a job up to approval with batchNo '123-3' and input value '987'
  • When I click on the manage dashboard button
  • And I click to add the 'workflow pipeline' widget from the widget gallery
  • Then I can see that there is '1' sample awaiting receipt on the workflow pipeline widget
  • And I can see there there is '1' sample awaiting testing on the workflow pipeline widget
  • And I can see there is '1' sample awaiting approval on the workflow pipeline widget

Scenario: I can see the correct information on the samples approaching due date widget 11s 868ms
  • Given I am logged in as user 'approachingduedateuser'
  • And I have progressed a job up to enter results with batchNo '123-2'
  • And I have updated the due date on sample with batch '123-2' to 'today'
  • When I click on the manage dashboard button
  • And I click to add the 'approaching due date (next 48h)' widget from the widget gallery
  • Then I can see the sample showing on the approaching due date widget with a due date of 'Today' and a status of 'In Test'

Scenario: I can see my out of spec results show on the oos monthly count widget 11s 619ms
  • Given I am logged in as user 'ooswidgetuser'
  • And I have progressed a job up to verify with batchNo 'verifyspecresults' and input value '11' and spec 'Default specification'
  • When I click on the manage dashboard button
  • And I click to add the 'oos monthly count' widget from the widget gallery
  • Then I can see '1' oos showing on the monthly count

Scenario: I can see I have an investigation showing on the active sample investigations and by age widgets 26s 715ms
  • Given I am logged in as user 'activesampinveswidgetuser'
  • And I have progressed a job up to enter results with batchNo 'inveswidget'
  • When I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click into the investigations section
  • And I click start investigation
  • And I click save
  • And I can see the message of 'Investigation started successfully'
  • And I navigate to the 'Dashboard' page
  • And I click on the manage dashboard button
  • And I click to add the 'active sample investigations' widget from the widget gallery
  • And I click on the manage dashboard button
  • And I click to add the 'active investigations by age' widget from the widget gallery
  • Then I can see there is '1' active investigation showing on the active investigations widget
  • And I can see there is '1' total investigation and average age of '0' on the investigations by age widget

Scenario: I can add the median time to investigation closure widget to my dashboard and see the correct data 22s 458ms
  • Given I am logged in as user 'medianinveswidgetuser'
  • And I have progressed a job up to enter results with batchNo 'medianwidget'
  • When I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click into the investigations section
  • And I click start investigation
  • And I click save
  • And I can see the message of 'Investigation started successfully'
  • And I navigate to the 'Dashboard' page
  • And I click on the manage dashboard button
  • And I click to add the 'median time to investigation closure' widget from the widget gallery
  • Then I can see the median investigation closure time is '0'

@DeleteAllStockItems
Scenario: I can see my expired stock count on the expired stock widget 15s 083ms
  • Given I am logged in as user 'expiredstockwidgetuser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | ExpiredWidget |
    | Item Code | E123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | ExpiredWidget |
    | Batch | EXP123 |
    | Quantity | 3 |
    | Status | Approved |
    | Expiry | Yesterday |
  • When I navigate to the 'Dashboard' page
  • And I click on the manage dashboard button
  • And I click to add the 'expired stock' widget from the widget gallery
  • Then I can see there is '1' expired stock batch showing on the expired stock widget

@DeleteAllStockItems
Scenario: I can see my stock health on the stock health widget 14s 639ms
  • Given I am logged in as user 'stockhealthwidgetuser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | LowStockWidget |
    | Item Code | E321 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | LowStockWidget |
    | Batch | EXP123 |
    | Quantity | 3 |
    | Status | Approved |
    | Expiry | Tomorrow |
  • When I navigate to the 'Dashboard' page
  • And I click on the manage dashboard button
  • And I click to add the 'stock health' widget from the widget gallery
  • Then I can see I have '1' low in stock on the stock health widget

@DeleteAllStockItems
Scenario: I can see my stock on the stock usability widget 15s 262ms
  • Given I am logged in as user 'stockusabilitywidgetuser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | UsabilityWidget |
    | Item Code | E123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | UsabilityWidget |
    | Batch | EXP123 |
    | Quantity | 5 |
    | Status | Approved |
    | Expiry | Yesterday |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | UsabilityWidget |
    | Batch | EXP124 |
    | Quantity | 78 |
    | Status | Approved |
    | Expiry | Tomorrow |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | UsabilityWidget |
    | Batch | EXP125 |
    | Quantity | 9 |
    | Status | Approved |
    | Expiry | Next Year |
  • When I navigate to the 'Dashboard' page
  • And I click on the manage dashboard button
  • And I click to add the 'stock usability' widget from the widget gallery
  • Then I can see my total batches of '3' on the stock usability widget
  • And I can see I have '1' in date, '1' expiring soon and '1' expired stock batches on the stock usability widget

@DeleteAllStockItems
Scenario: I can see my stock expiring soon on the stock expiring soon widget 14s 302ms
  • Given I am logged in as user 'stockexpiringsoonwidgetuser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | SESWidget |
    | Item Code | E123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | SESWidget |
    | Batch | EXP123 |
    | Quantity | 5 |
    | Status | Approved |
    | Expiry | Tomorrow |
  • When I navigate to the 'Dashboard' page
  • And I click on the manage dashboard button
  • And I click to add the 'stock expiring soon (next 48h)' widget from the widget gallery
  • Then I can see my stock 'SESWidget' showing with an expiry of '1 day' on the stock expiring soon widget

@DeleteAllStockItems
Scenario: Stock widgets do not count zero-quantity batches 21s 653ms
  • Given I am logged in as user 'stockzerowidgetuser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | ZeroWidgetStock |
    | Item Code | ZW123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | ZeroWidgetStock |
    | Batch | ZWEXP |
    | Quantity | 5 |
    | Status | Approved |
    | Expiry | Yesterday |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | ZeroWidgetStock |
    | Batch | ZWSOON |
    | Quantity | 5 |
    | Status | Approved |
    | Expiry | Tomorrow |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | ZeroWidgetStock |
    | Batch | ZWDATE |
    | Quantity | 5 |
    | Status | Approved |
    | Expiry | Next Year |
  • When I click on the 'Stock' menu item
  • And I click on the 'Adjust stock' menu item
  • And I click the adjust stock button
  • And I populate the adjust stock form with the following:
    | Key | Value |
    | Stock Item | ZeroWidgetStock |
    | Stock Batch | ZWEXP |
    | Quantity | 5 |
    | Reason | Expired |
    | Type | Disposal |
    | Correction | |
  • And I click the adjust stock button
  • And I can see the message of 'Stock availability updated successfully'
  • And I navigate to the 'Dashboard' page
  • And I click on the manage dashboard button
  • And I click to add the 'stock usability' widget from the widget gallery
  • And I click on the manage dashboard button
  • And I click to add the 'expired stock' widget from the widget gallery
  • And I click on the manage dashboard button
  • And I click to add the 'stock expiring soon (next 48h)' widget from the widget gallery
  • Then I can see my total batches of '2' on the stock usability widget
  • And I can see I have '1' in date, '1' expiring soon and '0' expired stock batches on the stock usability widget
  • And I can see there is '0' expired stock batch showing on the expired stock widget
  • And I can see my stock 'ZeroWidgetStock' showing with an expiry of '1 day' on the stock expiring soon widget

Scenario: I can select a job and enter results for it 15s 559ms
  • Given I am logged in as user 'EnterResultsSideBarUser'
  • When I progress a job up to enter results with batchNo 'EnterResultsSidebar' and spec 'Default specification'
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I can see the job details displayed
  • And I click into the first input and enter '123'
  • And I press enter on the keyboard
  • Then I can submit the results

Scenario: I can progress a job through enter results with a mandatory and default input 24s 123ms
  • Given I am logged in as user 'OptionalInputUser'
  • And I have created a test method called 'MandatoryTestMethod' with default value of 'value' and is mandatory
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'AutoTest' into the batch number
  • And I select the default product from the list and add a sample
  • And I select edit tests on the create job page and choose test method 'MandatoryTestMethod'
  • And I click submit and go to next step to submit job with batch 'AutoTest'
  • And I tick the first sample on the receive samples page
  • And I click the Receive button
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I drop down the test method 'MandatoryTestMethod' on the enter results page
  • Then I can see the default value of 'value' on the input
  • And I can see input 'AutoInput-0' is mandatory
  • And I can submit the results

Scenario: I can submit a test which has rounding set and see that they have trailing zeros 20s 947ms
  • Given I am logged in as user 'TrailingZeroUser'
  • And I have created a test method called 'RoundingTestMethod' with a rounding of 5
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'AutoTest' into the batch number
  • And I select the default product from the list and add a sample
  • And I select edit tests on the create job page and choose test method 'RoundingTestMethod'
  • And I click submit and go to next step to submit job with batch 'AutoTest'
  • And I tick the first sample on the receive samples page
  • And I click the Receive button
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I drop down the test method 'RoundingTestMethod' on the enter results page
  • And I click into the first input and type '1' on the keyboard
  • Then I can see '1.00000' in the output field

Scenario: I can submit tests without rounding and see no trailing zeros 20s 622ms
  • Given I am logged in as user 'TrailingZeroUser2'
  • And I have created a test method called 'NoRoundingTestMethod' with a rounding of 0
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'AutoTest' into the batch number
  • And I select the default product from the list and add a sample
  • And I select edit tests on the create job page and choose test method 'NoRoundingTestMethod'
  • And I click submit and go to next step to submit job with batch 'AutoTest'
  • And I tick the first sample on the receive samples page
  • And I click the Receive button
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I drop down the test method 'NoRoundingTestMethod' on the enter results page
  • And I click into the first input and type '1' on the keyboard
  • Then I can see '1' in the output field

Scenario: I can not see inputs set to show only on workbook at enter results 20s 391ms
  • Given I am logged in as user 'HiddenEnterResultsUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | HiddenEnterResultsUser |
    | TestMethodName | HiddenTestMethod1 |
    | TestMethod2Name | HiddenTestMethod2 |
    | ClientName | HiddenClient |
    | ProductName | HiddenProduct |
    | TestSuiteName | HiddenTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
    | DisplayOn | Workbook |
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select 'HiddenClient' from the client list
  • And I enter 'HiddenInput' into the batch number
  • And I select product 'HiddenProduct' from the list and add a sample
  • And I ensure that test suite 'HiddenTestSuite' is selected
  • And I click submit and go to next step to submit job with batch 'HiddenInput'
  • And I tick to receive all the samples
  • And I click the Receive button
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I drop down the test method 'HiddenTestMethod1' on the enter results page
  • And I can see the test method has expanded
  • Then I cannot see 'AutoInput'

Scenario: I can see the job details from the enter results page 13s 033ms
  • Given I am logged in as user 'EnterResultsDetailsUser'
  • When I progress a job up to enter results with batchNo 'EnterResultsDetails' and spec 'Default specification'
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • Then I can see the job details displayed

Scenario: I can only add results in the format set in the test method 20s 465ms
  • Given I am logged in as user 'NumInputEnterResultsUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | NumInputEnterResultsUser |
    | TestMethodName | NumTestMethod1 |
    | TestMethod2Name | NumTestMethod2 |
    | ClientName | NumClient |
    | ProductName | NumProduct |
    | TestSuiteName | NumTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select 'NumClient' from the client list
  • And I enter 'NumInput' into the batch number
  • And I select product 'NumProduct' from the list and add a sample
  • And I add click the add samples button
  • And I enter '1' into add samples and click ok
  • And I ensure that test suite 'NumTestSuite' is selected
  • And I click submit and go to next step to submit job with batch 'NumInput'
  • And I tick to receive all the samples
  • And I click the Receive button
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I drop down the test method 'NumTestMethod1' on the enter results page
  • And I click into the first input and type 'NotANumber' on the keyboard
  • And I press enter on the keyboard
  • Then I can see the first input remains empty

Scenario: I can go to the next test for the same input after pressing enter 17s 527ms
  • Given I am logged in as user 'EnterEnterResultsUser'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'EnterButton' into the batch number
  • And I select the default product from the list and add a sample
  • And I add click the add samples button
  • And I enter '1' into add samples and click ok
  • And I click submit and go to next step to submit job with batch 'EnterButton'
  • And I tick to receive all the samples
  • And I click the Receive button
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I click into the first input and enter '123'
  • And I press enter on the keyboard
  • And I type number '1' on the keyboard
  • And I press arrow up on the keyboard
  • Then I can see the 'second' input contains '1'

Scenario: I can use the arrow keys to navigate between cells while editing cells 18s 335ms
  • Given I am logged in as user 'ArrowNavEnterResultsUser'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'EnterButton' into the batch number
  • And I select the default product from the list and add a sample
  • And I add click the add samples button
  • And I enter '1' into add samples and click ok
  • And I click submit and go to next step to submit job with batch 'EnterButton'
  • And I tick to receive all the samples
  • And I click the Receive button
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I click into the first input and enter '123'
  • And I press arrow down on the keyboard
  • And I type number '1' on the keyboard
  • And I press arrow up on the keyboard
  • Then I can see the 'second' input contains '1'

@DeleteSetupData
Scenario: I can go to the next test for the same list input after pressing enter 31s 930ms
  • Given I am logged in as user 'ListEnterNavEnterResultsUser'
  • And I have created a default list
  • And I create the following setup data:
    | Key | Value |
    | Username | ListEnterNavEnterResultsUser |
    | TestMethodName | ListTestMethod1 |
    | TestMethod2Name | ListTestMethod2 |
    | ClientName | ListClient |
    | ProductName | ListProduct |
    | TestSuiteName | ListTestSuite |
    | OutputType | list |
    | ListName | AutoList |
    | DefaultValue | |
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select 'ListClient' from the client list
  • And I enter 'EnterButton' into the batch number
  • And I select product 'ListProduct' from the list and add a sample
  • And I add click the add samples button
  • And I enter '1' into add samples and click ok
  • And I ensure that test suite 'ListTestSuite' is selected
  • And I click submit and go to next step to submit job with batch 'EnterButton'
  • And I tick to receive all the samples
  • And I click the Receive button
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I drop down the test method 'ListTestMethod1' on the enter results page
  • And I click into the first input
  • And I press arrow down on the keyboard
  • And I press enter on the keyboard
  • And I press enter on the keyboard
  • And I press arrow down on the keyboard
  • And I press arrow down on the keyboard
  • And I press enter on the keyboard
  • Then I can see the first list input contains 'False'
  • And I can see the second list input contains 'True'

@RFCDisable
Scenario: I can revert back to the previous test input when reason for change dialog is cancelled 20s 378ms
  • Given I am logged in as user 'ReasonTestInputUser'
  • And I have enabled the require reason for change setting
  • When I have progressed a job up to verify with batchNo 'ReasonTestInput' and input value '2' and spec 'Default specification'
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I click into the first input and enter '9'
  • And I press enter on the keyboard
  • And I click the cancel button
  • Then I can see the 'first' input contains '2'

Scenario: I can see the test output calculates correctly when an input value is changed 19s 082ms
  • Given I am logged in as user 'CorrectOutputUser'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'EnterButton' into the batch number
  • And I select the default product from the list and add a sample
  • And I add click the add samples button
  • And I enter '1' into add samples and click ok
  • And I click submit and go to next step to submit job with batch 'EnterButton'
  • And I tick to receive all the samples
  • And I click the Receive button
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I click into the first input and enter '200'
  • And I press arrow down on the keyboard
  • And I click into the first input and enter '100'
  • And I press arrow down on the keyboard
  • Then I can see '100.0' in the output field

Scenario: I can only see jobs on the enter results page that have been received 10s 671ms
  • Given I am logged in as user 'EnterResultNotReceivedUser'
  • When I submit a job with batchNo 'EnterResultNotReceived'
  • And I click on the 'Enter results' menu item
  • Then I can not see the job appear when I search for it

Scenario: I can add a new test to an existing job and enter results for this test 21s 792ms
  • Given I am logged in as user 'NewTestExistingJobUser'
  • And I have created a test method called 'NewTestTestMethod'
  • And I have progressed a job up to enter results with batchNo 'NewTestExistingJob'
  • When I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click edit tests on the sample viewer
  • And I click the select test method drop down
  • And I click on 'NewTestTestMethod (v1)'
  • And I add 1 of these tests to the job
  • And I click save
  • And I can see the message of 'Tests added successfully'
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • Then I can see 'NewTestTestMethod'

@DeleteSetupData
Scenario: I can only see jobs associated with my assigned clients at enter results 23s 289ms
  • Given I am logged in as user 'clientFilterEnterUser'
  • And I have created the user 'spareEnterUser'
  • And I have progressed a job up to enter results with batchNo 'TestBatch123'
  • And I create the following setup data:
    | Key | Value |
    | Username | spareEnterUser |
    | TestMethodName | clientEnterFilterMethod1 |
    | TestMethod2Name | clientEnterFilterMethod2 |
    | ClientName | clientEnterFilterClient |
    | ProductName | clientEnterFilterProduct |
    | TestSuiteName | clientEnterFilterTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I have submitted a job with the following data:
    | Key | Value |
    | Username | spareEnterUser |
    | BatchNo | NoAccessBatch |
    | ClientName | clientEnterFilterClient |
    | ProductName | clientEnterFilterProduct |
    | TestSuiteName | clientEnterFilterTestSuite |
  • And I receive the job
  • And I have navigated to the 'Enter results' page
  • Then I can only see the job for the client I am assigned

@DeleteSetupData
Scenario: I can record stock usage against a test at enter results and see this reflected on the stock inventory 24s 438ms
  • Given I am logged in as user 'ERStockUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | ERStockUser |
    | TestMethodName | ERSTockTM |
    | TestMethod2Name | |
    | ClientName | ERStockClient |
    | ProductName | ERStockProduct |
    | TestSuiteName | ERStockTS |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have progressed a job up to enter results with batchNo 'ERStock'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | ERStock |
    | Item Code | ER456 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 300 |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | ERStock |
    | Batch | ERB987 |
    | Quantity | 356 |
    | Status | Approved |
    | Expiry | Tomorrow |
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on the edit test method button for test method 'ERSTockTM' on the test method page
  • And I click the related stock items button
  • And I select stock item 'ERStock' from the dual list and a quantity of '15'
  • And I click ok
  • And I click to save test method 'ERSTockTM'
  • And I can see the message of 'Stock items updated successfully'
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I select add stock for the first test
  • And I choose stock batch 'ERB987' for stock item 'ERStock'
  • And I enter a quantity of '15'
  • And I click the add button
  • And I can see the message of 'Current Usage: 15 / 15 g'
  • And I click ok
  • And I can see the message of 'Batches saved successfully.'
  • And I click on the 'Stock' menu item
  • And I click on the 'Inventory' menu item
  • Then I can see the following stock item showing here:
    | Key | Value |
    | Stock Item | ERStock |
    | Item Code | ER456 |
    | Available Quantity | 341 |
    | Units | g |
    | Availability | In Stock |

Scenario: I can create a new equipment item 13s 480ms
  • Given I am logged in as user 'createequipmentuser'
  • When I click on the 'Equipment' menu item
  • And I click on the 'Equipment Items' menu item
  • And I click on the Create equipment item button
  • And I populate the equipment form with the following:
    | Key | Value |
    | Name | CreateEquip |
    | Make | Casio |
    | Model | 12rt-5 |
    | Serial number | 123456 |
    | Supplier | Factory |
  • And I click save
  • Then I can see the message of 'Equipment item CreateEquip created successfully'
  • And I click the back button
  • And I can see the following data in the equipment list table:
    | Key | Value |
    | Name | CreateEquip |
    | Make | Casio |
    | Model | 12rt-5 |
    | Serial number | 123456 |
    | Supplier | Factory |

Scenario: I can edit an equipment item 14s 078ms
  • Given I am logged in as user 'editequipmentuser'
  • When I click on the 'Equipment' menu item
  • And I click on the 'Equipment Items' menu item
  • And I click on the Create equipment item button
  • And I populate the equipment form with the following:
    | Key | Value |
    | Name | CreateEquip2 |
    | Make | Casio |
    | Model | 12rt-5 |
    | Serial number | 123456 |
    | Supplier | Factory |
  • And I click save
  • And I can see the message of 'Equipment item CreateEquip2 created successfully'
  • And I click the back button
  • And I click on equipment item 'CreateEquip2'
  • And I populate the equipment form with the following:
    | Key | Value |
    | Name | EditEquip |
    | Make | Machine |
    | Model | 23452-4 |
    | Serial number | 9756845 |
    | Supplier | Place |
  • And I click save
  • And I can see the message of 'Equipment item EditEquip updated successfully'
  • And I click the back button
  • Then I can see the following data in the equipment list table:
    | Key | Value |
    | Name | EditEquip |
    | Make | Machine |
    | Model | 23452-4 |
    | Serial number | 9756845 |
    | Supplier | Place |

Scenario: I can decommission an equipment item 11s 949ms
  • Given I am logged in as user 'decomequipmentuser'
  • When I click on the 'Equipment' menu item
  • And I click on the 'Equipment Items' menu item
  • And I click on the Create equipment item button
  • And I populate the equipment form with the following:
    | Key | Value |
    | Name | DecomEquip |
    | Make | Casio |
    | Model | 12rt-5 |
    | Serial number | 123456 |
    | Supplier | Factory |
  • And I click save
  • And I can see the message of 'Equipment item DecomEquip created successfully'
  • And I click the back button
  • And I click the menu button for equipment 'DecomEquip'
  • And I click on the decommission button
  • Then I can see the message of 'Equipment item decommissioned'
  • And I can no longer see the equipment item 'DecomEquip' in the list
  • And I can see equipment item 'DecomEquip' showing as decommissioned when I tick to show decommissioned

Scenario: I can add and remove maintenance events for an equipment item 11s 809ms
  • Given I am logged in as user 'deleteeventuser'
  • When I click on the 'Equipment' menu item
  • And I click on the 'Equipment Items' menu item
  • And I click on the Create equipment item button
  • And I populate the equipment form with the following:
    | Key | Value |
    | Name | MainEquip |
    | Make | Casio |
    | Model | 12rt-5 |
    | Serial number | 123456 |
    | Supplier | Factory |
  • And I click on the Maintenance tab
  • And I click on the add maintenance event button
  • And I populate the maintenance event form with the following:
    | Key | Value |
    | Type | Service |
    | Name | Weekly service event |
    | Date | 10/01/2025 |
    | Frequency | 7 |
  • And I click save
  • Then I can see the message of 'Equipment item MainEquip created successfully'
  • And I can see '1' maintenance event showing on the tab
  • And I click on the Maintenance tab
  • And I delete event number '1'
  • And I can see '0' maintenance event showing on the tab

Scenario: I can see an upcoming maintenance events remove these and see the calendar update 13s 246ms
  • Given I am logged in as user 'viewcaleventuser'
  • And I have created equipment item 'CalViewEquip' and event called 'CalViewSchedule'
  • When I click on the 'Equipment' menu item
  • And I click on the 'Maintenance' menu item
  • And I 'can' see the maintenance event for equipment 'CalViewEquip' called 'CalViewSchedule'
  • And I click on the 'Equipment Items' menu item
  • And I click on equipment item 'CalViewEquip'
  • And I click on the Maintenance tab
  • And I delete event number '1'
  • And I can see '0' maintenance event showing on the tab
  • And I click save
  • And I can see the message of 'Equipment item CalViewEquip updated successfully'
  • And I click on the 'Maintenance' menu item
  • Then I 'cannot' see the maintenance event for equipment 'CalViewEquip' called 'CalViewSchedule'

Scenario: I can see when an event is overdue on the maintenance calendar 12s 986ms
  • Given I am logged in as user 'overduecaleventuser'
  • When I click on the 'Equipment' menu item
  • And I click on the 'Equipment Items' menu item
  • And I click on the Create equipment item button
  • And I populate the equipment form with the following:
    | Key | Value |
    | Name | CalOverdueEquip |
    | Make | Casio |
    | Model | 12rt-5 |
    | Serial number | 123456 |
    | Supplier | Factory |
  • And I click on the Maintenance tab
  • And I click on the add maintenance event button
  • And I add a Service event schedule called 'CalOverdueSchedule' starting yesterday with a frequency of '30'
  • And I click save
  • And I can see the message of 'Equipment item CalOverdueEquip created successfully'
  • And I click on the 'Maintenance' menu item
  • Then I can see the overdue maintenance event for equipment 'CalOverdueEquip' called 'CalOverdueSchedule'

Scenario: I can filter by event type on the maintenance calendar 13s 043ms
  • Given I am logged in as user 'eventequipfilteruser'
  • When I click on the 'Equipment' menu item
  • And I click on the 'Equipment Items' menu item
  • And I click on the Create equipment item button
  • And I populate the equipment form with the following:
    | Key | Value |
    | Name | FilterEquip |
    | Make | Casio |
    | Model | 12rt-5 |
    | Serial number | 123456 |
    | Supplier | Factory |
  • And I click on the Maintenance tab
  • And I click on the add maintenance event button
  • And I add a Service event schedule called 'FilterEvent' starting today with a frequency of '40'
  • And I click save
  • And I can see the message of 'Equipment item FilterEquip created successfully'
  • And I click on the 'Maintenance' menu item
  • Then I 'can' see the maintenance event for equipment 'FilterEquip' called 'FilterEvent'
  • And I set the maintenance event filter to show only 'Calibration' events
  • And I can no longer see equipment item 'FilterEquip' event 'FilterEvent'

Scenario: I can progress an event through to approval on the calendar 1 11s 950ms
  • Given I am logged in as user 'progresseventuser'
  • And I have created equipment item '<equipName>' and event called 'Progress Schedule'
  • When I click on the 'Equipment' menu item
  • And I click on the 'Maintenance' menu item
  • And I click on the event 'Progress Schedule' for equipment item '<equipName>'
  • And I can see the event status is 'Planned'
  • And I click set in progress
  • And I can see the event status is 'In progress'
  • And I select '<status>' maintenance event
  • And I can see the event status is 'Completed'
  • And I can see the outcome is '<status>'
  • And I select approve maintenance event
  • Then I can see the event status is 'Approved'
Examples:
| status | equipName |
| Pass | CalProgressEquip |

Scenario: I can progress an event through to approval on the calendar 2 10s 905ms
  • Given I am logged in as user 'progresseventuser'
  • And I have created equipment item '<equipName>' and event called 'Progress Schedule'
  • When I click on the 'Equipment' menu item
  • And I click on the 'Maintenance' menu item
  • And I click on the event 'Progress Schedule' for equipment item '<equipName>'
  • And I can see the event status is 'Planned'
  • And I click set in progress
  • And I can see the event status is 'In progress'
  • And I select '<status>' maintenance event
  • And I can see the event status is 'Completed'
  • And I can see the outcome is '<status>'
  • And I select approve maintenance event
  • Then I can see the event status is 'Approved'
Examples:
| status | equipName |
| Fail | CalProgressEquip2 |

Scenario: I can see an expired batch of stock on the expired stock page 10s 034ms
  • Given I am logged in as user 'Expiredstockuser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | ExpiredStock |
    | Item Code | E123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | ExpiredStock |
    | Batch | EXP123 |
    | Quantity | 3 |
    | Status | Approved |
    | Expiry | Yesterday |
  • When I click on the 'Stock' menu item
  • And I click on the 'expired stock' menu item
  • Then I can see the following batch of expired stock showing here:
    | Key | Value |
    | Item Name | ExpiredStock |
    | Item Code | E123 |
    | Batch | EXP123 |
    | Quantity | 3 |
    | Units | g |

Scenario: I can dispose of an expired stock batch on the expired stock screen 11s 998ms
  • Given I am logged in as user 'Disposestockuser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | DisposeStock |
    | Item Code | D123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | DisposeStock |
    | Batch | DIS123 |
    | Quantity | 3 |
    | Status | Approved |
    | Expiry | Yesterday |
  • When I click on the 'Stock' menu item
  • And I click on the 'expired stock' menu item
  • And I click to dispose stock batch 'DIS123'
  • And I click ok
  • Then I can see the message of 'Stock batch disposed successfully'
  • And I can no longer see stock item 'DisposeStock' showing here

Scenario: I can see the correct information on the expiring soon tab 12s 017ms
  • Given I am logged in as user 'ExpiringSoonstockuser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | ExpiringSoonStock |
    | Item Code | ES123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 23 |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | ExpiringSoonStock |
    | Batch | EXPSOON123 |
    | Quantity | 25 |
    | Status | Approved |
    | Expiry | Next week |
  • When I click on the 'Stock' menu item
  • And I click on the 'expired stock' menu item
  • And I click on expiring soon
  • Then I can see the following batch of expired stock showing here:
    | Key | Value |
    | Item Name | ExpiringSoonStock |
    | Item Code | ES123 |
    | Batch | EXPSOON123 |
    | Quantity | 25 |
    | Units | g |

Scenario: I can see my stock items and edit the batches from the inventory page 12s 463ms
  • Given I am logged in as user 'Batchstockuser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | BatchStock |
    | Item Code | B456 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 300 |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | BatchStock |
    | Batch | BAT987 |
    | Quantity | 248 |
    | Status | Approved |
    | Expiry | Tomorrow |
  • When I click on the 'Stock' menu item
  • And I click on the 'Inventory' menu item
  • And I can see the following stock item showing here:
    | Key | Value |
    | Stock Item | BatchStock |
    | Item Code | B456 |
    | Available Quantity | 248 |
    | Units | g |
    | Availability | Low Stock |
  • And I click on stock item 'BatchStock'
  • And I can see the message of 'Available Batches'
  • And I can see the following information on the batch pop up:
    | Key | Value |
    | Received | a few seconds ago |
    | Batch | BAT987 |
    | Available | 248 |
    | Units | g |
    | Expiry | tomorrow |
  • And I can click the edit button for batch 'BAT987'
  • And I enter 'UpdateBatch' in the batch input
  • And I enter the expiry date for 'yesterday'
  • And I click the update batch button
  • And I can see the message of 'Stock updated successfully'
  • And I click the back button
  • And I click on stock item 'BatchStock'
  • Then I can see the following information on the batch pop up:
    | Key | Value |
    | Received | a few seconds ago |
    | Batch | UpdateBatch |
    | Available | 248 |
    | Units | g |
    | Expiry | yesterday |

Scenario: I can start a new investigation on a sample 22s 484ms
  • Given I am logged in as user 'startinvestigationuser'
  • And I have progressed a job up to enter results with batchNo 'investigationstart'
  • When I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click into the investigations section
  • And I click start investigation
  • And I enter the following investigation details:
    | Key | value |
    | Investigation details | New sample requested |
    | Reason for investigation | Provided sample failed specification |
  • And I click save
  • Then I can see the message of 'Investigation started successfully'
  • And I can see the following information on the sample investigation
    | Key | value |
    | Investigation details | New sample requested |
    | Reason for investigation | Provided sample failed specification |
  • And the investigation status is 'Active'

Scenario: I can start an investigation on a sample and see this on the dashboard and job viewer 26s 200ms
  • Given I am logged in as user 'viewinvestigationuser2'
  • And I have progressed a job up to enter results with batchNo 'investigationView'
  • When I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click into the investigations section
  • And I click start investigation
  • And I enter the following investigation details:
    | Key | value |
    | Investigation details | New sample requested |
    | Reason for investigation | Provided sample failed specification |
  • And I click save
  • And I can see the message of 'Investigation started successfully'
  • And I click the back button
  • Then I can see an investigation icon on the sample
  • And I navigate to the 'Dashboard' page
  • And I click the job view on the dashboard
  • And I can see an investigation icon on the job

Scenario: I can close an investigation and see that the dashboard icon is removed 24s 698ms
  • Given I am logged in as user 'closeinvestigationuser'
  • And I have progressed a job up to enter results with batchNo 'investigationclose'
  • When I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click into the investigations section
  • And I click start investigation
  • And I click save
  • And I can see the message of 'Investigation started successfully'
  • And I click close investigation
  • And I click ok
  • And I enter 'resolved' into the resolution field
  • And the investigation status is 'Closing'
  • And I click save
  • Then I can see the message of 'Investigation closed successfully'
  • And the investigation status is 'Closed'
  • And I click the back button
  • And I can not see an investigation icon on the sample
  • And I navigate to the 'Dashboard' page
  • And I can not see an investigation icon on the job

Scenario: I can edit an investigation 24s 045ms
  • Given I am logged in as user 'editinvestigationuser'
  • And I have progressed a job up to enter results with batchNo 'investigationedit'
  • When I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click into the investigations section
  • And I click start investigation
  • And I click save
  • And I can see the message of 'Investigation started successfully'
  • And I click on the edit button
  • And I enter the following investigation details:
    | Key | value |
    | Investigation details | New sample requested |
    | Reason for investigation | Provided sample failed specification |
  • And I click save
  • Then I can see the message of 'Investigation updated successfully'
  • And I can see the following information on the sample investigation
    | Key | value |
    | Investigation details | New sample requested |
    | Reason for investigation | Provided sample failed specification |

Scenario: I can search for a job on the job viewer 18s 238ms
  • Given I am logged in as user 'SearchJobUser'
  • And I have progressed a job up to enter results with batchNo 'SearchJob'
  • When I refresh the page
  • And I click on the 'job' menu item
  • And I enter 'NULL' into the search box
  • And I can see the message of 'No jobs found. Please refine your search'
  • And I enter 'SearchJob' into the search box
  • Then The job 'SearchJob' shows on the job viewer

Scenario: I can filter job by status on the dashboard 16s 733ms
  • Given I am logged in as user 'StatusJobUser'
  • And I have progressed a job up to enter results with batchNo 'StatusFilterJob'
  • When I refresh the page
  • And I click on the 'job' menu item
  • And I select 'Approved' on the status filter
  • And I can see the message of 'No jobs found. Please refine your search'
  • And I select 'In Test' on the status filter
  • Then The job 'StatusFilterJob' shows on the job viewer

Scenario: I can sort and reset the filters on the job viewer 16s 354ms
  • Given I am logged in as user 'SortJobUser'
  • When I progress a job up to approval with batchNo 'resetjobfilter' and input value '2345' and spec 'Default specification'
  • And I refresh the page
  • And I click on the 'job' menu item
  • And I select 'Approved' on the status filter
  • And I can see the message of 'No jobs found. Please refine your search'
  • And I click the reset filters button
  • Then The job 'resetjobfilter' shows on the job viewer

Scenario: I can view samples on the sample viewer 15s 891ms
  • Given I am logged in as user 'SampleViewUser'
  • And I have progressed a job up to enter results with batchNo 'SampleView'
  • When I refresh the page
  • And I click on the 'sample' menu item
  • Then The sample 'SampleView' shows on the sample viewer

Scenario: I can search for a sample on the samnple viewer 17s 347ms
  • Given I am logged in as user 'SampleSearchUser'
  • And I have progressed a job up to enter results with batchNo 'SampleSearch'
  • When I refresh the page
  • And I click on the 'sample' menu item
  • And I enter 'NULL' into the search box
  • And I can see the message of 'No samples found. '
  • And I enter 'SampleSearch' into the search box
  • Then The sample 'SampleSearch' shows on the sample viewer

@DeleteSetupData
Scenario: I can filter by product on the sample viewer 23s 256ms
  • Given I am logged in as user 'SampleSearchUser'
  • And I have progressed a job up to enter results with batchNo 'SampleProduct'
  • And I create the following setup data:
    | Key | Value |
    | Username | SampleSearchUser |
    | TestMethodName | clientFilterMethod1 |
    | TestMethod2Name | clientFilterMethod2 |
    | ClientName | clientFilterClient |
    | ProductName | clientFilterProduct |
    | TestSuiteName | clientFilterTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I have submitted a job with the following data:
    | Key | Value |
    | Username | SampleSearchUser |
    | BatchNo | FilterOutBatch |
    | ClientName | clientFilterClient |
    | ProductName | clientFilterProduct |
    | TestSuiteName | clientFilterTestSuite |
  • And I refresh the page
  • And I click on the 'sample' menu item
  • And I select 'clientFilterProduct' in the product filter
  • Then I cannot see job with batch 'SampleProduct' on the job viewer
  • And The sample 'FilterOutBatch' shows on the sample viewer

@DeleteSetupData
Scenario: I can only see my assigned clients and associated jobs on the job viewer 24s 433ms
  • Given I am logged in as user 'clientFilterUser'
  • And I have created the user 'spareUser'
  • And I have progressed a job up to enter results with batchNo 'TestBatch123'
  • And I create the following setup data:
    | Key | Value |
    | Username | spareUser |
    | TestMethodName | clientFilterMethod1 |
    | TestMethod2Name | clientFilterMethod2 |
    | ClientName | clientFilterClient |
    | ProductName | clientFilterProduct |
    | TestSuiteName | clientFilterTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I have submitted a job with the following data:
    | Key | Value |
    | Username | spareUser |
    | BatchNo | NoAccessBatch |
    | ClientName | clientFilterClient |
    | ProductName | clientFilterProduct |
    | TestSuiteName | clientFilterTestSuite |
  • And I refresh the page
  • And I click on the 'job' menu item
  • Then I cannot see client 'clientFilterClient' in the client filter
  • And I cannot see job with batch 'NoAccessBatch' on the job viewer

Scenario: I can download a job certificate on the job viewer when all samples are approved 21s 791ms
  • Given I am logged in as user 'DownloadJobCertUser'
  • And I have progressed a job through the lifecycle process with batchNo 'jobcert' and input value '234'
  • When I view the created job on the job viewer
  • And I click on the Job certificate button
  • Then I can see a file has downloaded

Scenario: I can download a job certificate at approve samples when all samples are approved 17s 518ms
  • Given I am logged in as user 'DlJobCertAppUser'
  • When I progress a job up to approval with batchNo 'appjobcert' and input value '123' and spec 'Default specification'
  • And I navigate to the 'Approve samples' page
  • And I search for the created job
  • And I tick then approve the results
  • Then I cannot see the draft job certificate button
  • And I click on the Job certificate button
  • And I can see a file has downloaded

Scenario: I can download a draft job certificate at approve samples when not all samples are approved 16s 767ms
  • Given I am logged in as user 'DlDraftJobCertAppUser'
  • When I progress a job up to approval with batchNo 'drafappjobcert' and input value '123' and spec 'Default specification'
  • And I navigate to the 'Approve samples' page
  • And I search for the created job
  • Then I can see 'Draft Job certificate'
  • And I click on the Job certificate button
  • And I can see a file has downloaded

Scenario: I can download a draft job certificate button on the job viewer where all samples are not approved 33s 079ms
  • Given I am logged in as user 'DownloadDraftJobCertUser'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'jobcert' into the batch number
  • And I select the default product from the list and add a sample
  • And I add click the add samples button
  • And I enter '1' into add samples and click ok
  • And I click submit and go to next step to submit job with batch 'jobcert'
  • And I tick to receive all the samples
  • And I click the Receive button
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I enter '123' into the default input and submit the results
  • And I click on the 'Verify tests' menu item
  • And I search for the created job
  • And I tick then verify the results
  • And I click on the 'Approve samples' menu item
  • And I search for the created job
  • And I tick then approve the results
  • And I view the created job on the job viewer
  • Then I can see 'Draft Job certificate'
  • And I click on the Job certificate button
  • And I can see a file has downloaded

Scenario: I cannot download a draft job certificate where all samples are not received 18s 363ms
  • Given I am logged in as user 'CannotDownloadJobCertUser'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'jobcert' into the batch number
  • And I select the default product from the list and add a sample
  • And I add click the add samples button
  • And I enter '1' into add samples and click ok
  • And I click submit and go to next step to submit job with batch 'jobcert'
  • And I view the created job on the job viewer
  • Then I cannot see the job certificate button

Scenario: I can see job certificate templates when I print a job certificate 31s 147ms
  • Given I am logged in as user 'PrintJobCertUser'
  • And I have progressed a job through the lifecycle process with batchNo '123' and input value '123'
  • When I click on the 'administration' menu item
  • And I click on the 'report settings' menu item
  • And I click on the JobCertificate tab
  • And I upload template 'JobCertificate'
  • And I upload template 'JobCertificate2'
  • And I view the created job on the job viewer
  • And I click on the Job certificate button
  • Then I can see my new template is selected by default
  • And I can select a custom template
  • And I click on the 'administration' menu item
  • And I click on the 'report settings' menu item
  • And I click on the JobCertificate tab
  • And I can no longer see the templates when I delete them

Scenario: I can see the job certificate is attached to the job 20s 265ms
  • Given I am logged in as user 'JobCertificateAttachmentUser'
  • And I have progressed a job through the lifecycle process with batchNo '123' and input value '123'
  • When I view the created job on the job viewer
  • And I click on the Job certificate button
  • And I can see the message of 'Job certificate has been uploaded to the job attachments'
  • And I click on attachments
  • Then I can see the job certificate attachment showing here

Scenario: I am served a job certificate from the attachments if one exists 19s 706ms
  • Given I am logged in as user 'JobCertificateReturnExistingUser'
  • And I have progressed a job through the lifecycle process with batchNo '123' and input value '123'
  • When I view the created job on the job viewer
  • And I click on the Job certificate button
  • And I can see the message of 'Job certificate has been uploaded to the job attachments'
  • And I click on the Job certificate button
  • Then I can see the message of 'Job certificate has been downloaded from job attachments'

Scenario: I can regenerate a job certificate that has previously been generated 23s 695ms
  • Given I am logged in as user 'RegenJobCertificateUser'
  • And I have progressed a job through the lifecycle process with batchNo '123' and input value '123'
  • When I view the created job on the job viewer
  • And I click on the Job certificate button
  • And I can see the message of 'Job certificate has been uploaded to the job attachments'
  • And I wait for the message 'Job certificate has been uploaded to the job attachments' to dissapear
  • And I click the job options button
  • And I click on regenerate job certificate button
  • And I can see the message of 'Regenerating will retrieve the latest available data and create a new report.'
  • And I click ok
  • And I can see the message of 'Job certificate has been uploaded to the job attachments'
  • And I click on attachments
  • Then I can see both certificates showing here

Scenario: I can submit a job and produce a job submission summary from the job viewer 14s 316ms
  • Given I am logged in as user 'CreateJobSummaryUser'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'AutoTestSummary' into the batch number
  • And I select the default product from the list and add a sample
  • And I submit the job
  • Then I can see the submission summary is downloaded when I click the job summary button

@SaveJobSubmissionSummary
Scenario: I can see the job summary is attached to a submitted job 17s 272ms
  • Given I am logged in as user 'jobsummaryattachmentUser'
  • When I submit a job with batchNo 'jobsummaryattachment'
  • And I view the created job on the job viewer
  • And I click on attachments
  • Then I can see the job summary attachment showing here

Scenario: I can add a new sample to an existing job 23s 947ms
  • Given I am logged in as user 'NewSampleExistingJobUser'
  • And I have created a test method called 'NewSampleTestMethod'
  • And I have progressed a job up to enter results with batchNo 'NewSampleExistingJob'
  • When I view the created job on the job viewer
  • And I click the add sample button
  • And I select the default product and test suite
  • And I click save
  • Then I can see the message of 'Sample added successfully'
  • And I can see the new sample

Scenario: I can update the label settings and save the changes 11s 503ms
  • Given I am logged in as user 'labelsettingsuser'
  • When I click on the 'Administration' menu item
  • And I click on the 'More settings' menu item
  • And I click on the label settings configure button
  • And I edit the template configuration with the following:
    | Key | Value |
    | Width | 2 |
    | Height | 3 |
    | Units | inches |
    | Density | 8 |
    | Quality | Bitonal |
  • And I click the save button
  • Then I can see the message of 'Label settings saved successfully'

Scenario: I can update the label settings and then revert these to default 10s 681ms
  • Given I am logged in as user 'labelsettingrevertsuser'
  • When I click on the 'Administration' menu item
  • And I click on the 'More settings' menu item
  • And I click on the label settings configure button
  • And I enter 'TESTCODE' into the zpl input box
  • And I click the save button
  • And I can see the message of 'Label settings saved successfully'
  • And I can see the zpl input contains 'TESTCODE'
  • And I click on the revert button
  • And I click ok
  • And I click the save button
  • And I can see the message of 'Label settings saved successfully'
  • Then I can see the default template is loaded back

Scenario: I create a job and take it through to approval 27s 144ms
  • Given I am logged in as user 'lifecycleProcessUser'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'AutoTest' into the batch number
  • And I select the default product from the list and add a sample
  • And I click submit and go to next step to submit job with batch 'AutoTest'
  • And I tick the first sample on the receive samples page
  • And I click the Receive button
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I enter '123' into the default input and submit the results
  • And I click on the 'Verify tests' menu item
  • And I search for the created job
  • And I tick then verify the results
  • And I click on the 'Approve samples' menu item
  • And I search for the created job
  • And I tick then approve the results
  • Then I can see the job 'AutoTest' on the job viewer

Scenario: I create a job with multiple samples and take one through to approval 26s 535ms
  • Given I am logged in as user 'lifecycleProcessUser2'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'SampleTest' into the batch number
  • And I select the default product from the list and add a sample
  • And I add click the add samples button
  • And I enter '1' into add samples and click ok
  • And I click submit and go to next step to submit job with batch 'SampleTest'
  • And I tick the first sample on the receive samples page
  • And I click the Receive button
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I enter '123' into the default input and submit the results
  • And I click on the 'Verify tests' menu item
  • And I search for the created job
  • And I tick then verify the results
  • And I click on the 'Approve samples' menu item
  • And I search for the created job
  • And I tick then approve the results
  • Then I can see the job 'SampleTest' on the job viewer

Scenario: I can create a new list 10s 195ms
  • Given I am logged in as user 'NewListUser'
  • When I click on the 'Setup' menu item
  • And I click on the 'Lists' menu item
  • And I click here to create a new list
  • And I name the list 'AutoNewList'
  • And I add a first list entry with a name of 'entry 1' and description of 'The first automated list entry'
  • And I click the create button
  • Then I can see the message of 'List has been created successfully'
  • And I can see the list 'AutoNewList' in the drop down

Scenario: I can add items to an existing list 16s 250ms
  • Given I am logged in as user 'EditListUser'
  • And I have created a list 'newautolist' with an entry of 'One' and description of 'This is one'
  • When I click on the 'Setup' menu item
  • And I click on the 'Lists' menu item
  • And I select the created list from the drop down
  • And I click the new entry button
  • And I add a second list entry with a name of 'Two' and description of 'This is two'
  • And I click the create button
  • Then I can see the message of 'List has been updated successfully'
  • And I can see a second list entry with a name of 'Two' and description of 'This is two' after I refresh the page

Scenario: Login to LabHQ 6s 323ms
  • Given I have created the user 'LoginUser'
  • And I navigate to LabHQ
  • When I enter my credentials to log in to user 'LoginUser'
  • Then I am logged into LabHQ

Scenario: I am unable to log in with incorrect password 2s 899ms
  • Given I have created the user 'WrongPassUser'
  • And I navigate to LabHQ
  • When I enter username 'WrongPassUser' and password of 'Password'
  • Then I can see the message of 'Invalid username or password.'

Scenario: I can change my password and login with the new password 14s 757ms
  • Given I have created the user 'PassChangeUser'
  • And I navigate to LabHQ
  • When I enter my credentials to log in to user 'PassChangeUser'
  • And I click on the my account button
  • And I click on Change password
  • And I change my password to 'NewDetails123!'
  • And I Log out of LabHQ
  • And I enter username 'PassChangeUser' and password of 'NewDetails123!' to log in
  • Then I am logged into LabHQ

Scenario: My account is disabled if i enter incorrect credentials multiple times 5s 607ms
  • Given I have created the user 'DisabledAccountUser'
  • And I navigate to LabHQ
  • When I enter my username 'DisabledAccountUser' and password 'Password', '10' times
  • And I enter my credentials for user 'DisabledAccountUser'
  • Then I can see the message of 'Account is temporarily disabled; contact your administrator or retry later.'

Scenario: I can log out of LabHQ 8s 053ms
  • Given I have created the user 'LogOutUser'
  • And I navigate to LabHQ
  • When I enter my credentials to log in to user 'LogOutUser'
  • And I Log out of LabHQ
  • Then I can see the login page

@SetupData
Scenario: I cannot reset my password using a weak password 10s 719ms
  • Given I have created the user 'StrongPassUser'
  • When I navigate to LabHQ
  • And I enter my credentials to log in to user 'StrongPassUser'
  • And I click on the my account button
  • And I click on Change password
  • And I change my password to 'notstrong'
  • Then I can see the message of 'Invalid password: must contain at least 1 special characters.'

@SetupData
Scenario: I cannot reuse my old password 8s 043ms
  • Given I have created the user 'PasswordHistoryUser'
  • And I navigate to LabHQ
  • When I enter my credentials to log in to user 'PasswordHistoryUser'
  • And I click on the my account button
  • And I click on Change password
  • And I change my password to my old password
  • Then I can see the message of 'Invalid password: must not be equal to any of last 5 passwords.'

@SetupData
Scenario: I cannot log in to a disabled account 12s 776ms
  • Given I have created the user 'DisabledAccount'
  • And I am logged in as user 'DisableUserAccount'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I click on options for user 'disabledaccount'
  • And I click on disable account
  • And I can see the message of 'disabledaccount has been disabled'
  • And I Log out of LabHQ
  • And I enter my credentials for user 'disabledaccount'
  • Then I can see the message of 'Account is disabled, contact your administrator.'

Scenario: I cannot see organisations I am not authorised for 6s 657ms
  • Given I have created the user 'WrongOrgUser'
  • And I navigate to LabHQ
  • When I enter my credentials to log in to user 'WrongOrgUser'
  • Then I cannot see the switch organisation menu item in my account
  • And I cannot see the switch organisation icon in the header

Scenario: I am directed to the organisation select screen if I try to navigate to another organisations site from a logged in state 9s 213ms
  • Given I have created the user 'RedirectOrgUser'
  • And I navigate to LabHQ
  • When I enter my credentials to log in to user 'RedirectOrgUser'
  • And I navigate to the submit job page of another organisation
  • Then I can see the organisation select page
  • And I can only see my organisation

@SetupData
Scenario: I can set MFA to app and my user is prompted to configure this at login 15s 797ms
  • Given I am logged in as user 'AppMfaUser'
  • When I click on the my account button
  • And I select 'App' on the MFA drop down
  • And I click save
  • And I can see the message of 'MFA updated successfully'
  • And I refresh the page
  • And I Log out of LabHQ
  • And I enter my credentials for user 'AppMfaUser'
  • Then I can see the setup page for MFA application authorisation

Scenario: I cannot see jobs that aren't received on the manage work screen 15s 119ms
  • Given I am logged in as user 'ManageWorkNotReceivedUser'
  • When I submit a job with batchNo 'ManageWorkNotReceived'
  • And I click on the 'Resources' menu item
  • And I click on the 'Manage work' menu item
  • And I select only the default client from the client filter
  • Then I cannot see the job at manage work
  • And I can see the message of 'No jobs, please check back later.'

Scenario: I cannot see jobs that have their results submitted on the manage work screen 16s 303ms
  • Given I am logged in as user 'ManageWorkResultsSubmittedUser'
  • When I progress a job up to verify with batchNo 'ManageWorkSubmitted' and input value '6' and spec 'Default specification'
  • And I click on the 'Resources' menu item
  • And I click on the 'Manage work' menu item
  • And I select only the default client from the client filter
  • Then I cannot see the job at manage work
  • And I can see the message of 'No jobs, please check back later.'

Scenario: I can create a workbook from a job 16s 639ms
  • Given I am logged in as user 'CreateWorkbookUser'
  • And I have progressed a job up to enter results with batchNo 'CreateWorkbook'
  • When I click on the 'Resources' menu item
  • And I click on the 'Manage work' menu item
  • And I select only the default client from the client filter
  • And I select the job with batch 'CreateWorkbook' at manage work
  • And I click on create workbook button
  • Then I can see the created message
  • And I am given a workbook ID
  • And I press the create new workbook button
  • And I cannot see the job with batch 'CreateWorkbook' at manage work

Scenario: I can view and download previously created workbooks 19s 995ms
  • Given I am logged in as user 'ViewWorkbookUser'
  • And I have progressed a job up to enter results with batchNo 'ViewWorkbook'
  • When I click on the 'Resources' menu item
  • And I click on the 'Manage work' menu item
  • And I select only the default client from the client filter
  • And I select the job with batch 'ViewWorkbook' at manage work
  • And I click on create workbook button
  • Then I can see the created message
  • And I am given a workbook ID
  • And I can see the workbook when I click to go to the view workbooks page
  • And I click on the re-download workbook button
  • And I can see a file has downloaded

Scenario: I can download a workbook for a job 16s 807ms
  • Given I am logged in as user 'DownloadWorkbookUser'
  • And I have progressed a job up to enter results with batchNo 'DownloadWorkbook'
  • When I click on the 'Resources' menu item
  • And I click on the 'Manage work' menu item
  • And I select only the default client from the client filter
  • And I select the job with batch 'DownloadWorkbook' at manage work
  • And I click on create workbook button
  • Then I can see the created message
  • And I click on the download workbook button
  • And I can see a file has downloaded

Scenario: I can create a workbook from multiple jobs 18s 452ms
  • Given I am logged in as user 'CreateMultipleWorkbookUser'
  • And I have progressed a job up to enter results with batchNo 'CreateWorkbook1'
  • And I have progressed a job up to enter results with batchNo 'CreateWorkbook2'
  • When I click on the 'Resources' menu item
  • And I click on the 'Manage work' menu item
  • And I select only the default client from the client filter
  • And I select the job with batch 'CreateWorkbook1' at manage work
  • And I select the job with batch 'CreateWorkbook2' at manage work
  • And I click on create workbook button
  • Then I can see the created message
  • And I press the create new workbook button
  • And I cannot see the job with batch 'CreateWorkbook1' at manage work
  • And I cannot see the job with batch 'CreateWorkbook2' at manage work

Scenario: I cannot create a workbook from a job twice 20s 552ms
  • Given I am logged in as user 'CannotCreateWorkbookUser'
  • And I have progressed a job up to enter results with batchNo 'CannotCreateWorkbook'
  • When I click on the 'Resources' menu item
  • And I click on the 'Manage work' menu item
  • And I select only the default client from the client filter
  • And I select the job with batch 'CannotCreateWorkbook' at manage work
  • And I click on create workbook button
  • And I can see the created message
  • And I press the create new workbook button
  • Then I cannot check the job with batch 'CannotCreateWorkbook' again
  • And I refresh the page
  • And I can see the message of 'No jobs, please check back later.'

Scenario: I can create a workbook from a job add extra tests and select the job again 27s 054ms
  • Given I am logged in as user 'CreateWorkbookAddedTestsUser'
  • And I have progressed a job up to enter results with batchNo 'CreateWorkbookTwice'
  • When I click on the 'Resources' menu item
  • And I click on the 'Manage work' menu item
  • And I select only the default client from the client filter
  • And I select the job with batch 'CreateWorkbookTwice' at manage work
  • And I click on create workbook button
  • And I can see the created message
  • And I am given a workbook ID
  • And I press the create new workbook button
  • And I cannot see the job with batch 'CreateWorkbookTwice' at manage work
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click edit tests on the sample viewer
  • And I click the select test method drop down
  • And I click on 'AutoTestMethod (v1)'
  • And I add 1 of these tests to the job
  • And I click save
  • And I can see the message of 'Tests added successfully'
  • And I click on the 'Resources' menu item
  • And I click on the 'Manage work' menu item
  • And I select the job with batch 'CreateWorkbookTwice' at manage work
  • Then I click on create workbook button
  • And I can see the created message
  • And I am given another workbook ID that is sequential
  • And I press the create new workbook button
  • And I cannot see the job at manage work

@DeleteSetupData
Scenario: I can only create workbooks for jobs of clients selected in the client filter 24s 508ms
  • Given I am logged in as user 'clientFilterManageWorkUser'
  • And I have created the user 'spareManageWorkUser'
  • And I have progressed a job up to enter results with batchNo 'TestBatch123'
  • And I create the following setup data:
    | Key | Value |
    | Username | spareManageWorkUser |
    | TestMethodName | clientEnterFilterMethod1 |
    | TestMethod2Name | clientEnterFilterMethod2 |
    | ClientName | manageWorkClient |
    | ProductName | manageWorkProduct |
    | TestSuiteName | manageWorkTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I have submitted a job with the following data:
    | Key | Value |
    | Username | spareManageWorkUser |
    | BatchNo | NoAccessBatch |
    | ClientName | manageWorkClient |
    | ProductName | manageWorkProduct |
    | TestSuiteName | manageWorkTestSuite |
  • And I receive the job
  • And I click on the 'Resources' menu item
  • And I click on the 'Manage work' menu item
  • And I select only the default client from the client filter
  • Then I cannot see client 'manageWorkClient' in the manage work client filter
  • And I can see the job with batch 'TestBatch123' at manage work
  • And I cannot see the job with batch 'NoAccessBatch' at manage work

@DeleteSetupData
Scenario: I can only view workbooks for clients selected in the client filter 33s 178ms
  • Given I am logged in as user 'clientFilterViewWorkUser'
  • And I have progressed a job up to enter results with batchNo 'TestBatch123'
  • And I create the following setup data:
    | Key | Value |
    | Username | clientFilterViewWorkUser |
    | TestMethodName | clientEnterFilterMethod1 |
    | TestMethod2Name | clientEnterFilterMethod2 |
    | ClientName | manageWorkClient |
    | ProductName | manageWorkProduct |
    | TestSuiteName | manageWorkTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I have submitted a job with the following data:
    | Key | Value |
    | Username | clientFilterViewWorkUser |
    | BatchNo | ClientFilterBatch |
    | ClientName | manageWorkClient |
    | ProductName | manageWorkProduct |
    | TestSuiteName | manageWorkTestSuite |
  • And I receive the job
  • And I refresh the page
  • And I click on the 'Resources' menu item
  • And I click on the 'Manage work' menu item
  • And I select client 'manageWorkClient' in the manage work client filter
  • And I select the job with batch 'ClientFilterBatch' at manage work
  • And I click on create workbook button
  • And I can see the created message
  • And I am given a workbook ID
  • And I select only the default client from the client filter
  • Then I can not see the workbook when I click to go to the view workbooks page

Scenario: I am navigated to the new support site when I click the support link on the menu 9s 336ms
  • Given I am logged in as user 'SupportSiteUser1'
  • When I click the User Guide menu option
  • Then I am navigated to the help site dashboard

Scenario: I am navigated to the new support site when I click the about icon on the menu 9s 946ms
  • Given I am logged in as user 'SupportSiteUser2'
  • When I click the About icon in the header
  • Then I click the User Guide link
  • Then I am navigated to the help site dashboard

Scenario: I can update my company address 10s 435ms
  • Given I am logged in as user 'UpdateCompanyAddressUser'
  • When I click on the 'Administration' menu item
  • And I click on the 'Organization' menu item
  • And I enter the following address information:
    | Key | Value |
    | Address | 123 Address Way |
    | Town | Test Town |
    | County | Test County |
    | Country | Test country |
    | Postcode | 123TEST |
    | Telephone | 0123456789 |
  • And I click save
  • Then I can see the message of 'Address updated successfully'
  • And I can see the following information in the address section:
    | Key | Value |
    | Address | 123 Address Way |
    | Town | Test Town |
    | County | Test County |
    | Country | Test country |
    | Postcode | 123TEST |
    | Telephone | 0123456789 |

Scenario: I can add a custom logo and see this on the site 1 10s 268ms
  • Given I am logged in as user 'NewLogoUser'
  • When I click on the 'Administration' menu item
  • And I click on the 'Organization' menu item
  • And I click start in the logo section
  • And I choose image file '<fileName>' to upload
  • And I click the next to edit logo
  • And I click the next to preview logo
  • And I click the finish and upload button
  • Then I can see the message of 'Logo updated successfully'
  • And I can see the custom logo in the header
Examples:
| fileName |
| Logo.png |

Scenario: I can add a custom logo and see this on the site 2 16s 696ms
  • Given I am logged in as user 'NewLogoUser'
  • When I click on the 'Administration' menu item
  • And I click on the 'Organization' menu item
  • And I click start in the logo section
  • And I choose image file '<fileName>' to upload
  • And I click the next to edit logo
  • And I click the next to preview logo
  • And I click the finish and upload button
  • Then I can see the message of 'Logo updated successfully'
  • And I can see the custom logo in the header
Examples:
| fileName |
| Logo2.jpg |

Scenario: I can remove a custom logo and see the default labhq one on the site 16s 564ms
  • Given I am logged in as user 'NewLogoUser2'
  • When I click on the 'Administration' menu item
  • And I click on the 'Organization' menu item
  • And I click start in the logo section
  • And I choose image file 'Logo.png' to upload
  • And I click the next to edit logo
  • And I click the next to preview logo
  • And I click the finish and upload button
  • And I can see the message of 'Logo updated successfully'
  • And I click remove current logo
  • Then I can see the message of 'Logo removed successfully'
  • And I refresh the page
  • And I can see the deault labhq logo is displayed again

Scenario: I can see the out of spec results by product graph where I have results to show 39s 923ms
  • Given I am logged in as user 'FailSpecOOSUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | FailSpecOOSUser |
    | TestMethodName | FailSpecOOSTestMethod1 |
    | TestMethod2Name | FailSpecOOSTestMethod2 |
    | ClientName | FailSpecOOSClient |
    | ProductName | FailSpecOOSProduct |
    | TestSuiteName | FailSpecOOSTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'FailSpecOOSProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '1' in the lower limit
  • And I enter '5' in the upper limit
  • And I click the save button
  • And I click the publish button for product 'FailSpecOOSProduct'
  • And I have progressed the following jobs through the lifecycle process:
    | BatchNo | InputValue |
    | TrendView1 | 50.675 |
    | TrendView2 | 47.675 |
    | TrendView3 | 48.65 |
    | TrendView4 | 52.567 |
    | TrendView5 | 45.6565 |
  • And I click on the 'Analytics' menu item
  • And I click on the 'OOS results' menu item
  • Then I can see the message of 'Out of Specification Results by Product'
  • And The OOS Graph is displayed
  • And I can see the oos results by product chart shows correctly

Scenario: I can see the out of spec results by test method graph populate when I select a product 40s 067ms
  • Given I am logged in as user 'FailSpecOOSTMUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | FailSpecOOSTMUser |
    | TestMethodName | FailSpecOOSTMTestMethod1 |
    | TestMethod2Name | FailSpecOOSTMTestMethod2 |
    | ClientName | FailSpecOOSTMClient |
    | ProductName | FailSpecOOSTMProduct |
    | TestSuiteName | FailSpecOOSTMTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'FailSpecOOSTMProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '1' in the lower limit
  • And I enter '5' in the upper limit
  • And I click the save button
  • And I click the publish button for product 'FailSpecOOSTMProduct'
  • And I have progressed the following jobs through the lifecycle process:
    | BatchNo | InputValue |
    | TrendView1 | 50.675 |
    | TrendView2 | 47.675 |
    | TrendView3 | 48.65 |
    | TrendView4 | 52.567 |
    | TrendView5 | 45.6565 |
  • And I click on the 'Analytics' menu item
  • And I click on the 'OOS results' menu item
  • And I select product 'FailSpecOOSTMProduct' from the oos results product selection drop down
  • Then I can see the oos results by test method graph is displayed
  • And I can see the oos results by test method chart shows correctly

Scenario: I cannot see the out of spec results by test method graph where no filters are selected 8s 630ms
  • Given I am logged in as user 'NoFailSpecOOSTMUser'
  • When I click on the 'Analytics' menu item
  • And I click on the 'OOS results' menu item
  • And I can see the message of 'Select a Product to view a summary of the out of specification Results.'
  • Then I can see the oos results by test method graph is not displayed

Scenario: I cannot see the out of spec results by product graph when there are no approved out of spec results 9s 421ms
  • Given I am logged in as user 'NoFailSpecOOSUser'
  • When I click on the 'Analytics' menu item
  • And I click on the 'OOS results' menu item
  • Then I can see the message of 'No Results out of specification since'
  • And The OOS Graph is not displayed

Scenario: I can invite and revoke access to the portal 12s 689ms
  • Given I am logged in as user 'RevokeExternalUser'
  • And I have created a client called 'AddExternalClient'
  • When I click on the 'Setup' menu item
  • And I click on the 'Clients' menu item
  • And I click on client 'AddExternalClient' on the clients page
  • And I click add new user
  • And I enter user email 'invite@portal'
  • And I click ok
  • And I click save
  • And I can see the message of 'Client updated successfully'
  • And I click on the menu for external user 'invite@portal'
  • And I click on revoke access
  • And I click the save button
  • And I can see the message of 'The following external users will have their access to the Portal revoked and their notifications disabled:'
  • And I click ok
  • And I can see the message of 'Client updated successfully'
  • Then I can no longer see the external user 'invite@portal' in the list

Scenario: I can resend an invite to a portal user 13s 190ms
  • Given I am logged in as user 'ResendExternalUser'
  • And I have created a client called 'ResendExternalClient'
  • When I click on the 'Setup' menu item
  • And I click on the 'Clients' menu item
  • And I click on client 'ResendExternalClient' on the clients page
  • And I click add new user
  • And I enter user email 'resend@portal'
  • And I click ok
  • And I click save
  • And I can see the message of 'Client updated successfully'
  • And I click on the menu for external user 'resend@portal'
  • And I click on resend invite
  • Then I can see the message of 'Invitation email resent to resend@portal.'

Scenario: I cannot resent an invite to a portal user that has already accepted 12s 301ms
  • Given I am logged in as user 'ResendExternalUser'
  • And I have created a client called 'ResendFailExternalClient'
  • When I click on the 'Setup' menu item
  • And I click on the 'Clients' menu item
  • And I click on client 'ResendFailExternalClient' on the clients page
  • And I click add new user
  • And I enter user email 'resendfail@portal'
  • And I click ok
  • And I click save
  • And I can see the message of 'Client updated successfully'
  • And I have accepted the invite for external user 'resendfail@portal'
  • And I click on the menu for external user 'resendfail@portal'
  • And I click on resend invite
  • Then I can see the message of 'User has already accepted an invitation.'

Scenario: I cannot see portal information if my subscription tier is essentials or growth 1 12s 927ms
  • Given The organisation subscription tier is set to '<tier>'
  • And I am logged in as user 'portaltier'
  • When I click on the 'Setup' menu item
  • And I click on the 'Clients' menu item
  • And I click on the default client on the clients page
  • And I click add new user
  • And I enter user email '<user>'
  • And I click ok
  • And I click save
  • And I can see the message of 'Client updated successfully'
  • And I click on the menu for external user '<user>'
  • Then I can see 'Delete'
  • And I cannot see the resend invite option
  • And I can see the message of 'For external stakeholders receiving notifications'
Examples:
| tier | user |
| Essentials | portaltier@essentials |

Scenario: I cannot see portal information if my subscription tier is essentials or growth 2 13s 267ms
  • Given The organisation subscription tier is set to '<tier>'
  • And I am logged in as user 'portaltier'
  • When I click on the 'Setup' menu item
  • And I click on the 'Clients' menu item
  • And I click on the default client on the clients page
  • And I click add new user
  • And I enter user email '<user>'
  • And I click ok
  • And I click save
  • And I can see the message of 'Client updated successfully'
  • And I click on the menu for external user '<user>'
  • Then I can see 'Delete'
  • And I cannot see the resend invite option
  • And I can see the message of 'For external stakeholders receiving notifications'
Examples:
| tier | user |
| Growth | portaltier@growth |

Scenario: I can add and delete a product attachment from product edit 21s 459ms
  • Given I am logged in as user 'productattachmentmanageuser'
  • And I create the following setup data:
    | Key | Value |
    | Username | productattachmentmanageuser |
    | TestMethodName | ProductAttachmentTestMethod1 |
    | TestMethod2Name | ProductAttachmentTestMethod2 |
    | ClientName | ProductAttachmentClient |
    | ProductName | ProductAttachmentProduct |
    | TestSuiteName | ProductAttachmentTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I click on the 'Setup' menu item
  • And I click on the 'Products' menu item
  • And I click on product 'ProductAttachmentProduct' on the products page
  • And I click on the attachments button
  • And I upload attachment 'Logo.png'
  • Then I can see the message of 'Uploaded Logo.png to product: ProductAttachmentProduct'
  • When I click on options for the added attachment
  • And I click on the delete button
  • And I click ok on the popup dialog
  • Then I can see the message of 'Logo.png deleted from product: ProductAttachmentProduct'
  • And I can see the message of 'No attachments'

Scenario: Product attachments are visible from lifecycle product side panel 26s 244ms
  • Given I am logged in as user 'productattachmentlifecycleuser'
  • And I create the following setup data:
    | Key | Value |
    | Username | productattachmentlifecycleuser |
    | TestMethodName | ProductLifecycleTM1 |
    | TestMethod2Name | ProductLifecycleTM2 |
    | ClientName | ProductLifecycleClient |
    | ProductName | ProductLifecycleProduct |
    | TestSuiteName | ProductLifecycleSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I click on the 'Setup' menu item
  • And I click on the 'Products' menu item
  • And I click on product 'ProductLifecycleProduct' on the products page
  • And I click on the attachments button
  • And I upload attachment 'Logo.png'
  • And I can see the message of 'Uploaded Logo.png to product: ProductLifecycleProduct'
  • And I click the close button
  • And I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'ProductLifecycleAttachBatch' into the batch number
  • And I select product 'ProductLifecycleProduct' from the list and add a sample
  • And I submit the job
  • And I click on the 'Receive samples' menu item
  • And I search for the created job
  • And I click on 'ProductLifecycleProduct (v1)'
  • Then I can see 'ATTACHMENTS'
  • And I can see 'Logo.png'

Scenario: I can create a product 15s 369ms
  • Given I am logged in as user 'CreateProductUser'
  • When I click on the 'Setup' menu item
  • And I click on the 'Products' menu item
  • And I click the Create product button
  • And I enter 'Test product' in the name field
  • And I add the default related suite to the product
  • And I click on related clients button
  • And I copy across the default client from the available list
  • And I click ok
  • And I click the create button
  • Then I can see the message of 'Product created successfully'

Scenario: I can view related clients on products 15s 479ms
  • Given I am logged in as user 'productclientuser'
  • When I click on the 'Setup' menu item
  • And I click on the 'Products' menu item
  • And I click on the default product on the products page
  • And I click on related clients button
  • And I click on the default client from the selected list
  • Then I can see the client name on the client edit page

Scenario: I can view related test suites on products 14s 496ms
  • Given I am logged in as user 'producttestsuiteuser'
  • When I click on the 'Setup' menu item
  • And I click on the 'Products' menu item
  • And I click on the default product on the products page
  • And I click on related test suites button
  • And I click on the default test suite from the selected item list
  • Then I can see the test suite name on the test suite edit page

Scenario: I can search for a product 18s 053ms
  • Given I am logged in as user 'SearchProductUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | SearchProductUser |
    | TestMethodName | SearchProductTestMethod |
    | TestMethod2Name | SearchProductTestMethod2 |
    | ClientName | SearchPorductClient |
    | ProductName | SearchProductProduct |
    | TestSuiteName | SearchProductTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I click on the 'Setup' menu item
  • And I click on the 'Products' menu item
  • And I am on the products page
  • And I enter 'NULL' into the search box
  • And I can see the message of 'No products found'
  • And I enter 'SearchProductProduct' into the search box
  • Then I can see product 'SearchProductProduct' in the list

Scenario: I can edit an existing product 23s 195ms
  • Given I am logged in as user 'editProductUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | editProductUser |
    | TestMethodName | editProductTestMethod |
    | TestMethod2Name | editSecondProductTestMethod |
    | ClientName | editPorductClient |
    | ProductName | editProductProduct |
    | TestSuiteName | editProductDeleteTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I click on the 'Setup' menu item
  • And I click on the 'Products' menu item
  • And I click on product 'editProductProduct' on the products page
  • And I enter 'newProductName' in the name field
  • And I press tab on the keyboard
  • And I click save
  • And I can see the message of 'Product updated successfully'
  • And I navigate to the 'products' page
  • And I enter 'newProductName' into the search box
  • Then I can see product 'newProductName' in the list

Scenario: I can delete a product 19s 256ms
  • Given I am logged in as user 'DeleteProductUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | DeleteProductUser |
    | TestMethodName | ProductTestMethod |
    | TestMethod2Name | SecondProductTestMethod |
    | ClientName | PorductClient |
    | ProductName | ProductProduct |
    | TestSuiteName | ProductDeleteTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I click on the 'Setup' menu item
  • And I click on the 'Products' menu item
  • And I click on options and delete the product 'ProductProduct'
  • And I can see the message of 'Deleting product ProductProduct'
  • Then I can see a message advising me this will affect 'ProductDeleteTestSuite'
  • And I click on the delete button
  • And I can see the message of 'Product deleted successfully'
  • And I can see that the product 'ProductProduct' has been deleted

Scenario: I can define an order of test method outputs on product specification 25s 494ms
  • Given I am logged in as user 'outputorderuser'
  • And I create the following setup data:
    | Key | Value |
    | Username | outputorderuser |
    | TestMethodName | OrderTestMethod1 |
    | TestMethod2Name | OrderTestMethod2 |
    | ClientName | OrderClient |
    | ProductName | OrderProduct |
    | TestSuiteName | OrderTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'OrderProduct' on the products page
  • And I click the generate specifications button
  • And I enter 'TMOutputUser' into the specification description
  • And I click the default spec options
  • And I click on test method output order button
  • And I move 'output-1' above 'output-2'
  • And I click the save button
  • And I click the publish button for product 'OrderProduct'
  • And I click the edit product button
  • And I click the default spec options
  • And I click on test method output order button
  • Then I can see that test method output 'output-2' is at the top

Scenario: I can clone a product 32s 755ms
  • Given I am logged in as user 'cloneproductuser'
  • And I create the following setup data:
    | Key | Value |
    | Username | cloneproductuser |
    | TestMethodName | CloneProductTestMethod1 |
    | TestMethod2Name | CloneProductTestMethod2 |
    | ClientName | CloneProductClient |
    | ProductName | Clone this product |
    | TestSuiteName | CloneProductTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'Clone this product' on the products page
  • And I enter 'Is this still here?' into the product description
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Equals' from the operator drop down
  • And I enter '2' in the target
  • And I click the save button
  • And I click the publish button for product 'Clone this product'
  • And I have navigated to the 'Products' page
  • And I click on product 'Clone this product' options
  • And I click on the clone button
  • And I enter 'clonedproduct' into the product clone pop up
  • And I click ok
  • And I click the back button
  • And I click to view product 'clonedproduct'
  • And I click the publish button for product 'clonedproduct'
  • And I can see the message of 'Product published successfully'
  • And I click the edit product button
  • Then I can see 'Specification: Equals 2' in the output spec summary
  • And The product description shows 'Is this still here?'

Scenario: I can view a product 20s 234ms
  • Given I am logged in as user 'viewProductUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | viewProductUser |
    | TestMethodName | ViewProductTestMethod1 |
    | TestMethod2Name | ViewProductTestMethod2 |
    | ClientName | ViewProductClient |
    | ProductName | ViewProductProduct |
    | TestSuiteName | ViewProductTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I click on the 'Setup' menu item
  • And I click on the 'Products' menu item
  • And I click on product 'ViewProductProduct' on the products page
  • And I enter 'View product description' into the product description
  • And I click save
  • And I can see the message of 'Product updated successfully'
  • And I click on the 'Products' menu item
  • And I click to view product 'ViewProductProduct'
  • Then I can see product 'ViewProductProduct' on the product view page
  • And The product view details show description 'View product description'

Scenario: I can clone a product with an outdated spec and cannot publish my new product 29s 139ms
  • Given I am logged in as user 'cloneproductuser2'
  • And I create the following setup data:
    | Key | Value |
    | Username | cloneproductuser2 |
    | TestMethodName | CloneProductTestMethod1 |
    | TestMethod2Name | CloneProductTestMethod2 |
    | ClientName | CloneProductClient |
    | ProductName | Clone this product |
    | TestSuiteName | CloneProductTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'Clone this product' on the products page
  • And I enter 'Is this still here?' into the product description
  • And I click the generate specifications button
  • And I enter 'TMOutputUser' into the specification description
  • And I click the output to expand the spec
  • And I select 'Equals' from the operator drop down
  • And I enter '2' in the target
  • And I click the save button
  • And I click the publish button for product 'Clone this product'
  • And I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on options and delete the test method 'CloneProductTestMethod1'
  • And I can see the message of 'Deleting test method CloneProductTestMethod1'
  • And I click on the delete button
  • And I click on the 'Products' menu item
  • And I click on product 'Clone this product' options
  • And I click on the clone button
  • And I enter 'clonedproduct' into the product clone pop up
  • And I click ok
  • Then I can see 'Edit clonedproduct'
  • And I can see test method 'CloneProductTestMethod1' in the specification section
  • And I click the back button
  • And I click to view product 'clonedproduct'
  • And I can see the publish product button is not visible

Scenario: I can update a test method and set to draft, sync this to the product and be unable to publish the product 19s 487ms
  • Given I am logged in as user 'unpublishedTMonProductUser'
  • And I have created a test method called 'unPublishedVersionTestMethod'
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on the edit test method button for test method 'unPublishedVersionTestMethod' on the test method page
  • And I click on related test suites button
  • And I copy across the default test suite from the available list
  • And I click ok
  • And I enter 'Set to draft' in the workbook notes field
  • And I click save
  • And I can see the message of 'Test method updated successfully'
  • And I click on the 'Products' menu item
  • And I click on the default product on the products page
  • And I click the generate specifications button
  • Then I can see test method 'unPublishedVersionTestMethod' showing as draft in the specification section
  • And I can see the publish product button is not visible

Scenario: I can delete a test suite and the product requires resync 16s 268ms
  • Given I am logged in as user 'DeleteProductSuiteUser'
  • When I click on the 'Setup' menu item
  • And I click on the 'Test suites' menu item
  • And I click on options and delete the default test suite
  • And I can see the message of 'This test suite will be unassigned from test method:'
  • And I click on the delete button
  • And I can see the message of 'Test suite deleted successfully'
  • And I click on the 'Products' menu item
  • And I click on the default product on the products page
  • Then I can see the default test method and its output appear in the specification section
  • And the default test method no longer shows when I resync the product

Scenario: I can delete a test method and the product requires resync 26s 606ms
  • Given I am logged in as user 'DeleteProductTMUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | DeleteProductTMUser |
    | TestMethodName | DeleteTestMethod |
    | TestMethod2Name | SecondDeleteTestMethod |
    | ClientName | DeleteTMClient |
    | ProductName | DeleteTMProduct |
    | TestSuiteName | DeleteTMTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I click on the 'Setup' menu item
  • And I click on the 'Products' menu item
  • And I click on product 'DeleteTMProduct' on the products page
  • And I click the generate specifications button
  • And I click the save button
  • And I click the publish button for product 'DeleteTMProduct'
  • And I click on the 'Test methods' menu item
  • And I click on options and delete the test method 'DeleteTestMethod'
  • And I can see the message of 'Deleting test method DeleteTestMethod'
  • And I click on the delete button
  • And I click on the 'Products' menu item
  • And I click on product 'DeleteTMProduct' on the products page
  • Then I can see test method 'DeleteTestMethod' and its output appear in the specification section
  • And test method 'DeleteTestMethod' no longer shows when I resync the product

Scenario: I can add a 2D coordinate specification on a product 22s 545ms
  • Given I am logged in as user '2dspecproductuser'
  • And I create the following setup data:
    | Key | Value |
    | Username | 2dspecproductuser |
    | TestMethodName | Approve2DSpecTestMethod1 |
    | TestMethod2Name | Approve2DSpecTestMethod2 |
    | ClientName | Approve2DSpecClient |
    | ProductName | Approve2DSpecProduct |
    | TestSuiteName | Approve2DSpecTestSuite |
    | OutputType | coordinate |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'Approve2DSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Within' from the operator drop down
  • And I enter the following into the coordinates inputs:
    | Key | Value |
    | 1x | 0.355 |
    | 1y | 0.355 |
    | 2x | 0.305 |
    | 2y | 0.305 |
    | 3x | 0.285 |
    | 3y | 0.325 |
    | 4x | 0.335 |
    | 4y | 0.375 |
  • And I click the save button
  • Then I can see 'Specification: Within: (0.355,0.355), (0.305,0.305), (0.285,0.325), (0.335,0.375)' in the output spec summary

Scenario: I can select a job and receive the samples for it 17s 696ms
  • Given I am logged in as user 'ReceiveSampleUser'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'AutoTest' into the batch number
  • And I select the default product from the list and add a sample
  • And I submit the job
  • And I click on the 'Receive samples' menu item
  • And I search for the created job
  • And I tick the first sample on the receive samples page
  • And I click the Receive button
  • Then I can see the message of 'Samples received successfully'

Scenario: I can receive a sample and enter results 18s 520ms
  • Given I am logged in as user 'EnterResultsUser'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'AutoTest' into the batch number
  • And I select the default product from the list and add a sample
  • And I click submit and go to next step to submit job with batch 'AutoTest'
  • And I tick the first sample on the receive samples page
  • And I click the Receive button
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I enter '123' into the default input
  • Then I can see '123.0' in the output field

@DeleteSetupData
Scenario: I can see the default specification is pre selected at receive samples 14s 813ms
  • Given I am logged in as user 'SelectSpecUser'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'SelectSpec' into the batch number
  • And I select the default product from the list and add a sample
  • And I click submit and go to next step to submit job with batch 'SelectSpec'
  • Then I can see the specification 'Default specification' is already selected

Scenario: I can choose to set no specification on a sample 16s 824ms
  • Given I am logged in as user 'SelectNoSpecUser'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'SelectNoSpec' into the batch number
  • And I select the default product from the list and add a sample
  • And I click submit and go to next step to submit job with batch 'SelectNoSpec'
  • And I select spec 'No specification' from the drop down
  • Then I can see the spec for the sample has been updated

@DeleteSetupData
Scenario: I can only see jobs associated with my assigned clients at receive samples 21s 070ms
  • Given I am logged in as user 'clientFilterReceiveUser'
  • And I have created the user 'spareReceiveUser'
  • And I submit a job with batchNo 'TestBatch123'
  • And I create the following setup data:
    | Key | Value |
    | Username | spareReceiveUser |
    | TestMethodName | clientReceiveFilterMethod1 |
    | TestMethod2Name | clientReceiveFilterMethod2 |
    | ClientName | clientReceiveFilterClient |
    | ProductName | clientReceiveFilterProduct |
    | TestSuiteName | clientReceiveFilterTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I have submitted a job with the following data:
    | Key | Value |
    | Username | spareReceiveUser |
    | BatchNo | NoClientAccessBatch |
    | ClientName | clientReceiveFilterClient |
    | ProductName | clientReceiveFilterProduct |
    | TestSuiteName | clientReceiveFilterTestSuite |
  • And I have navigated to the 'Receive samples' page
  • Then I can only see the job for the client I am assigned

Scenario: I can receive a batch of stock 11s 136ms
  • Given I am logged in as user 'Receivestockuser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | ReceiveViewStock |
    | Item Code | RV123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • When I click on the 'Stock' menu item
  • And I click on the 'Receive stock' menu item
  • And I click the receive stock button
  • And I populate the receive stock form with the following:
    | Key | Value |
    | Item Name | ReceiveViewStock |
    | Batch | Rec976 |
    | Quantity | 27 |
    | Expiry | Tomorrow |
    | Status | Approved |
  • And I click the receive stock button
  • Then I can see the message of 'Stock received successfully'
  • And I can see the following in the list of recently received:
    | Key | Value |
    | Batch | Rec976 |
    | Stock Item | ReceiveViewStock |
    | Item Code | RV123 |
    | Quantity | 27 |
    | Units | g |
    | Status | Approved |
    | Received | a few seconds ago |

Scenario: I can see a job is automatically submitted when I receive a batch of stock that requires testing 17s 081ms
  • Given I am logged in as user 'Submitstockuser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | SubmitViewStock |
    | Item Code | RV123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • When I click on the 'Stock' menu item
  • And I click on the 'Receive stock' menu item
  • And I click the receive stock button
  • And I populate the receive stock form with the following:
    | Key | Value |
    | Item Name | SubmitViewStock |
    | Batch | Sub976 |
    | Quantity | 27 |
    | Expiry | Tomorrow |
    | Status | Requires Testing |
  • And I populate the testing details form with the default product and test suite
  • And I click the receive stock button
  • And I can see the message of 'Job submitted successfully'
  • Then I click on the view sample link to be taken to the submitted sample for stock batch 'Sub976'
  • And I can see the following details on the sample viewer:
    | Key | Value |
    | Batch | Sub976 |
    | Client | Internal |

Scenario: I can see the status of my batch is updated to in testing when the sample is received 21s 006ms
  • Given I am logged in as user 'receivesamplestockuser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | ReceiveJobStock |
    | Item Code | RVJ123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • When I click on the 'Stock' menu item
  • And I click on the 'Receive stock' menu item
  • And I click the receive stock button
  • And I populate the receive stock form with the following:
    | Key | Value |
    | Item Name | ReceiveJobStock |
    | Batch | SubRec876 |
    | Quantity | 27 |
    | Expiry | Tomorrow |
    | Status | Requires Testing |
  • And I populate the testing details form with the default product and test suite
  • And I click the receive stock button
  • And I can see the message of 'Job submitted successfully'
  • And I navigate to the 'Dashboard' page
  • And I receive the job with batch 'SubRec876'
  • And I refresh the page
  • And I click on the 'Stock' menu item
  • And I click on the 'Receive stock' menu item
  • Then I can see the following in the list of recently received:
    | Key | Value |
    | Batch | SubRec876 |
    | Stock Item | ReceiveJobStock |
    | Item Code | RVJ123 |
    | Quantity | 27 |
    | Units | g |
    | Status | Testing in progress |
    | Received | a few seconds ago |

Scenario: I can see the status of my batch is updated when the sample is approved 1 21s 099ms
  • Given I am logged in as user 'approvesamplestockuser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | |
    | Item Code | |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • When I click on the 'Stock' menu item
  • And I click on the 'Receive stock' menu item
  • And I click the receive stock button
  • And I populate the receive stock form with the following:
    | Key | Value |
    | Item Name | |
    | Batch | |
    | Quantity | 27 |
    | Expiry | Tomorrow |
    | Status | Requires Testing |
  • And I populate the testing details form with the default product and test suite
  • And I click the receive stock button
  • And I can see the message of 'Job submitted successfully'
  • And I progress the submitted job with batch '<batch>' to approval with input value '<value>'
  • And I refresh the page
  • Then I can see the following in the list of recently received:
    | Key | Value |
    | Batch | |
    | Stock Item | |
    | Item Code | |
    | Quantity | 27 |
    | Units | g |
    | Status | |
    | Received | a few seconds ago |
Examples:
| value | status | item | batch | code |
| 5 | Approved | ApproveJobStock | SubApp876 | AJ123 |

Scenario: I can see the status of my batch is updated when the sample is approved 2 19s 231ms
  • Given I am logged in as user 'approvesamplestockuser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | |
    | Item Code | |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • When I click on the 'Stock' menu item
  • And I click on the 'Receive stock' menu item
  • And I click the receive stock button
  • And I populate the receive stock form with the following:
    | Key | Value |
    | Item Name | |
    | Batch | |
    | Quantity | 27 |
    | Expiry | Tomorrow |
    | Status | Requires Testing |
  • And I populate the testing details form with the default product and test suite
  • And I click the receive stock button
  • And I can see the message of 'Job submitted successfully'
  • And I progress the submitted job with batch '<batch>' to approval with input value '<value>'
  • And I refresh the page
  • Then I can see the following in the list of recently received:
    | Key | Value |
    | Batch | |
    | Stock Item | |
    | Item Code | |
    | Quantity | 27 |
    | Units | g |
    | Status | |
    | Received | a few seconds ago |
Examples:
| value | status | item | batch | code |
| 11 | Rejected | RejectJobStock | SubRej876 | RJ123 |

Scenario: I can upload, download and delete a custom template 1 14s 428ms
  • Given I am logged in as user '<username>'
  • When I click on the 'Administration' menu item
  • And I click on the 'report settings' menu item
  • And I click on the <reportType> tab
  • And I upload template '<reportType>'
  • Then I can see the file showing in the <reportType> custom templates
  • And I can see the <reportType> template downloads when I click on it
  • And I can no longer see the <reportType> when I click the context menu and delete it
Examples:
| reportType | username |
| SampleCertificate | newsampletemplateuser |

Scenario: I can upload, download and delete a custom template 2 14s 992ms
  • Given I am logged in as user '<username>'
  • When I click on the 'Administration' menu item
  • And I click on the 'report settings' menu item
  • And I click on the <reportType> tab
  • And I upload template '<reportType>'
  • Then I can see the file showing in the <reportType> custom templates
  • And I can see the <reportType> template downloads when I click on it
  • And I can no longer see the <reportType> when I click the context menu and delete it
Examples:
| reportType | username |
| JobCertificate | newjobtemplateuser |

Scenario: I can upload, download and delete a custom template 3 16s 680ms
  • Given I am logged in as user '<username>'
  • When I click on the 'Administration' menu item
  • And I click on the 'report settings' menu item
  • And I click on the <reportType> tab
  • And I upload template '<reportType>'
  • Then I can see the file showing in the <reportType> custom templates
  • And I can see the <reportType> template downloads when I click on it
  • And I can no longer see the <reportType> when I click the context menu and delete it
Examples:
| reportType | username |
| Workbook | newworkbooktemplateuser |

Scenario: I cannot upload a template in an unsupported format 1 10s 152ms
  • Given I am logged in as user '<username>'
  • When I click on the 'Administration' menu item
  • And I click on the 'report settings' menu item
  • And I click on the <reportType> tab
  • And I upload an unsupported file
  • Then I can see the message of 'Invalid file type. Supported types: .docx, .odt'
Examples:
| reportType | username |
| SampleCertificate | unsupportedSampleCertTemplateuser |

Scenario: I cannot upload a template in an unsupported format 2 10s 391ms
  • Given I am logged in as user '<username>'
  • When I click on the 'Administration' menu item
  • And I click on the 'report settings' menu item
  • And I click on the <reportType> tab
  • And I upload an unsupported file
  • Then I can see the message of 'Invalid file type. Supported types: .docx, .odt'
Examples:
| reportType | username |
| JobCertificate | unsupportedJobCertTemplateuser |

Scenario: I cannot upload a template in an unsupported format 3 9s 474ms
  • Given I am logged in as user '<username>'
  • When I click on the 'Administration' menu item
  • And I click on the 'report settings' menu item
  • And I click on the <reportType> tab
  • And I upload an unsupported file
  • Then I can see the message of 'Invalid file type. Supported types: .docx, .odt'
Examples:
| reportType | username |
| Workbook | unsupportedWorkbookTemplateuser |

Scenario: I can download the default template 1 9s 523ms
  • Given I am logged in as user '<username>'
  • When I click on the 'Administration' menu item
  • And I click on the 'report settings' menu item
  • And I click on the <reportType> tab
  • Then I can see the template downloads when I click the download <reportType> template button
Examples:
| reportType | username |
| SampleCertificate | sampleCertTemplateDownloadUser |

Scenario: I can download the default template 2 9s 413ms
  • Given I am logged in as user '<username>'
  • When I click on the 'Administration' menu item
  • And I click on the 'report settings' menu item
  • And I click on the <reportType> tab
  • Then I can see the template downloads when I click the download <reportType> template button
Examples:
| reportType | username |
| JobCertificate | jobCertTemplateDownloadUser |

Scenario: I can download the default template 3 9s 810ms
  • Given I am logged in as user '<username>'
  • When I click on the 'Administration' menu item
  • And I click on the 'report settings' menu item
  • And I click on the <reportType> tab
  • Then I can see the template downloads when I click the download <reportType> template button
Examples:
| reportType | username |
| Workbook | workbookTemplateDownloadUser |

Scenario: I can enter results and export these on the results export 20s 749ms
  • Given I am logged in as user 'EnterResultsAndExportUser2'
  • When I progress a job up to enter results with batchNo 'ResultsExport1' and spec 'Default specification'
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I click into the first input and enter '9'
  • And I press enter on the keyboard
  • And I click on the show summary and submit button
  • And I click on the submit button
  • And I can see the message of 'Test submitted successfully'
  • And I click on the 'Reporting' menu item
  • And I click on the 'Export results' menu item
  • And I click on the export results button
  • And I click the download button to download the export
  • Then I can see the following information in the export:
    | Key | Value |
    | Batch No | ResultsExport1 |
    | Result | 9.0 |
    | JobFieldTitle1 | |
    | JobFieldValue1 | |
    | SampleFieldTitle1 | |
    | SampleFieldValue1 | |
    | Repeat | 1 |

Scenario: I can change a submitted result and see this update on the results export 20s 322ms
  • Given I am logged in as user 'EnterResultsAndExportUser'
  • When I progress a job up to verify with batchNo 'ResultsExport2' and input value '32.2' and spec 'Default specification'
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I click into the first input and enter '98.65'
  • And I press enter on the keyboard
  • And I click on the show summary and submit button
  • And I click on the submit button
  • And I can see the message of 'Test submitted successfully'
  • And I click on the 'Reporting' menu item
  • And I click on the 'Export results' menu item
  • And I click on the export results button
  • And I click the download button to download the export
  • Then I can see the following information in the export:
    | Key | Value |
    | Batch No | ResultsExport2 |
    | Result | 98.7 |
    | JobFieldTitle1 | |
    | JobFieldValue1 | |
    | SampleFieldTitle1 | |
    | SampleFieldValue1 | |
    | Repeat | 1 |

Scenario: I can produce a results export for a specified job id 16s 265ms
  • Given I am logged in as user 'EnterResultsAndExportByJobIdUser'
  • When I progress a job up to verify with batchNo 'jobid' and input value '64.8' and spec 'Default specification'
  • And I click on the 'Reporting' menu item
  • And I click on the 'Export results' menu item
  • And I enter the job id on the results exports page
  • And I click on the export results button
  • And I click the download button to download the export
  • Then I can see the following information in the export:
    | Key | Value |
    | Batch No | jobid |
    | Result | 64.8 |
    | JobFieldTitle1 | |
    | JobFieldValue1 | |
    | SampleFieldTitle1 | |
    | SampleFieldValue1 | |
    | Repeat | 1 |

Scenario: I can produce a results export using a given date range 16s 301ms
  • Given I am logged in as user 'EnterResultsAndExportByDateUser'
  • When I progress a job up to verify with batchNo 'dateRange' and input value '0.67' and spec 'Default specification'
  • And I click on the 'Reporting' menu item
  • And I click on the 'Export results' menu item
  • And I enter the date range '01/01/2023' to '' on the export results page
  • And I click on the export results button
  • And I click the download button to download the export
  • Then I can see the following information in the export:
    | Key | Value |
    | Batch No | dateRange |
    | Result | 0.7 |
    | JobFieldTitle1 | |
    | JobFieldValue1 | |
    | SampleFieldTitle1 | |
    | SampleFieldValue1 | |
    | Repeat | 1 |

@ClearCustomFields
Scenario: I can see my custom job and sample fields on the results export 31s 820ms
  • Given I am logged in as user 'CustomFieldExportUser'
  • And I have set the first custom sample field as 'Custom sample field'
  • And I have set the first custom job field as 'Custom job field'
  • When I click on the 'Setup' menu item
  • And I click on the 'custom fields' menu item
  • And I select the default client from the job fields drop down
  • And I enter 'clientOverridejob' into the first custom job field title
  • And I click save job fields
  • And I can see the message of 'Job custom fields saved successfully'
  • When I progress a job up to verify with batchNo 'ResultsExport1' and input value '9' and spec 'Default specification'
  • And I view the created job on the job viewer
  • And I click on the edit button
  • And I can enter value 'JobResultsExport' into the custom field 'clientOverridejob'
  • And I view the first sample on the job
  • And I click on the edit button
  • And I can enter value 'Sample results export' into the custom field 'Custom sample field'
  • And I click on the 'Reporting' menu item
  • And I click on the 'Export results' menu item
  • And I click on the export results button
  • And I click the download button to download the export
  • Then I can see the following information in the export:
    | Key | Value |
    | Batch No | ResultsExport1 |
    | Result | 9.0 |
    | JobFieldTitle1 | clientOverridejob |
    | JobFieldValue1 | JobResultsExport |
    | SampleFieldTitle1 | Custom sample field |
    | SampleFieldValue1 | Sample results export |
    | Repeat | 1 |

Scenario: I can export results for all clients in the system 21s 659ms
  • Given I am logged in as user 'ExportNoFilterUser'
  • And I have created the user 'spareNoFilterUser'
  • And I have progressed a job up to verify with batchNo 'TestBatch123' and input value '5' and spec 'Default specification'
  • And I create the following setup data:
    | Key | Value |
    | Username | spareNoFilterUser |
    | TestMethodName | clientNoFilterMethod1 |
    | TestMethod2Name | clientNoFilterMethod2 |
    | ClientName | clientNoFilterClient |
    | ProductName | clientNoFilterProduct |
    | TestSuiteName | clientNoFilterTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I have submitted a job with the following data:
    | Key | Value |
    | Username | spareNoFilterUser |
    | BatchNo | SecondJobBatch |
    | ClientName | clientNoFilterClient |
    | ProductName | clientNoFilterProduct |
    | TestSuiteName | clientNoFilterTestSuite |
  • And I receive the job
  • And I enter results of '9' for job
  • And I click on the 'Reporting' menu item
  • And I click on the 'Export results' menu item
  • And I click on the export results button
  • And I click the download button to download the export
  • Then I can see the following information in line '1' of the export:
    | Key | Value |
    | Batch No | SecondJobBatch |
    | Result | 9.000 |
    | Repeat | 1 |
  • And I can see the following information in line '2' of the export:
    | Key | Value |
    | Batch No | TestBatch123 |
    | Result | 5.0 |
    | Repeat | 1 |

Scenario: I can see repeats when exporting results 18s 223ms
  • Given I am logged in as user 'ExportResultsWithRepeatsUser'
  • When I progress a job up to approval with batchNo 'TestBatch123' and input value '12.3' and 2 repeats
  • And I click on the 'Reporting' menu item
  • And I click on the 'Export results' menu item
  • And I enter the job id on the results exports page
  • And I click on the export results button
  • And I click the download button to download the export
  • Then I can see 3 repeats in the export

Scenario: I can set up the mappings for the results import and import results from 1 24s 536ms
  • Given I am logged in as user 'ResImportUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | ResImportUser |
    | TestMethodName | |
    | TestMethod2Name | |
    | ClientName | ResImportSpecClient |
    | ProductName | ResImportSpecProduct |
    | TestSuiteName | ResImportSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have created equipment item '<EquipmentItem>' and event called 'importevent'
  • When I progress a job up to enter results with batchNo 'resultimport' and spec 'Default specification'
  • And I update the file 'resultimport.<FileType>' with the correct sample id
  • And I click on the admin icon
  • And I click on the 'Administration' menu item
  • And I click on the results import configure button
  • And I click on '<EquipmentItem>'
  • And I select the filetype of '<FileType>'
  • And I enter the following in the column mapping:
    | Key | Value |
    | SampleId | sampleid |
    | TestMethodName | tmName |
  • And I click the add test method button
  • And I select the default test method from the drop down
  • And I click ok
  • And I select the default input from the input drop down
  • And I click the add input button
  • And I map the input to name 'mapinput'
  • And I click save
  • And I can see the message of 'Mapping for <EquipmentItem> has been updated'
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I click on upload results
  • And I select the mapping configuration for equipment item '<EquipmentItem>'
  • And I upload the file 'resultimport.<FileType>'
  • And I click upload
  • Then I can see the successfull upload of the result
  • And I click the back button
  • And I can see '65.000' in the output field
Examples:
| FileType | EquipmentItem | TMName |
| csv | Equipimportcsv | ResImportTestMethod1 |

Scenario: I can set up the mappings for the results import and import results from 2 26s 244ms
  • Given I am logged in as user 'ResImportUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | ResImportUser |
    | TestMethodName | |
    | TestMethod2Name | |
    | ClientName | ResImportSpecClient |
    | ProductName | ResImportSpecProduct |
    | TestSuiteName | ResImportSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have created equipment item '<EquipmentItem>' and event called 'importevent'
  • When I progress a job up to enter results with batchNo 'resultimport' and spec 'Default specification'
  • And I update the file 'resultimport.<FileType>' with the correct sample id
  • And I click on the admin icon
  • And I click on the 'Administration' menu item
  • And I click on the results import configure button
  • And I click on '<EquipmentItem>'
  • And I select the filetype of '<FileType>'
  • And I enter the following in the column mapping:
    | Key | Value |
    | SampleId | sampleid |
    | TestMethodName | tmName |
  • And I click the add test method button
  • And I select the default test method from the drop down
  • And I click ok
  • And I select the default input from the input drop down
  • And I click the add input button
  • And I map the input to name 'mapinput'
  • And I click save
  • And I can see the message of 'Mapping for <EquipmentItem> has been updated'
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I click on upload results
  • And I select the mapping configuration for equipment item '<EquipmentItem>'
  • And I upload the file 'resultimport.<FileType>'
  • And I click upload
  • Then I can see the successfull upload of the result
  • And I click the back button
  • And I can see '65.000' in the output field
Examples:
| FileType | EquipmentItem | TMName |
| xls | Equipimportxls | ResImportTestMethod2 |

Scenario: I can download a sample certificate for an approved sample 20s 164ms
  • Given I am logged in as user 'DownloadSampleCertUser'
  • And I have progressed a job through the lifecycle process with batchNo 'TestBatch123' and input value '123'
  • When I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click the download sample certificate button
  • Then I can see the message of 'Sample certificate has been uploaded to the sample attachments'

Scenario: I can download a draft sample certificate for an unapproved sample 18s 690ms
  • Given I am logged in as user 'DownloadDraftSampleCertUser'
  • And I have progressed a job up to approval with batchNo 'TestBatch123' and input value '123'
  • When I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click the download sample certificate button
  • Then I can see a file has downloaded

Scenario: I can see sample certificate templates when I print a sample certificate 31s 926ms
  • Given I am logged in as user 'PrintSampleCertUser'
  • And I have progressed a job through the lifecycle process with batchNo 'TestBatch123' and input value '123'
  • When I click on the 'administration' menu item
  • And I click on the 'report settings' menu item
  • And I click on the SampleCertificate tab
  • And I upload template 'AltCert'
  • And I upload template 'SamCert'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click the download sample certificate button
  • Then I can see my new template is selected by default
  • And I can select a custom template
  • And I can see the message of 'Sample certificate has been uploaded to the sample attachments'
  • And I click on the 'administration' menu item
  • And I click on the 'report settings' menu item
  • And I click on the SampleCertificate tab
  • And I can no longer see the templates when I delete them

Scenario: I can see the sample certificate is attached to a sample 19s 485ms
  • Given I am logged in as user 'SampleCertificateAttachmentUser'
  • And I have progressed a job through the lifecycle process with batchNo 'TestBatch123' and input value '123'
  • When I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click the download sample certificate button
  • And I can see the message of 'Sample certificate has been uploaded to the sample attachments'
  • And I click on attachments
  • Then I can see the sample certificate attachment showing here

Scenario: I can see the sample certificate is attached to the sample from the approve samples page 23s 795ms
  • Given I am logged in as user 'SampleCertAttachApproveSamplesUser'
  • When I progress a job up to approval with batchNo 'TestBatch123' and input value '7' and spec 'Default specification'
  • And I click on the 'Approve samples' menu item
  • And I search for the created job
  • And I tick then approve the results
  • And I click the download sample certificate button
  • And I can see the message of 'Sample certificate has been uploaded to the sample attachments'
  • And I click the download sample certificate button
  • And I can see the message of 'Sample certificate has been downloaded from sample attachments'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click on attachments
  • Then I can see the sample certificate attachment showing here

Scenario: I am served a sample certificate from the attachments if one exists 20s 975ms
  • Given I am logged in as user 'SampleCertificateReturnExistingUser'
  • And I have progressed a job through the lifecycle process with batchNo 'TestBatch123' and input value '123'
  • When I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click the download sample certificate button
  • And I can see the message of 'Sample certificate has been uploaded to the sample attachments'
  • And I click the download sample certificate button
  • Then I can see the message of 'Sample certificate has been downloaded from sample attachments'

Scenario: I can regenerate a sample certificate that has previously been generated 21s 061ms
  • Given I am logged in as user 'RegenSampleCertificateUser'
  • And I have progressed a job through the lifecycle process with batchNo 'TestBatch123' and input value '123'
  • When I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click the download sample certificate button
  • And I can see the message of 'Sample certificate has been uploaded to the sample attachments'
  • And I click the sample options button
  • And I click on regenerate sample certificate button
  • And I can see the message of 'Regenerating will retrieve the latest available data and create a new report.'
  • And I click ok
  • And I can see the message of 'Sample certificate has been uploaded to the sample attachments'
  • And I click on attachments
  • Then I can see both certificates showing here

Scenario: I can select a default sample certificate template on a product and see this is used on generation 34s 761ms
  • Given I am logged in as user 'DefaultSampleCertTemplateUser'
  • And I have progressed a job through the lifecycle process with batchNo 'TestBatch123' and input value '123'
  • When I click on the 'administration' menu item
  • And I click on the 'report settings' menu item
  • And I click on the SampleCertificate tab
  • And I upload template 'SamCert'
  • And I upload template 'AltCert'
  • And I click on the 'setup' menu item
  • And I click on the 'Products' menu item
  • And I click on the default product on the products page
  • And I click on the report settings button
  • And I select a temple 'AltCert.docx' for the sample certificate template
  • And I click ok
  • And I click save
  • And I can see the message of 'Report settings updated successfully'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click the download sample certificate button
  • And I click on attachments
  • Then I can see 'AltCert'
  • And I click on the 'administration' menu item
  • And I click on the 'report settings' menu item
  • And I click on the SampleCertificate tab
  • And I can no longer see the templates when I delete them

Scenario: I can produce sample labels for all my selected samples on receive 16s 920ms
  • Given I am logged in as user 'allsamplelabelsuser'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'SampleTest' into the batch number
  • And I select the default product from the list and add a sample
  • And I add click the add samples button
  • And I enter '3' into add samples and click ok
  • And I click submit and go to next step to submit job with batch 'SampleTest'
  • And I tick to receive all the samples
  • And I tick to download all sample labels
  • Then A file is downloaded when I click the receive button

Scenario: I can produce all sample labels for a job on the job viewer 21s 505ms
  • Given I am logged in as user 'allsamplelabelsjobvieweruser'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'SampleTest' into the batch number
  • And I select the default product from the list and add a sample
  • And I add click the add samples button
  • And I enter '3' into add samples and click ok
  • And I click submit and go to next step to submit job with batch 'SampleTest'
  • And I view the created job on the job viewer
  • Then a file is downloaded when I click the download all sample labels button

Scenario: I can add correctly available test methods when editing an existing sample 24s 425ms
  • Given I am logged in as user 'EditExistingJobUser'
  • And I have created a test method called 'EditExistingJobClientTestMethod'
  • And I have created an unlinked test method called 'EditExistingJobUnlinkedTestMethod'
  • And I have progressed a job up to enter results with batchNo 'EditExistingJob'
  • When I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click edit tests on the sample viewer
  • And I click the select test method drop down
  • Then I can see 'EditExistingJobClientTestMethod'
  • And I can see 'EditExistingJobUnlinkedTestMethod'

Scenario: The sample due date can be updated 20s 958ms
  • Given I am logged in as user 'UpdateDueDateUser'
  • And I have progressed a job up to enter results with batchNo 'SampleDueDateTest'
  • When I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click on the edit button
  • And I click on the due date calendar
  • And I change the due date to the first of the next month
  • Then I can save

Scenario: I can use the arrows to move between samples on a job 23s 228ms
  • Given I am logged in as user 'SampleNavigationUser'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'SampleNavigation' into the batch number
  • And I select the default product from the list and add a sample
  • And I add click the add samples button
  • And I enter '1' into add samples and click ok
  • And I click submit and go to next step to submit job with batch 'SampleTest'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click the arrow symbol to go to the next sample
  • Then I can see I am viewing the second sample for the submitted job
  • And The next sample arrow symbol is disabled

Scenario: I can delete a repeat test from a sample 25s 818ms
  • Given I am logged in as user 'DeleteTestExistingJobUser'
  • And I have created a test method called 'DeleteTestTestMethod'
  • And I have progressed a job up to enter results with batchNo 'DeleteTestExistingJob'
  • When I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click edit tests on the sample viewer
  • And I click the select test method drop down
  • And I click on 'DeleteTestTestMethod (v1)'
  • And I add 5 of these tests to the job
  • And I click save
  • And I can see the message of 'Tests added successfully'
  • And I clik on the context menu for the test method 'DeleteTestTestMethod'
  • And I click on delete
  • And I click ok
  • And I can see the message of 'Test deleted successfully'
  • Then I See 4 repeats for test method 'DeleteTestTestMethod'
  • And I can no longer see repeat 5 for test 'DeleteTestTestMethod'

Scenario: I can add repeat tests to an existing sample 24s 196ms
  • Given I am logged in as user 'AddRepeatTestUser'
  • And I have created a test method called 'RepeatTestMethod'
  • And I have progressed a job up to enter results with batchNo 'AddRepeatsJob'
  • When I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click edit tests on the sample viewer
  • And I click the select test method drop down
  • And I click on 'RepeatTestMethod (v1)'
  • And I add 6 of these tests to the job
  • And I click save
  • And I can see the message of 'Tests added successfully'
  • Then I See 6 repeats for test method 'RepeatTestMethod'

Scenario: I can change my date locale and see this update the format on LabHQ 19s 190ms
  • Given I am logged in as user 'localeChangeUser'
  • When I progress a job up to verify with batchNo 'localeChange' and input value '0.89' and spec 'Default specification'
  • And I click on the admin icon
  • And I click on the settings configure button
  • And I select US from the locale drop down
  • And I click save
  • And I can see the message of 'Settings updated successfully'
  • And I view the created job on the job viewer
  • Then I can see the submitted date in the US format

@RFCDisable
Scenario: I am prompted to give a reason for change in order to change a submitted test input 14s 820ms
  • Given I am logged in as user 'GiveReasonTestInputUser'
  • When I click on the admin icon
  • And I click on the settings configure button
  • And I enable the require reason for change setting
  • And I click save
  • And I can see the message of 'Settings updated successfully'
  • And I have progressed a job up to verify with batchNo 'GiveReasonTestInput' and input value '2' and spec 'Default specification'
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I click into the first input and enter '9'
  • And I press enter on the keyboard
  • And I enter a reason for change of 'Change control Test'
  • And I click ok
  • Then I can see the 'first' input contains '9'

Scenario: I am prompted to enter my password when submitting a result if require e-sig is enabled 17s 221ms
  • Given I am logged in as user 'EsigTestInputUser'
  • When I click on the admin icon
  • And I click on the settings configure button
  • And I enable the require E-signatures setting
  • And I click save
  • And I can see the message of 'Settings updated successfully'
  • And I progress a job up to enter results with batchNo 'EsigTestInput' and spec 'Default specification'
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I click into the first input and enter '9'
  • And I press enter on the keyboard
  • And I click on the show summary and submit button
  • And I click on the submit button
  • Then I can see the password prompt appear
  • And I can see 'Test submitted successfully' when I enter my password and click ok

Scenario: The test verification process is skipped if I have the setting enabled 25s 079ms
  • Given I am logged in as user 'SkipVerificationUser'
  • When I click on the 'Administration' menu item
  • And I click on the 'More settings' menu item
  • And I click on the settings configure button
  • And I enable the skip verification setting
  • And I click save
  • And I can see the message of 'Settings updated successfully'
  • And I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'AutoTest' into the batch number
  • And I select the default product from the list and add a sample
  • And I click submit and go to next step to submit job with batch 'AutoTest'
  • And I tick the first sample on the receive samples page
  • And I click the Receive button
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I enter '1' into the default input and submit the results
  • And I click on the 'Approve samples' menu item
  • And I search for the created job
  • Then I can see the sample on the approve samples page

Scenario: I cannot verify a sample if I entered the results with the independent verify setting on 21s 600ms
  • Given I am logged in as user 'IndependentVerificationUser'
  • When I click on the admin icon
  • And I click on the settings configure button
  • And I enable the require independent verification setting
  • And I click save
  • And I can see the message of 'Settings updated successfully'
  • And I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'AutoTest' into the batch number
  • And I select the default product from the list and add a sample
  • And I click submit and go to next step to submit job with batch 'AutoTest'
  • And I tick the first sample on the receive samples page
  • And I click the Receive button
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I enter '123' into the default input and submit the results
  • And I click on the 'Verify tests' menu item
  • And I search for the created job
  • Then I am not able to tick the sample to verify the test results

Scenario: I cannot turn off MFA if my organisation requires it 18s 964ms
  • Given I am logged in as user 'EnforcedMfaUser'
  • When I click on the admin icon
  • And I click on the settings configure button
  • And I enable the enforce MFA setting
  • And I click save
  • And I can see the message of 'Settings updated successfully'
  • And I refresh the page
  • And I navigate to the 'dashboard' page
  • And I click on the my account button
  • Then I can see MFA is set to email
  • And I can see there is no option to turn off MFA

Scenario: I receive an emailed OTP if my organisation enables forced MFA 13s 963ms
  • Given I am logged in as user 'emailOtpUser'
  • When I click on the admin icon
  • And I click on the settings configure button
  • And I enable the enforce MFA setting
  • And I click save
  • And I can see the message of 'Settings updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials for user 'emailOtpUser'
  • Then I can see the OTP email request page

Scenario: I can add a specification to a product 21s 045ms
  • Given I am logged in as user 'CreateSpecUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | CreateSpecUser |
    | TestMethodName | SpecTestMethod1 |
    | TestMethod2Name | SpecTestMethod2 |
    | ClientName | SpecClient |
    | ProductName | SpecProduct |
    | TestSuiteName | SpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'SpecProduct' on the products page
  • And I click the generate specifications button
  • Then I can see test method 'SpecTestMethod1' and its output appear in the specification section

Scenario: I can update a specification on a product 24s 753ms
  • Given I am logged in as user 'UpdateSpecUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | UpdateSpecUser |
    | TestMethodName | UpdateSpecTestMethod1 |
    | TestMethod2Name | UpdateSpecTestMethod2 |
    | ClientName | UpdateSpecClient |
    | ProductName | UpdateSpecProduct |
    | TestSuiteName | UpdateSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'UpdateSpecProduct' on the products page
  • And I click the generate specifications button
  • And I enter 'Automated test spec' into the specification description
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '1' in the lower limit
  • And I enter '5' in the upper limit
  • And I click the save and publish product button
  • Then I can see the message of 'Product published successfully'
  • And I click the edit product button
  • And I can see 'Specification: Between 1 and 5' in the output spec summary

Scenario: I can see a pass specification results on the approve samples page 1 31s 678ms
  • Given I am logged in as user '<username>'
  • And I create the following setup data:
    | Key | Value |
    | Username | |
    | TestMethodName | ApproveResultSpecTestMethod1 |
    | TestMethod2Name | ApproveResultSpecTestMethod2 |
    | ClientName | ApproveResultSpecClient |
    | ProductName | ApproveResultSpecProduct |
    | TestSuiteName | ApproveResultSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'ApproveResultSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '<lower>' in the lower limit
  • And I enter '<upper>' in the upper limit
  • And I click the save button
  • And I click the publish button for product 'ApproveResultSpecProduct'
  • And I progress a job up to approval with batchNo 'viewpassspecsresults' and input value '<input>' and spec 'Default specification'
  • And I navigate to the approve samples page for the job
  • Then I can see that the job meets the spec requirements on the approve samples page
Examples:
| lower | upper | input | username |
| 1 | 5 | 2 | ApproveResultSpecUser3 |

Scenario: I can see a pass specification results on the approve samples page 2 29s 729ms
  • Given I am logged in as user '<username>'
  • And I create the following setup data:
    | Key | Value |
    | Username | |
    | TestMethodName | ApproveResultSpecTestMethod1 |
    | TestMethod2Name | ApproveResultSpecTestMethod2 |
    | ClientName | ApproveResultSpecClient |
    | ProductName | ApproveResultSpecProduct |
    | TestSuiteName | ApproveResultSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'ApproveResultSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '<lower>' in the lower limit
  • And I enter '<upper>' in the upper limit
  • And I click the save button
  • And I click the publish button for product 'ApproveResultSpecProduct'
  • And I progress a job up to approval with batchNo 'viewpassspecsresults' and input value '<input>' and spec 'Default specification'
  • And I navigate to the approve samples page for the job
  • Then I can see that the job meets the spec requirements on the approve samples page
Examples:
| lower | upper | input | username |
| 1.067654 | 1.067658 | 1.067656 | ApproveResultSpecUser4 |

Scenario: I can see a pass specification results on the approve samples page 3 29s 797ms
  • Given I am logged in as user '<username>'
  • And I create the following setup data:
    | Key | Value |
    | Username | |
    | TestMethodName | ApproveResultSpecTestMethod1 |
    | TestMethod2Name | ApproveResultSpecTestMethod2 |
    | ClientName | ApproveResultSpecClient |
    | ProductName | ApproveResultSpecProduct |
    | TestSuiteName | ApproveResultSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'ApproveResultSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '<lower>' in the lower limit
  • And I enter '<upper>' in the upper limit
  • And I click the save button
  • And I click the publish button for product 'ApproveResultSpecProduct'
  • And I progress a job up to approval with batchNo 'viewpassspecsresults' and input value '<input>' and spec 'Default specification'
  • And I navigate to the approve samples page for the job
  • Then I can see that the job meets the spec requirements on the approve samples page
Examples:
| lower | upper | input | username |
| 0.00000001 | 0.000000016 | 0.000000012 | ApproveResultSpecUser5 |

Scenario: I can see a pass specification results on the approve samples page 4 32s 236ms
  • Given I am logged in as user '<username>'
  • And I create the following setup data:
    | Key | Value |
    | Username | |
    | TestMethodName | ApproveResultSpecTestMethod1 |
    | TestMethod2Name | ApproveResultSpecTestMethod2 |
    | ClientName | ApproveResultSpecClient |
    | ProductName | ApproveResultSpecProduct |
    | TestSuiteName | ApproveResultSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'ApproveResultSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '<lower>' in the lower limit
  • And I enter '<upper>' in the upper limit
  • And I click the save button
  • And I click the publish button for product 'ApproveResultSpecProduct'
  • And I progress a job up to approval with batchNo 'viewpassspecsresults' and input value '<input>' and spec 'Default specification'
  • And I navigate to the approve samples page for the job
  • Then I can see that the job meets the spec requirements on the approve samples page
Examples:
| lower | upper | input | username |
| 3.7659e+10 | 9.7659e+10 | 6.7659e+10 | ApproveResultSpecUser6 |

Scenario: I can add a 2D coordinate specification on a product and see this fail at enter results 30s 673ms
  • Given I am logged in as user '2dspecfailuser'
  • And I create the following setup data:
    | Key | Value |
    | Username | 2dspecfailuser |
    | TestMethodName | Fail2DSpecTestMethod1 |
    | TestMethod2Name | Fail2DSpecTestMethod2 |
    | ClientName | Fail2DSpecClient |
    | ProductName | Fail2DSpecProduct |
    | TestSuiteName | Fail2DSpecTestSuite |
    | OutputType | coordinate |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'Fail2DSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Within' from the operator drop down
  • And I enter the following into the coordinates inputs:
    | Key | Value |
    | 1x | 0.355 |
    | 1y | 0.355 |
    | 2x | 0.305 |
    | 2y | 0.305 |
    | 3x | 0.285 |
    | 3y | 0.325 |
    | 4x | 0.335 |
    | 4y | 0.375 |
  • And I click the save button
  • And I click the publish button for product 'Fail2DSpecProduct'
  • And I progress a job up to enter results with batchNo '2dspecbat' and spec 'Default specification'
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I drop down the test method 'Fail2DSpecTestMethod1' on the enter results page
  • And I enter '0.284,0.324' into the default input
  • And I press enter on the keyboard
  • Then I can see the failed specification warning on the enter results page
  • And I can see the limit details of 'Specification: Within (0.355,0.355), (0.305,0.305), (0.285,0.325), (0.335,0.375)' when I view the summary and hover the result

Scenario: I can add a 2D coordinate specification on a product and see this pass at approve samples 30s 870ms
  • Given I am logged in as user '2dspecPassuser'
  • And I create the following setup data:
    | Key | Value |
    | Username | 2dspecPassuser |
    | TestMethodName | Pass2DSpecTestMethod1 |
    | TestMethod2Name | Pass2DSpecTestMethod2 |
    | ClientName | Pass2DSpecClient |
    | ProductName | Pass2DSpecProduct |
    | TestSuiteName | Pass2DSpecTestSuite |
    | OutputType | coordinate |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'Pass2DSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Within' from the operator drop down
  • And I enter the following into the coordinates inputs:
    | Key | Value |
    | 1x | 0.3890 |
    | 1y | 0.4310 |
    | 2x | 0.4430 |
    | 2y | 0.3990 |
    | 3x | 0.4060 |
    | 3y | 0.3790 |
    | 4x | 0.3650 |
    | 4y | 0.4000 |
  • And I click the save button
  • And I click the publish button for product 'Pass2DSpecProduct'
  • And I progress a job up to approval with batchNo 'pass2dspec' and input value '0.4000,0.4000' and spec 'Default specification'
  • And I navigate to the approve samples page for the job
  • Then I can see that the job meets the spec requirements on the approve samples page

Scenario: I can see a pass specification when a default test method value is used 30s 239ms
  • Given I am logged in as user 'DefaultValueSpecUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | DefaultValueSpecUser |
    | TestMethodName | DefaultValueSpecTestMethod1 |
    | TestMethod2Name | DefaultValueSpecTestMethod2 |
    | ClientName | DefaultValueSpecClient |
    | ProductName | DefaultValueSpecProduct |
    | TestSuiteName | DefaultValueSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | 3 |
  • And I have navigated to the 'Products' page
  • When I click on product 'DefaultValueSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '1' in the lower limit
  • And I enter '5' in the upper limit
  • And I click the save button
  • And I click the publish button for product 'DefaultValueSpecProduct'
  • And I progress a job up to approval with batchNo 'DefaultValueSpecBatch', default input value and spec 'Default specification'
  • And I navigate to the approve samples page for the job
  • Then I can see that the job meets the spec requirements on the approve samples page

Scenario: I can see a fail specification result on the verify tests page 32s 909ms
  • Given I am logged in as user 'VerifyTestsSpecUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | VerifyTestsSpecUser |
    | TestMethodName | VerifyTestsSpecTestMethod1 |
    | TestMethod2Name | VerifyTestsSpecTestMethod2 |
    | ClientName | VerifyTestsSpecClient |
    | ProductName | VerifyTestsSpecProduct |
    | TestSuiteName | VerifyTestsSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'VerifyTestsSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '1' in the lower limit
  • And I enter '5' in the upper limit
  • And I click the save button
  • And I click the publish button for product 'VerifyTestsSpecProduct'
  • And I have progressed a job up to verify with batchNo 'verifyspecresults' and input value '6' and spec 'Default specification'
  • And I navigate to the verify tests page for the job
  • And I click to expand test 'VerifyTestsSpecTestMethod1' on the verify tests page
  • Then I can see that the test failed the spec requirements on the verify tests page
  • And I can see the spec limits of 'Specification: Between 1 and 5' when I hover the result

Scenario: I can see out of specs when entering results 30s 528ms
  • Given I am logged in as user 'EnterResultsSpecUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | EnterResultsSpecUser |
    | TestMethodName | EnterResultsSpecTestMethod1 |
    | TestMethod2Name | EnterResultsSpecTestMethod2 |
    | ClientName | EnterResultsSpecClient |
    | ProductName | EnterResultsSpecProduct |
    | TestSuiteName | EnterResultsSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'EnterResultsSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '1' in the lower limit
  • And I enter '5' in the upper limit
  • And I click the save button
  • And I click the publish button for product 'EnterResultsSpecProduct'
  • And I progress a job up to enter results with batchNo 'TestBatch123' and spec 'Default specification'
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I drop down the test method 'EnterResultsSpecTestMethod1' on the enter results page
  • And I click into the first input and enter '5.5'
  • And I press enter on the keyboard
  • Then I can see the failed specification warning on the enter results page
  • And I can see the limit details of 'Specification: Between 1 and 5' when I view the summary and hover the result

Scenario: I can see a fail specification results on the approve samples page 31s 518ms
  • Given I am logged in as user 'ApproveFailResultSpecUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | ApproveFailResultSpecUser |
    | TestMethodName | ApproveFailResultSpecTestMethod1 |
    | TestMethod2Name | ApproveFailResultSpecTestMethod2 |
    | ClientName | ApproveFailResultSpecClient |
    | ProductName | ApproveFailResultSpecProduct |
    | TestSuiteName | ApproveFailResultSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'ApproveFailResultSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Equals' from the operator drop down
  • And I enter '2' in the target
  • And I click the save button
  • And I click the publish button for product 'ApproveFailResultSpecProduct'
  • And I progress a job up to approval with batchNo 'viewfailspecsresults' and input value '2.1' and spec 'Default specification'
  • And I navigate to the approve samples page for the job
  • Then I can see that the job failed the spec requirements with the message of '1 of 2 tests fail' on the approve samples page

Scenario: I can view the specification results on the test viewer page 34s 709ms
  • Given I am logged in as user 'TestViewResultSpecUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | TestViewResultSpecUser |
    | TestMethodName | TestViewResultSpecTestMethod1 |
    | TestMethod2Name | TestViewResultSpecTestMethod2 |
    | ClientName | TestViewResultSpecClient |
    | ProductName | TestViewResultSpecProduct |
    | TestSuiteName | TestViewResultSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'TestViewResultSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '0.0000002' in the lower limit
  • And I enter '0.0000003' in the upper limit
  • And I click the save button
  • And I click the publish button for product 'TestViewResultSpecProduct'
  • And I progress a job up to approval with batchNo 'testviewspecsresults' and input value '0.000001' and spec 'Default specification'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I view the test method 'TestViewResultSpecTestMethod1' on the sample details page
  • Then I can see the warning that the test does not match specification on the test viewer

Scenario: I can see the spec change from fail to pass when results are changed 41s 121ms
  • Given I am logged in as user 'ChangeResultSpecUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | ChangeResultSpecUser |
    | TestMethodName | ChangeResultSpecTestMethod1 |
    | TestMethod2Name | ChangeResultSpecTestMethod2 |
    | ClientName | ChangeResultSpecClient |
    | ProductName | ChangeResultSpecProduct |
    | TestSuiteName | ChangeResultSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'ChangeResultSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Greater than' from the operator drop down
  • And I enter '2' in the lower limit
  • And I click the save button
  • And I click the publish button for product 'ChangeResultSpecProduct'
  • And I have progressed a job up to verify with batchNo 'changespecresults' and input value '1' and spec 'Default specification'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I view the test method 'ChangeResultSpecTestMethod1' on the sample details page
  • And I can see the warning that the test does not match specification on the test viewer
  • And I update the test result of the created job with an input value of '2.0000001'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I view the test method 'ChangeResultSpecTestMethod1' on the sample details page
  • Then I can see that the test has passed spec on the test viewer

Scenario: Deleting a test method does not affect the set spec or lifecycle data without sync 44s 442ms
  • Given I am logged in as user 'LifecycleSpecUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | LifecycleSpecUser |
    | TestMethodName | LifecycleSpecTestMethod1 |
    | TestMethod2Name | LifecycleSpecTestMethod2 |
    | ClientName | LifecycleSpecClient |
    | ProductName | LifecycleSpecProduct |
    | TestSuiteName | LifecycleSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'LifecycleSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Greater than' from the operator drop down
  • And I enter '2' in the lower limit
  • And I click the save button
  • And I click the publish button for product 'LifecycleSpecProduct'
  • And I have progressed a job up to verify with batchNo 'deletestaticspecresults' and input value '1' and spec 'Default specification'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I view the test method 'LifecycleSpecTestMethod1' on the sample details page
  • And I can see the warning that the test does not match specification on the test viewer
  • And I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on options and delete the test method 'LifecycleSpecTestMethod1'
  • And I can see the message of 'Deleting test method LifecycleSpecTestMethod1'
  • And I click on the delete button
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I view the test method 'LifecycleSpecTestMethod1' on the sample details page
  • Then I can see the warning that the test does not match specification on the test viewer

Scenario: I can see a list of test method outputs that have been removed after refreshing product specifications 44s 188ms
  • Given I am logged in as user 'RemoveOutputSpecUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | RemoveOutputSpecUser |
    | TestMethodName | RemoveOutputSpecTestMethod |
    | TestMethod2Name | RemoveOutputSpecTestMethod2 |
    | ClientName | RemoveOutputSpecClient |
    | ProductName | RemoveOutputSpecProduct |
    | TestSuiteName | RemoveOutputSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Test methods' page
  • When I click on the edit test method button for test method 'RemoveOutputSpecTestMethod' on the test method page
  • And I click the create input button
  • And I name the input 'removeOutput'
  • And I set the type to 'numeric'
  • And I set create output on the input edit pop up to true
  • And I click ok
  • And I click the save button
  • And I click publish test method to publish 'RemoveOutputSpecTestMethod'
  • And I can see the message of 'Test method published successfully'
  • And I navigate to the 'Products' page
  • And I click on product 'RemoveOutputSpecProduct' on the products page
  • And I click the generate specifications button
  • And I can see test method 'RemoveOutputSpecTestMethod' outputs 'output-1', 'removeOutput' in the specification section
  • And I click the save button
  • And I click the publish button for product 'RemoveOutputSpecProduct'
  • And I navigate to the 'Test methods' page
  • And I click on the edit test method button for test method 'RemoveOutputSpecTestMethod' on the test method page
  • And I click on output options for output '1'
  • And I click on the delete button
  • And I click the save button
  • And I click publish test method to publish 'Create Test Method'
  • And I can see the message of 'Test method published successfully'
  • And I navigate to the 'Products' page
  • And I click on product 'RemoveOutputSpecProduct' on the products page
  • And I click the generate specifications button
  • Then I see a dialog containing the test method 'RemoveOutputSpecTestMethod' and output 'removeOutput'

Scenario: I can see my spec values are kept after refreshing product specifications 26s 867ms
  • Given I am logged in as user 'KeepSpecUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | KeepSpecUser |
    | TestMethodName | KeepSpecTestMethod1 |
    | TestMethod2Name | KeepSpecTestMethod2 |
    | ClientName | KeepSpecClient |
    | ProductName | KeepSpecProduct |
    | TestSuiteName | KeepSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'KeepSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '1' in the lower limit
  • And I enter '5' in the upper limit
  • And I click the add warning button
  • And I enter '2' in the lower warning limit
  • And I enter '4' in the upper warning limit
  • And I click the default spec options
  • And I click copy to new spec
  • And I name the spec 'newspec'
  • And I click ok
  • And I click the save button
  • And I click the publish button for product 'KeepSpecProduct'
  • And I can see the message of 'Product published successfully'
  • And I click the edit product button
  • And I assign the test suite 'AutoTestSuite' to the product
  • Then I can see 'Specification: Between 1 and 5. Warning Limit: Between 2 and 4' in the output spec summary

Scenario: I can add a specification for a string output type 24s 300ms
  • Given I am logged in as user 'UpdateStringSpecUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | UpdateStringSpecUser |
    | TestMethodName | UpdateStringSpecTestMethod1 |
    | TestMethod2Name | UpdateStringSpecTestMethod2 |
    | ClientName | UpdateStringSpecClient |
    | ProductName | UpdateStringSpecProduct |
    | TestSuiteName | UpdateStringSpecTestSuite |
    | OutputType | string |
    | ListName | |
    | DefaultValue | |
  • And I have created a default list
  • And I have navigated to the 'Products' page
  • When I click on product 'UpdateStringSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Equals' from the operator drop down
  • And I select default list for the specification from the drop down
  • And I select 'True' from the valid options drop down
  • And I click the save and publish product button
  • Then I can see the message of 'Product published successfully'
  • And I click the edit product button
  • And I can see 'Specification: Must be: True' in the output spec summary

Scenario: I can see a pass specification from a string output type on approve samples 31s 428ms
  • Given I am logged in as user 'ApproveResultStringSpecUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | ApproveResultStringSpecUser |
    | TestMethodName | ApproveResultStringStringSpecTestMethod1 |
    | TestMethod2Name | ApproveResultStringSpecTestMethod2 |
    | ClientName | ApproveResultStringSpecClient |
    | ProductName | ApproveResultStringSpecProduct |
    | TestSuiteName | ApproveResultStringSpecTestSuite |
    | OutputType | string |
    | ListName | |
    | DefaultValue | |
  • And I have created a default list
  • And I have navigated to the 'Products' page
  • When I click on product 'ApproveResultStringSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Equals' from the operator drop down
  • And I select default list for the specification from the drop down
  • And I select 'True' from the valid options drop down
  • And I click the save button
  • And I click the publish button for product 'ApproveResultStringSpecProduct'
  • And I progress a job up to approval with batchNo 'viewpassstringspecsresults' and input value 'True' and spec 'Default specification'
  • And I navigate to the approve samples page for the job
  • Then I can see that the job meets the spec requirements on the approve samples page

Scenario: I can see a fail specification from a string output type on approve samples 30s 901ms
  • Given I am logged in as user 'ApproveFailResultStringSpecUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | ApproveFailResultStringSpecUser |
    | TestMethodName | ApproveFailResultStringSpecTestMethod1 |
    | TestMethod2Name | ApproveFailResultStringSpecTestMethod2 |
    | ClientName | ApproveFailResultStringSpecClient |
    | ProductName | ApproveFailResultStringSpecProduct |
    | TestSuiteName | ApproveFailResultStringSpecTestSuite |
    | OutputType | string |
    | ListName | |
    | DefaultValue | |
  • And I have created a default list
  • And I have navigated to the 'Products' page
  • When I click on product 'ApproveFailResultStringSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Equals' from the operator drop down
  • And I select default list for the specification from the drop down
  • And I select 'True' from the valid options drop down
  • And I click the save button
  • And I click the publish button for product 'ApproveFailResultStringSpecProduct'
  • And I progress a job up to approval with batchNo 'viewfailstringspecsresults' and input value 'fail list item' and spec 'Default specification'
  • And I navigate to the approve samples page for the job
  • Then I can see that the job failed the spec requirements with the message of '1 of 2 tests fail' on the approve samples page

Scenario: I can add a second specification to a product and use this on a sample 35s 278ms
  • Given I am logged in as user 'MultiSpecUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | MultiSpecUser |
    | TestMethodName | MultiSpecTestMethod1 |
    | TestMethod2Name | MultiSpecTestMethod2 |
    | ClientName | MultiSpecClient |
    | ProductName | MultiSpecProduct |
    | TestSuiteName | MultiSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'MultiSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '6' in the lower limit
  • And I enter '9' in the upper limit
  • And I click the default spec options
  • And I click copy to new spec
  • And I name the spec 'newspec'
  • And I click ok
  • And I click the output to expand the spec for spec 'newspec'
  • And I select 'Equals' from the operator drop down
  • And I enter '1' in the target
  • And I click the save button
  • And I click the publish button for product 'MultiSpecProduct'
  • And I progress a job up to approval with batchNo 'multispecjob' and input value '1' and spec 'newspec'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I view the test method 'MultiSpecTestMethod1' on the sample details page
  • Then I can see that the test has passed spec on the test viewer

Scenario: I can see all added specifications to an existing product when product is saved 26s 880ms
  • Given I am logged in as user 'ThreeSpecUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | ThreeSpecUser |
    | TestMethodName | ThreeSpecTestMethod1 |
    | TestMethod2Name | ThreeSpecTestMethod2 |
    | ClientName | ThreeSpecClient |
    | ProductName | ThreeSpecProduct |
    | TestSuiteName | ThreeSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'ThreeSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '6' in the lower limit
  • And I enter '9' in the upper limit
  • And I click the default spec options
  • And I click copy to new spec
  • And I name the spec 'newspec1'
  • And I click ok
  • And I click the output to expand the spec for spec 'newspec1'
  • And I select 'Equals' from the operator drop down
  • And I enter '1' in the target
  • And I click the default spec options
  • And I click copy to new spec
  • And I name the spec 'newspec2'
  • And I click ok
  • And I click the output to expand the spec for spec 'newspec2'
  • And I select 'Equals' from the operator drop down
  • And I enter '2' in the target
  • And I click the save button
  • And I click the publish button for product 'ThreeSpecProduct'
  • Then I can see the message of 'Product published successfully'
  • And I click the edit product button
  • And I can see all test methods are present for spec 'newspec1'
  • And I can see all test methods are present for spec 'newspec2'

Scenario: A deleted spec is still used on an already submitted job 37s 966ms
  • Given I am logged in as user 'DeleteSpecUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | DeleteSpecUser |
    | TestMethodName | DeleteSpecTestMethod1 |
    | TestMethod2Name | DeleteSpecTestMethod2 |
    | ClientName | DeleteSpecClient |
    | ProductName | DeleteSpecProduct |
    | TestSuiteName | DeleteSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'DeleteSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '6' in the lower limit
  • And I enter '9' in the upper limit
  • And I click the default spec options
  • And I click copy to new spec
  • And I name the spec 'deletedspec'
  • And I click ok
  • And I click the output to expand the spec for spec 'deletedspec'
  • And I select 'Equals' from the operator drop down
  • And I enter '1' in the target
  • And I click the save button
  • And I click the publish button for product 'DeleteSpecProduct'
  • And I submit a job with batchNo 'Deletespecjob'
  • And I click the edit product button
  • And I click the default spec options
  • And I click delete spec
  • And I click ok
  • And I click the save button
  • And I click the publish button for product 'DeleteSpecProduct'
  • And I progress a submitted job up to approval with input value '1' and default spec
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I view the test method 'DeleteSpecTestMethod1' on the sample details page
  • Then I can see the warning that the test does not match specification on the test viewer

Scenario: I change the spec on a sample and see the results change from fail to pass 35s 646ms
  • Given I am logged in as user 'SwapSpecUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | SwapSpecUser |
    | TestMethodName | SwapSpecTestMethod1 |
    | TestMethod2Name | SwapSpecTestMethod2 |
    | ClientName | SwapSpecClient |
    | ProductName | SwapSpecProduct |
    | TestSuiteName | SwapSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'SwapSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '6' in the lower limit
  • And I enter '9' in the upper limit
  • And I click the default spec options
  • And I click copy to new spec
  • And I name the spec 'Swapspec'
  • And I click ok
  • And I click the output to expand the spec for spec 'Swapspec'
  • And I select 'Equals' from the operator drop down
  • And I enter '1' in the target
  • And I click the save button
  • And I click the publish button for product 'SwapSpecProduct'
  • And I progress a job up to approval with batchNo 'Swapspecjob' and input value '1' and spec 'Default specification'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click on the edit button
  • And I click on the specification field
  • And I select specification 'Swapspec'
  • And I click to save new specification
  • And I view the test method 'SwapSpecTestMethod1' on the sample details page
  • Then I can see that the test has passed spec on the test viewer

Scenario: I can see a failed specification at enter results before submitting 32s 519ms
  • Given I am logged in as user 'EnterResultsSpecUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | EnterResultsSpecUser |
    | TestMethodName | EnterResultsSpecTestMethod1 |
    | TestMethod2Name | EnterResultsSpecTestMethod2 |
    | ClientName | EnterResultsSpecClient |
    | ProductName | EnterResultsSpecProduct |
    | TestSuiteName | EnterResultsSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'EnterResultsSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '6' in the lower limit
  • And I enter '9' in the upper limit
  • And I click the default spec options
  • And I click copy to new spec
  • And I name the spec 'FailSpec'
  • And I click ok
  • And I click the output to expand the spec for spec 'FailSpec'
  • And I select 'Equals' from the operator drop down
  • And I enter '1' in the target
  • And I click the save button
  • And I click the publish button for product 'EnterResultsSpecProduct'
  • And I progress a job up to enter results with batchNo 'erspecjob' and spec 'FailSpec'
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I drop down the test method 'EnterResultsSpecTestMethod1' on the enter results page
  • And I enter '2' into the default input
  • And I click on the show summary and submit button
  • Then I can see the failed test and submit successfully

Scenario: I can change a test method output type and see this reflected on the spec when refreshed 32s 850ms
  • Given I am logged in as user 'TMOutputUser'
  • And I have created a default list
  • And I create the following setup data:
    | Key | Value |
    | Username | TMOutputUser |
    | TestMethodName | TMOutputTestMethod1 |
    | TestMethod2Name | TMOutputTestMethod2 |
    | ClientName | TMOutputClient |
    | ProductName | TMOutputProduct |
    | TestSuiteName | TMOutputTestSuite |
    | OutputType | string |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'TMOutputProduct' on the products page
  • And I click the generate specifications button
  • And I enter 'TMOutputUser' into the specification description
  • And I click the output to expand the spec
  • And I select 'Equals' from the operator drop down
  • And I select default list for the specification from the drop down
  • And I select 'True' from the valid options drop down
  • And I click the save button
  • And I click the publish button for product 'TMOutputProduct'
  • And I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on the edit test method button for test method 'TMOutputTestMethod1' on the test method page
  • And I click on input options for input '0'
  • And I click the edit input option
  • And I set the type to 'numeric'
  • And I click ok
  • And I click the save button
  • And I click publish test method to publish 'TMOutputTestMethod1'
  • And I can see the message of 'Test method published successfully'
  • And I click on the 'Products' menu item
  • And I click on product 'TMOutputProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • Then I see the operator drop down contains 'Between'

Scenario: I can create a new stock item 11s 695ms
  • Given I am logged in as user 'createstockuser'
  • When I click on the 'Stock' menu item
  • And I click on the 'Stock Items' menu item
  • And I click on the create stock item button
  • And I populate the stock item form with the following:
    | Key | Value |
    | Item Name | Solution |
    | Item Code | S123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • And I click save
  • Then I can see the message of 'Stock item Solution created successfully'

Scenario: I can edit a stock item and save the changes 13s 210ms
  • Given I am logged in as user 'editstockuser'
  • When I click on the 'Stock' menu item
  • And I click on the 'Stock Items' menu item
  • And I click on the create stock item button
  • And I populate the stock item form with the following:
    | Key | Value |
    | Item Name | Spoon |
    | Item Code | S123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • And I click save
  • And I can see the message of 'Stock item Spoon created successfully'
  • And I populate the stock item form with the following:
    | Key | Value |
    | Item Name | Regulator |
    | Item Code | P990 |
    | Category | Standards |
    | Units | kg |
    | Minimum Stock | 10 |
  • And I click save
  • And I can see the message of 'Stock item Regulator updated successfully'
  • And I click the back button
  • Then I can see the following stock item in the list:
    | Key | Value |
    | Item Name | Regulator |
    | Item Code | P990 |
    | Category | Standards |
    | Units | kg |
    | Minimum Stock | 10 |

Scenario: I can delete a stock item 11s 840ms
  • Given I am logged in as user 'deletestockuser'
  • When I click on the 'Stock' menu item
  • And I click on the 'Stock Items' menu item
  • And I click on the create stock item button
  • And I populate the stock item form with the following:
    | Key | Value |
    | Item Name | Beaker |
    | Item Code | R456 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • And I click save
  • And I can see the message of 'Stock item Beaker created successfully'
  • And I click the stock item options for 'Beaker'
  • And I click on delete
  • And I click ok
  • Then I can see the message of 'Stock item Beaker deleted successfully'
  • And I cannot see the stock item 'Beaker' in the list

Scenario: I can submit a job 15s 056ms
  • Given I am logged in as user 'CreateJobUser'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'AutoTest' into the batch number
  • And I select the default product from the list and add a sample
  • And I submit the job
  • Then I can see the job details on the job viewer

Scenario: I can cancel job creation 12s 156ms
  • Given I am logged in as user 'CancelJobUser'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'AutoTestCancel' into the batch number
  • And I select the default product from the list and add a sample
  • And I click the cancel job button
  • And I click ok
  • Then I can see the job creation was cancelled
  • And I am on the submit job page with no draft jobs pending

Scenario: I can edit the test methods in the selected test suites when I submit a job 12s 694ms
  • Given I am logged in as user 'EditTestAtSubmitUser'
  • And I have created a test method called 'EditTestsTestMethod'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'AutoTest' into the batch number
  • And I select the default product from the list and add a sample
  • And I click on edit tests on the create job page
  • And I copy across 'EditTestsTestMethod' from the available list
  • And I click ok
  • Then I can see 'Custom tests selected'

Scenario: I can add repeats and then copy these down to other samples when I submit a job 14s 123ms
  • Given I am logged in as user 'EditRepeatTestAtSubmitUser'
  • And I have created a test method called 'TestMethodRepeat'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'AutoTest' into the batch number
  • And I select the default product from the list and add a sample
  • And I click on edit tests on the create job page
  • And I copy across 'TestMethodRepeat' from the available list
  • And I enter '4' in the repeats for the default test method
  • And I click to copy down the repeats
  • Then I can see '4' in the repeats for ClientTestMethod

Scenario: I can start a job and come back later to see this as draft 15s 644ms
  • Given I am logged in as user 'CreateDraftJobUser'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'AutoTestDraftJob' into the batch number
  • And I select the default product from the list and add a sample
  • And I navigate to the 'Enter results' page
  • And I am on the enter results page
  • And I click on the 'Submit job' menu item
  • Then I can see the draft job that I created with batch no 'AutoTestDraftJob'
  • And I can see the message of 'Select a product to view samples'

Scenario: I can submit a job and see the details of this on the job viewer 18s 578ms
  • Given I am logged in as user 'CreateJobDetailsUser'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'AutoTestSummary' into the batch number
  • And I select the default product from the list and add a sample
  • And I submit the job
  • And I view the created job on the job viewer
  • Then I can see the following details on the job viewer:
    | field | value |
    | BatchNo | AutoTestSummary |
    | SubmittedBy | CreateJobDetailsUser |

Scenario: I am taken to receive samples after submitting a job 13s 770ms
  • Given I am logged in as user 'SubmitNextStepUser'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'AutoTest' into the batch number
  • And I select the default product from the list and add a sample
  • And I click submit and go to next step to submit job with batch 'AutoTest'
  • Then I can see job with batch number 'AutoTest' on the receive samples page

Scenario: I can see the correct test methods when creating a job 13s 670ms
  • Given I am logged in as user 'CorrectTMFilterUser'
  • And I have created a test method called 'ClientTestMethod'
  • And I have created an unlinked test method called 'UnlinkedTestMethod'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'AutoTest' into the batch number
  • And I select the default product from the list and add a sample
  • And I click on edit tests on the create job page
  • Then I can see test method 'ClientTestMethod' when editing tests on the create job page
  • And I can see test method 'UnlinkedTestMethod' when editing tests on the create job page

Scenario: I can only submit jobs for my assigned clients 16s 334ms
  • Given I am logged in as user 'clientSubmitUser'
  • And I have created the user 'spareClientSubmitUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | spareClientSubmitUser |
    | TestMethodName | clientSubmitFilterMethod1 |
    | TestMethod2Name | clientSubmitFilterMethod2 |
    | ClientName | clientSubmitFilterClient |
    | ProductName | clientSubmitFilterProduct |
    | TestSuiteName | clientSubmitFilterTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I have navigated to the 'Submit job' page
  • And I click Create a new job
  • Then I cannot see client 'clientSubmitFilterClient' in the client select box

Scenario: I cannot access trend report if my subscription tier is Essentials 14s 574ms
  • Given The organisation subscription tier is set to 'Essentials'
  • And I am logged in as user 'trendtier'
  • When I click on the 'Analytics' menu item
  • Then I am navigated to the labhq upgrade page when I click on 'Trend' menu item
  • And I cannot manually navigate to the 'Trend' page

Scenario: I cannot access oos results if my subscription tier is Essentials 9s 763ms
  • Given The organisation subscription tier is set to 'Essentials'
  • And I am logged in as user 'oostier'
  • When I click on the 'Analytics' menu item
  • Then I am navigated to the labhq upgrade page when I click on 'oos results' menu item

Scenario: I cannot select the oos results permission in Essentials tier 13s 130ms
  • Given The organisation subscription tier is set to 'Essentials'
  • And I am logged in as user 'oostieruser'
  • Then I cannot manually navigate to the 'oos' page

Scenario: I cannot access trend report from approve samples if my subscription tier is Essentials 14s 726ms
  • Given The organisation subscription tier is set to 'Essentials'
  • And I am logged in as user 'trendtier'
  • And I have progressed a job up to approval with batchNo 'notrendlink' and input value '50.76'
  • When I navigate to the approve samples page for the job
  • Then The trend icon is disabled for the sample on the approve samples page

Scenario: I cannot access investigations if my subscription tier is Essentials 17s 097ms
  • Given The organisation subscription tier is set to 'Essentials'
  • And I am logged in as user 'investigationtier'
  • And I have progressed a job up to enter results with batchNo 'investigationaccess'
  • When I view the created job on the job viewer
  • And I view the first sample on the job
  • Then I can see the investigations tab is unavailable

Scenario: I cannot access export results if my subscription tier is Essentials 10s 020ms
  • Given The organisation subscription tier is set to 'Essentials'
  • And I am logged in as user 'exportresultstier'
  • When I click on the 'Reporting' menu item
  • Then I am navigated to the labhq upgrade page when I click on 'Export results' menu item

Scenario: I cannot select the export results permission in Essentials tier 13s 495ms
  • Given The organisation subscription tier is set to 'Essentials'
  • And I am logged in as user 'exporttieruser'
  • Then I cannot manually navigate to the 'Export results' page

Scenario: I cannot access Equipment items if my subscription tier is Essentials or growth 1 9s 507ms
  • Given The organisation subscription tier is set to '<tier>'
  • And I am logged in as user 'equipmenttier'
  • When I click on the 'Equipment' menu item
  • Then I am navigated to the labhq upgrade page when I click on 'equipment items' menu item
Examples:
| tier |
| Essentials |

Scenario: I cannot access Equipment items if my subscription tier is Essentials or growth 2 9s 222ms
  • Given The organisation subscription tier is set to '<tier>'
  • And I am logged in as user 'equipmenttier'
  • When I click on the 'Equipment' menu item
  • Then I am navigated to the labhq upgrade page when I click on 'equipment items' menu item
Examples:
| tier |
| Growth |

Scenario: I cannot access Equipment maintenance if my subscription tier is Essentials or growth 1 10s 048ms
  • Given The organisation subscription tier is set to '<tier>'
  • And I am logged in as user 'equipmenttier'
  • When I click on the 'Equipment' menu item
  • Then I am navigated to the labhq upgrade page when I click on 'maintenance' menu item
Examples:
| tier |
| Essentials |

Scenario: I cannot access Equipment maintenance if my subscription tier is Essentials or growth 2 10s 303ms
  • Given The organisation subscription tier is set to '<tier>'
  • And I am logged in as user 'equipmenttier'
  • When I click on the 'Equipment' menu item
  • Then I am navigated to the labhq upgrade page when I click on 'maintenance' menu item
Examples:
| tier |
| Growth |

Scenario: I cannot access Stock module if my subscription tier is Essentials or growth 1 9s 347ms
  • Given The organisation subscription tier is set to '<tier>'
  • And I am logged in as user 'stocktier'
  • Then I click on the 'Stock' menu item
  • And I am navigated to the labhq upgrade page when I click on 'Inventory' menu item
Examples:
| tier |
| Essentials |

Scenario: I cannot access Stock module if my subscription tier is Essentials or growth 2 11s 115ms
  • Given The organisation subscription tier is set to '<tier>'
  • And I am logged in as user 'stocktier'
  • Then I click on the 'Stock' menu item
  • And I am navigated to the labhq upgrade page when I click on 'Inventory' menu item
Examples:
| tier |
| Growth |

Scenario: I cannot access label settings if my subscription tier is Essentials or growth 1 9s 622ms
  • Given The organisation subscription tier is set to '<tier>'
  • And I am logged in as user 'labelsettingstier'
  • When I click on the 'Administration' menu item
  • Then I am navigated to the labhq upgrade page when I click on 'label settings' menu item
Examples:
| tier |
| Essentials |

Scenario: I cannot access label settings if my subscription tier is Essentials or growth 2 10s 530ms
  • Given The organisation subscription tier is set to '<tier>'
  • And I am logged in as user 'labelsettingstier'
  • When I click on the 'Administration' menu item
  • Then I am navigated to the labhq upgrade page when I click on 'label settings' menu item
Examples:
| tier |
| Growth |

Scenario: I cannot print a sample label if my subscription tier is Essentials 17s 101ms
  • Given The organisation subscription tier is set to 'Essentials'
  • And I am logged in as user 'trendtier'
  • And I submit a job with batchNo 'labelbat'
  • When I view the created job on the job viewer
  • Then I can see the download all sample labels button is unavailable
  • And I view the first sample on the job
  • And I can see the download sample label button is unavailable

Scenario: I cannot access custom fields if my subscription tier is Essentials 1 14s 739ms
  • Given The organisation subscription tier is set to '<tier>'
  • And I am logged in as user 'customfieldtier'
  • When I click on the 'Setup' menu item
  • Then I am navigated to the labhq upgrade page when I click on 'custom fields' menu item
  • And I cannot manually navigate to the 'Custom fields' page
Examples:
| tier |
| Essentials |

Scenario: I cannot access custom fields if my subscription tier is Essentials 2 14s 687ms
  • Given The organisation subscription tier is set to '<tier>'
  • And I am logged in as user 'customfieldtier'
  • When I click on the 'Setup' menu item
  • Then I am navigated to the labhq upgrade page when I click on 'custom fields' menu item
  • And I cannot manually navigate to the 'Custom fields' page
Examples:
| tier |
| Growth |

Scenario: I cannot access report settings if my subscription tier is Essentials or growth 1 15s 187ms
  • Given The organisation subscription tier is set to '<tier>'
  • And I am logged in as user 'reporttier'
  • When I click on the 'Administration' menu item
  • Then I am navigated to the labhq upgrade page when I click on 'report settings' menu item
  • And I cannot manually navigate to the 'Report settings' page
Examples:
| tier |
| Essentials |

Scenario: I cannot access report settings if my subscription tier is Essentials or growth 2 14s 316ms
  • Given The organisation subscription tier is set to '<tier>'
  • And I am logged in as user 'reporttier'
  • When I click on the 'Administration' menu item
  • Then I am navigated to the labhq upgrade page when I click on 'report settings' menu item
  • And I cannot manually navigate to the 'Report settings' page
Examples:
| tier |
| Growth |

Scenario: I cannot access manage work in essentials tier 13s 906ms
  • Given The organisation subscription tier is set to 'Essentials'
  • And I am logged in as user 'manageworktieruser'
  • When I click on the 'resources' menu item
  • Then I am navigated to the labhq upgrade page when I click on 'manage work' menu item
  • And I cannot manually navigate to the 'Manage work' page

Scenario: I cannot create a new client if I am on the essentials tier 8s 387ms
  • Given The organisation subscription tier is set to 'Essentials'
  • And I am logged in as user 'clienttieruser'
  • When I click on the 'Setup' menu item
  • And I click on the 'Clients' menu item
  • Then I can see the create client button is disabled

Scenario: I cannot access the below widgets if I am on essentials tier 8s 894ms
  • Given The organisation subscription tier is set to 'Essentials'
  • And I am logged in as user 'essentialWidgetUser'
  • When I click on the manage dashboard button
  • Then I can see the following widgets are showing the premium icon:
    | WidgetName |
    | On Time Completion Rate |
    | OOS Monthly Count |
    | Active Investigations by Age |
    | Active Sample Investigations |
    | Expired Stock Summary |
    | Stock Health Summary |
    | Stock Usability |
    | stock expiring soon |
    | time to investigation closure |

Scenario: I cannot access the below widgets if I am on growth tier 8s 650ms
  • Given The organisation subscription tier is set to 'Growth'
  • And I am logged in as user 'GrowthWidgetUser'
  • When I click on the manage dashboard button
  • Then I can see the following widgets are showing the premium icon:
    | WidgetName |
    | Expired Stock Summary |
    | Stock Health Summary |
    | Stock Usability |
    | stock expiring soon |

Scenario: I cannot add new attachments if I am on Essentials tier 18s 110ms
  • Given The organisation subscription tier is set to 'Essentials'
  • And I am logged in as user 'essentialattachmentuser'
  • And I have progressed a job up to enter results with batchNo 'attachtier'
  • When I view the created job on the job viewer
  • And I click on attachments
  • Then I cannot add new attachments
  • And I view the first sample on the job
  • And I click on attachments
  • And I cannot add new attachments

Scenario: I cannot add product attachments if I am on Essentials tier 10s 542ms
  • Given The organisation subscription tier is set to 'Essentials'
  • And I am logged in as user 'essentialproductattachmentuser'
  • When I click on the 'Setup' menu item
  • And I click on the 'Products' menu item
  • And I click on the default product on the products page
  • And I click on the attachments button
  • Then I cannot add new attachments

Scenario: I can create a test method 18s 578ms
  • Given I am logged in as user 'CreateTestMethodUser'
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click the Create test method button
  • And I enter 'Create Test Method' in the name field
  • And I enter 'This is a note appearing on the workbook for this TM' in the workbook notes field
  • And I click the create input button
  • And I name the input 'Input 1'
  • And I set create output on the input edit pop up to true
  • And I click ok
  • And I click on related test suites button
  • And I copy across the default test suite from the available list
  • And I click ok
  • And I click the save button
  • And I click publish test method to publish 'Create Test Method'
  • Then I can see the message of 'Test method published successfully'
  • And I click the edit test method button
  • And I can see the workbook notes field contains the text 'This is a note appearing on the workbook for this TM'

Scenario: I can view a test method 17s 264ms
  • Given I am logged in as user 'ViewTestMethodUser'
  • And I have created a test method called 'ViewTestMethod'
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on the edit test method button for test method 'ViewTestMethod' on the test method page
  • And I enter 'View test method workbook notes' in the workbook notes field
  • And I click save
  • And I can see the message of 'Test method updated successfully'
  • And I click on the 'Test methods' menu item
  • And I click on the test method 'ViewTestMethod' on the test method page
  • Then I can see test method 'ViewTestMethod' on the test method view page
  • And The test method view details show workbook notes 'View test method workbook notes'

Scenario: I can create a test method with a 2d coordinate input 14s 549ms
  • Given I am logged in as user '2dcoordinatetmuser'
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click the Create test method button
  • And I enter '2D Input Coordinate' in the name field
  • And I click the create input button
  • And I name the input '2D Input'
  • And I set the type to 'coordinate'
  • And I add a default input value of '0.355, 0.385'
  • And I set create output on the input edit pop up to true
  • And I click ok
  • Then I can see the field type for input '0' is ' coordinate '

Scenario: I can delete a test method 16s 453ms
  • Given I am logged in as user 'DeleteTestMethodUser'
  • And I have created a test method called 'DeleteTestMethod'
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on options and delete the test method 'DeleteTestMethod'
  • And I can see the message of 'Deleting test method DeleteTestMethod'
  • And I click on the delete button
  • Then I can see the message of 'Test method deleted successfully'
  • And I can see that the test method 'DeleteTestMethod' has been deleted

Scenario: I can view related test suites on test methods 14s 600ms
  • Given I am logged in as user 'methodsuiteuser'
  • When I click on the 'Setup' menu item
  • And I click on the 'test methods' menu item
  • And I click on the default test method on the test method page
  • And I click on related test suites button
  • And I click on the default test suite from the selected item list
  • Then I can see the test suite name on the test suite edit page

Scenario: I can view related products on test methods 13s 300ms
  • Given I am logged in as user 'methodproductuser'
  • When I click on the 'Setup' menu item
  • And I click on the 'test methods' menu item
  • And I click on the default test method on the test method page
  • And I click on the related products button
  • Then I can see the default product and test suite showing here
  • And I can successfully navigate to the product edit page

Scenario: I can remove a test suite from a test method and see the related products update 14s 136ms
  • Given I am logged in as user 'methodproductupdateuser'
  • When I click on the 'Setup' menu item
  • And I click on the 'test methods' menu item
  • And I click on the default test method on the test method page
  • And I click on related test suites button
  • And I remove the default test suite from the test method
  • And I click ok
  • And I can see the save button is enabled
  • And I click on the related products button
  • Then I can see the message of 'No related Products.'

Scenario: I can search for a test method 15s 045ms
  • Given I am logged in as user 'SearchTestMethodUser'
  • And I have created a test method called 'SearchTestMethod'
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I am on the test methods page
  • And I enter 'NULL' into the search box
  • And I can see the message of 'No test methods found'
  • And I enter 'SearchTestMethod' into the search box
  • Then I can see test method 'SearchTestMethod' in the list

Scenario: I can filter by draft test method 15s 727ms
  • Given I am logged in as user 'FilterTestMethodUser'
  • And I have created a test method called 'FilterTestMethod'
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I am on the test methods page
  • And I select 'Published' on the status filter
  • And I can see the message of 'No test methods found'
  • And I select 'Published' on the status filter
  • Then I can see test method 'FilterTestMethod' in the list

Scenario: I can edit an existing test method 16s 685ms
  • Given I am logged in as user 'EditTestMethodUser'
  • And I have created a test method called 'EditTestMethod'
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on the edit test method button for test method 'EditTestMethod' on the test method page
  • And I enter 'newmethodname' in the name field
  • And I press tab on the keyboard
  • And I click save
  • And I can see the message of 'Test method updated successfully'
  • And I click on the 'Test methods' menu item
  • Then I can see test method 'newmethodname' in the list

Scenario: I can clone a test method 15s 510ms
  • Given I am logged in as user 'CloneTestMethodUser'
  • And I have created a test method called 'CloneTestMethod'
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on options for the test method
  • And I click on the clone button
  • And I enter 'newtestmethodname' into the test method clone pop up
  • And I press enter on the keyboard
  • Then I can see the text 'Edit newtestmethodname'
  • And I can see my new copied test method

Scenario: I can quick add the output from input on a test method 15s 311ms
  • Given I am logged in as user 'CreateOutputUser'
  • And I have created a test method called 'CreateOutputTestMethod'
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on the edit test method button for test method 'CreateOutputTestMethod' on the test method page
  • And I click the create input button
  • And I name the input 'createoutput'
  • And I set create output on the input edit pop up to true
  • And I click ok
  • Then I can see an output called 'createoutput'

Scenario: I can test my output calculation at test method setup 18s 734ms
  • Given I am logged in as user 'OutputCalculateUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | OutputCalculateUser |
    | TestMethodName | OutputCalcTestMethod |
    | TestMethod2Name | OutputCalcTestMethod2 |
    | ClientName | OutputCalcClient |
    | ProductName | OutputCalcProduct |
    | TestSuiteName | OutputCalcTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on the edit test method button for test method 'OutputCalcTestMethod' on the test method page
  • And I click on output options for output '0'
  • And I click the edit output option
  • And I set the decimals to 0
  • And I enter '$1*2.5' in the results calculation field
  • And I click on the test calculation button
  • Then I can see the raw calculated result showing as '2.5'
  • And I can see the rounded calculated result showing as '3'

Scenario: I can delete a test method that is attached to a suite and product 17s 889ms
  • Given I am logged in as user 'DeleteAttachedTestMethodUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | DeleteAttachedTestMethodUser |
    | TestMethodName | AttachedTestMethod |
    | TestMethod2Name | SecondTestMethod |
    | ClientName | AttachedClient |
    | ProductName | AttachedProduct |
    | TestSuiteName | AttachedTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on options and delete the test method 'AttachedTestMethod'
  • Then I can see a message advising me this will affect 'AttachedTestSuite'

Scenario: I can delete a test method that shows a conflict with the delete 16s 491ms
  • Given I am logged in as user 'DeleteConflictTestMethodUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | DeleteConflictTestMethodUser |
    | TestMethodName | ConflictTestMethod |
    | TestMethod2Name | SecondConflictTestMethod |
    | ClientName | ConflictClient |
    | ProductName | ConflictProduct |
    | TestSuiteName | ConflictTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I delete test method 'SecondConflictTestMethod'
  • And I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on options and delete the test method 'ConflictTestMethod'
  • Then I can see the message of 'Unable to delete ConflictTestMethod as it is the only test method on the following test suite:'
  • And I can still see the test method 'ConflictTestMethod' when I click ok

Scenario: I can see the test method version change when I sync and publish after a change 17s 523ms
  • Given I am logged in as user 'TestMethodVersionUser'
  • And I have created a test method called 'VersionTestMethod'
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on the edit test method button for test method 'VersionTestMethod' on the test method page
  • And I click the create input button
  • And I name the input 'newinputversion'
  • And I click ok
  • And I click the save button
  • And I click publish test method to publish 'VersionTestMethod'
  • Then I can see the message of 'Test method published successfully'
  • And I can see the test method version number is 'Published' '2'

Scenario: I can see the test method version change to draft when I save after a change 16s 378ms
  • Given I am logged in as user 'TestMethodDraftVersionUser'
  • And I have created a test method called 'DraftVersionTestMethod'
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on the edit test method button for test method 'DraftVersionTestMethod' on the test method page
  • And I click the create input button
  • And I name the input 'newinputversion'
  • And I click ok
  • And I click to save test method 'DraftVersionTestMethod'
  • Then I can see the message of 'Test method updated successfully'
  • And I can see the test method version number is 'Draft' '1.1'

Scenario: When a test method/product version changes this does not change on existing lifecycle jobs 27s 446ms
  • Given I am logged in as user 'LifecycleVersionUser'
  • When I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'CustomJob' into the batch number
  • And I select the default product from the list and add a sample
  • And I submit the job
  • And I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on the default test method on the test method page
  • And I click the create input button
  • And I name the input 'newinputversion'
  • And I click ok
  • And I click the save button
  • And I click publish test method to publish 'AutoTestMethod'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • Then I can see product and test method are version '1'

Scenario: I cannot use duplicate test method output names 19s 561ms
  • Given I am logged in as user 'dusplicateoutputnameuser2'
  • And I have created a test method called 'DuplicateOutputTestMethod'
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on the edit test method button for test method 'DuplicateOutputTestMethod' on the test method page
  • And I click the create output button
  • And I name the output 'outputname'
  • And I enter '$1' in the results calculation field
  • And I click ok
  • And I click the save button
  • And I click publish test method to publish 'DuplicateOutputTestMethod'
  • And I can see the message of 'Test method updated successfully'
  • And I can see the message of 'Test method published successfully'
  • And I click the edit test method button
  • And I click the create output button
  • And I name the output 'outputname'
  • And I enter '$1' in the results calculation field
  • And I click ok
  • And I click the save button
  • Then I can see the message of 'Output names must be unique'

Scenario: I cannot add another input or output when limit reached 38s 351ms
  • Given I am logged in as user 'inputoutputlimituser'
  • And I have created a test method called 'atthelimit1' with '100' inputs and '100' outputs
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on the edit test method button for test method 'atthelimit1' on the test method page
  • Then I can see the create input button is disabled
  • And I can see the create output button is disabled

Scenario: I cannot clone an input or add a matching output when limit reached 38s 283ms
  • Given I am logged in as user 'inputoutputlimituser2'
  • And I have created a test method called 'atthelimit2' with '100' inputs and '100' outputs
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on the edit test method button for test method 'atthelimit2' on the test method page
  • And I click on input options for input '0'
  • Then I can see the clone button for input at index '0' is disabled
  • And I can see the add matching output button for input at index '0' is disabled

Scenario: I cannot clone an output when limit reached 37s 902ms
  • Given I am logged in as user 'inputoutputlimituser3'
  • And I have created a test method called 'atthelimit4' with '100' inputs and '100' outputs
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on the edit test method button for test method 'atthelimit4' on the test method page
  • And I click on output options for output '0'
  • Then I can see the clone button for output at index '0' is disabled

Scenario: I cannot create a matching output for a new input when within 1 of the limit 38s 245ms
  • Given I am logged in as user 'inputoutputlimituser4'
  • And I have created a test method called 'atthelimit5' with '99' inputs and '100' outputs
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on the edit test method button for test method 'atthelimit5' on the test method page
  • And I click the create input button
  • Then I can see the create matching output checkbox is disabled

Scenario: I can assign a draft test method (Never published) to a test suite via test method setup 23s 529ms
  • Given I am logged in as user 'NeverPublishedTMUser'
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click the Create test method button
  • And I enter 'unpublishedTM' in the name field
  • And I click the create input button
  • And I name the input 'UnpublishedTM'
  • And I set create output on the input edit pop up to true
  • And I click ok
  • And I click save
  • And I click the edit test method button
  • And I can see the test method version number is 'Draft' '0.1'
  • And I click on related test suites button
  • And I copy across the default test suite from the available list
  • And I click ok
  • And I click to save test method 'unpublishedTM'
  • And I can see the message of 'Test suites updated successfully'
  • And I can see the message of 'Related test suites updated successfully'
  • And I wait for the message 'Test suites updated successfully' to dissapear
  • And I wait for the message 'Related test suites updated successfully' to dissapear
  • And I click on the 'Test suites' menu item
  • And I click on the default test suite on the test suite page
  • And I click on the edit test suite button
  • Then I can see test method 'unpublishedTM' showing in the selected test methods section of the test suite

Scenario: I can assign a draft test method (Previously published) to a test suite via test method setup 19s 076ms
  • Given I am logged in as user 'PrePublishedTMUser'
  • And I have created a test method called 'PrePublishedVersionTestMethod'
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on the edit test method button for test method 'PrePublishedVersionTestMethod' on the test method page
  • And I click the create input button
  • And I name the input 'newinputversion'
  • And I set create output on the input edit pop up to true
  • And I click ok
  • And I click on related test suites button
  • And I copy across the default test suite from the available list
  • And I click ok
  • And I click to save test method 'PrePublishedVersionTestMethod'
  • And I can see the message of 'Test method updated successfully'
  • And I click on the 'Test suites' menu item
  • And I click on the default test suite on the test suite page
  • And I click on the edit test suite button
  • Then I can see test method 'PrePublishedVersionTestMethod' showing in the selected test methods section of the test suite

Scenario: I can hide and unhide a test method output from certificates 14s 959ms
  • Given I am logged in as user 'EditTestMethodUser'
  • And I have created a test method called 'EditTestMethod'
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on the edit test method button for test method 'EditTestMethod' on the test method page
  • And I can see a tick on the output show on report column
  • And I click on output options for output '0'
  • And I click the edit output option
  • And I click to hide the output from reports
  • And I click ok
  • Then I can see a cross on the output show on report column

Scenario: I can set an input to electronic only on a test method 14s 983ms
  • Given I am logged in as user 'ElectronicInputTestMethodUser'
  • And I have created a test method called 'ElectronicTestMethod'
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on the edit test method button for test method 'ElectronicTestMethod' on the test method page
  • And I click on input options for input '0'
  • And I click the edit input option
  • And I set the input to show on 'electronic'
  • And I click ok
  • Then I can see the input 'AutoInput-0' display on value is 'Electronic'

Scenario: I can set an input to workbook only on a test method 14s 940ms
  • Given I am logged in as user 'WorkbookInputTestMethodUser'
  • And I have created a test method called 'WorkbookTestMethod'
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on the edit test method button for test method 'WorkbookTestMethod' on the test method page
  • And I click on input options for input '0'
  • And I click the edit input option
  • And I set the input to show on 'workbook'
  • And I click ok
  • Then I can see the input 'AutoInput-0' display on value is 'Workbook'

Scenario: I can set an input to display on all on a test method 16s 271ms
  • Given I am logged in as user 'AllInputTestMethodUser'
  • And I have created a test method called 'AllTestMethod'
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on the edit test method button for test method 'AllTestMethod' on the test method page
  • And I click on input options for input '0'
  • And I click the edit input option
  • And I set the input to show on 'all'
  • And I click ok
  • Then I can see the input 'AutoInput-0' display on value is 'All'

Scenario: I can add related stock items to a test method 16s 946ms
  • Given I am logged in as user 'TestMethodStockUser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | TMStock |
    | Item Code | TMS123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • And I have created a test method called 'StockTestMethod'
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on the edit test method button for test method 'StockTestMethod' on the test method page
  • And I click the related stock items button
  • And I select stock item 'TMStock' from the dual list and a quantity of '12'
  • And I click ok
  • And I click to save test method 'TestMethodStockUser'
  • Then I can see the message of 'Stock items updated successfully'
  • And I can see the test method version number is 'Published' '1'

Scenario: I can create a test suite 15s 612ms
  • Given I am logged in as user 'CreateTestSuiteUser'
  • When I click on the 'Setup' menu item
  • And I click on the 'Test suites' menu item
  • And I click the Create test suite button
  • And I enter 'create test suite' in the name field
  • And I add the default test method to the test suite
  • And I click the create button
  • Then I can see the message of 'Test suite created successfully'

Scenario: I can view a test suite 19s 053ms
  • Given I am logged in as user 'ViewTestSuiteUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | ViewTestSuiteUser |
    | TestMethodName | ViewSuiteTestMethod |
    | TestMethod2Name | ViewSuiteTestMethod2 |
    | ClientName | ViewSuiteClient |
    | ProductName | ViewSuiteProduct |
    | TestSuiteName | ViewSuiteTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I click on the 'Setup' menu item
  • And I click on the 'Test suites' menu item
  • And I click on test suite 'ViewSuiteTestSuite' on the test suite page
  • And I click on the edit test suite button
  • And I enter 'View suite description' into the description
  • And I click save
  • And I can see the message of 'Test suite updated successfully'
  • And I click on the 'Test suites' menu item
  • And I click on test suite 'ViewSuiteTestSuite' on the test suite page
  • Then I can see test suite 'ViewSuiteTestSuite' on the test suite view page
  • And The test suite view details show description 'View suite description'

Scenario: I can view related test methods on test suites 16s 932ms
  • Given I am logged in as user 'suitemethoduser'
  • When I click on the 'Setup' menu item
  • And I click on the 'test suites' menu item
  • And I click on the default test suite on the test suite page
  • And I click on the edit test suite button
  • And I click on the default test method on the selected list
  • And I click the edit test method button
  • Then I am on the test methods edit page
  • And I can see the default test method

Scenario: I can search for a test suite 18s 355ms
  • Given I am logged in as user 'SearchSuiteUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | SearchSuiteUser |
    | TestMethodName | SearchSuiteTestMethod |
    | TestMethod2Name | SearchSuiteTestMethod2 |
    | ClientName | SearchSuiteClient |
    | ProductName | SearchSuiteProduct |
    | TestSuiteName | SearchTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I click on the 'Setup' menu item
  • And I click on the 'Test suites' menu item
  • And I am on the test suites page
  • And I enter 'NULL' into the search box
  • And I can see the message of 'No test suites found'
  • And I enter 'SearchTestSuite' into the search box
  • Then I can see test suite 'SearchTestSuite' in the list

Scenario: I can edit an existing test suite 18s 923ms
  • Given I am logged in as user 'EditSuiteUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | EditSuiteUser |
    | TestMethodName | EditSuiteTestMethod |
    | TestMethod2Name | EditSSuiteTestMethod |
    | ClientName | EditSuiteClient |
    | ProductName | EditSuiteProduct |
    | TestSuiteName | EditTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I click on the 'Setup' menu item
  • And I click on the 'Test suites' menu item
  • And I click on test suite 'EditTestSuite' on the test suite page
  • And I click on the edit test suite button
  • And I enter 'newsuitename' in the name field
  • And I press tab on the keyboard
  • And I click save
  • And I can see the message of 'Test suite updated successfully'
  • And I click on the 'Test suites' menu item
  • Then I can see test suite 'newsuitename' in the list

Scenario: I can delete a test suite 17s 383ms
  • Given I am logged in as user 'DeleteSuiteUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | DeleteSuiteUser |
    | TestMethodName | SuiteTestMethod |
    | TestMethod2Name | SecondSuiteTestMethod |
    | ClientName | SuiteClient |
    | ProductName | SuiteProduct |
    | TestSuiteName | SuiteDeleteTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I click on the 'Setup' menu item
  • And I click on the 'Test suites' menu item
  • And I click on options and delete the test suite 'SuiteDeleteTestSuite'
  • And I can see the message of 'Deleting test suite SuiteDeleteTestSuite'
  • Then I can see a message advising me this will affect 'SuiteProduct'
  • And I can see a message advising me this will affect 'SecondSuiteTestMethod'
  • And I can see a message advising me this will affect 'SuiteTestMethod'
  • And I click on the delete button
  • And I can see the message of 'Test suite deleted successfully'
  • And I can see that the test suite 'SuiteDeleteTestSuite' has been deleted

Scenario: I can progress through trend wizard to view the trend graph 31s 293ms
  • Given I am logged in as user 'Resultsvieweruser'
  • And I have progressed the following jobs through the lifecycle process:
    | BatchNo | InputValue |
    | TrendView1 | 50.675 |
    | TrendView2 | 47.675 |
    | TrendView3 | 48.65 |
    | TrendView4 | 52.567 |
    | TrendView5 | 45.6565 |
  • When I click on the 'Analytics' menu item
  • And I click on the 'Trend' menu item
  • And I select the default options from setup data on the trend report
  • Then I can see the trend data graph

Scenario: I can see a message appear when there is no data to show on the trend graph 12s 912ms
  • Given I am logged in as user 'Nodatatrenduser'
  • When I click on the 'Analytics' menu item
  • And I click on the 'Trend' menu item
  • And I select the default options from setup data on the trend report
  • Then I can see the message of 'No trend results have been found. Please refine your search and try again'

Scenario: I can see the trend wizard prepopulate from approve samples page 16s 151ms
  • Given I am logged in as user 'approveresultstrenddatauser'
  • And I have progressed a job up to approval with batchNo 'approveresultstrenddata' and input value '50.76'
  • When I navigate to the approve samples page for the job
  • And I click on the trend data button for the job on the approve samples page
  • Then I am on the trend report page
  • And I can see the correct trend report selections from approve samples

Scenario: Verified samples will link to trend chart from approve samples page 14s 052ms
  • Given I am logged in as user 'verifiedtrenduser'
  • And I have progressed a job up to approval with batchNo 'verifiedtrendjobviewer' and input value '50.76'
  • When I click on the 'Approve samples' menu item
  • And I search for the created job
  • Then The trend icon shows for the job on the approve samples page

Scenario: I can see the trend wizard prepopulate from test summary page 21s 380ms
  • Given I am logged in as user 'testsummarytrenddatauser'
  • And I have progressed a job through the lifecycle process with batchNo 'testsummarytrenddata' and input value '50.76'
  • When I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click on the default test method by name
  • And I click on the trend data button on the test summary page
  • Then I am on the trend report page
  • And I can see the correct trend report selections from test summary

Scenario: Samples with results entered will link to trend chart from the job viewer 17s 725ms
  • Given I am logged in as user 'resultsenteredtrenduser'
  • When I progress a job up to verify with batchNo 'resultsenteredtrend' and input value '50.76' and spec ''
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click on the default test method by name
  • Then The trend icon shows on the job

Scenario: I can import result data successfully 12s 590ms
  • Given I am logged in as user 'importdatauser'
  • When I navigate to the 'administration' page
  • And I click on import
  • And I choose a csv file to upload
  • And I click to start import
  • Then I can see the message of 'File has uploaded successfully'

Scenario: I can see manual adjustment appear on the usage tracking screen 13s 617ms
  • Given I am logged in as user 'usagetrackstockuser'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | TrackStock |
    | Item Code | T123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | TrackStock |
    | Batch | T1234 |
    | Quantity | 64 |
    | Status | Approved |
    | Expiry | Tomorrow |
  • When I click on the 'Stock' menu item
  • And I click on the 'Adjust stock' menu item
  • And I click the adjust stock button
  • And I populate the adjust stock form with the following:
    | Key | Value |
    | Stock Item | TrackStock |
    | Stock Batch | T1234 |
    | Quantity | 45 |
    | Reason | Expired |
    | Type | Disposal |
    | Correction | |
  • And I click the adjust stock button
  • And I can see the message of 'Stock availability updated successfully'
  • And I click on the 'Usage tracking' menu item
  • Then I can see the following usage tracking showing here:
    | Key | Value |
    | Type | Disposal |
    | Purpose | Expired |
    | Stock Item | TrackStock |
    | Stock Item Code | T123 |
    | Batch | T1234 |
    | Quantity | - 45 |
    | Units | g |
    | Date | a few seconds ago |

@DeleteSetupData
Scenario: I can record stock usage against a test at enter results and see this reflected on the usage tracking screen 26s 688ms
  • Given I am logged in as user 'UTStockUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | UTStockUser |
    | TestMethodName | UTSTockTM |
    | TestMethod2Name | |
    | ClientName | UTStockClient |
    | ProductName | UTStockProduct |
    | TestSuiteName | UTStockTS |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have progressed a job up to enter results with batchNo 'UTStock'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | UTStock |
    | Item Code | UT456 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 300 |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | UTStock |
    | Batch | UT987 |
    | Quantity | 356 |
    | Status | Approved |
    | Expiry | Tomorrow |
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on the edit test method button for test method 'UTSTockTM' on the test method page
  • And I click the related stock items button
  • And I select stock item 'UTStock' from the dual list and a quantity of '15'
  • And I click ok
  • And I click to save test method 'UTSTockTM'
  • And I can see the message of 'Stock items updated successfully'
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I select add stock for the first test
  • And I choose stock batch 'UT987' for stock item 'UTStock'
  • And I enter a quantity of '15'
  • And I click the add button
  • And I can see the message of 'Current Usage: 15 / 15 g'
  • And I click ok
  • And I can see the message of 'Batches saved successfully.'
  • And I click on the 'Stock' menu item
  • And I click on the 'Usage tracking' menu item
  • Then I can see the following usage tracking showing here:
    | Key | Value |
    | Type | Testing |
    | Purpose | Testing (View test) |
    | Stock Item | UTStock |
    | Stock Item Code | UT456 |
    | Batch | UT987 |
    | Quantity | - 15 |
    | Units | g |
    | Date | a few seconds ago |

@DeleteSetupData
Scenario: Only approved and not expired stock batches are available for selection at enter results 24s 959ms
  • Given I am logged in as user 'ERStockFilterUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | ERStockFilterUser |
    | TestMethodName | ERStockFilterTM |
    | TestMethod2Name | |
    | ClientName | ERStockFilterClient |
    | ProductName | ERStockFilterProd |
    | TestSuiteName | ERStockFilterTS |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have progressed a job up to enter results with batchNo 'ERStockFilterBatch'
  • And I have created the following stock item:
    | Key | Value |
    | Item Name | ERStockFilterItem |
    | Item Code | ERSF123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 100 |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | ERStockFilterItem |
    | Batch | ERAPPROVED |
    | Quantity | 100 |
    | Status | Approved |
    | Expiry | Tomorrow |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | ERStockFilterItem |
    | Batch | EREXPIRED |
    | Quantity | 100 |
    | Status | Approved |
    | Expiry | Yesterday |
  • And I have received the following stock batch:
    | Key | Value |
    | Item Name | ERStockFilterItem |
    | Batch | ERNOTAPPROVED |
    | Quantity | 100 |
    | Status | RequiresTesting |
    | Expiry | Tomorrow |
  • When I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on the edit test method button for test method 'ERStockFilterTM' on the test method page
  • And I click the related stock items button
  • And I select stock item 'ERStockFilterItem' from the dual list and a quantity of '10'
  • And I click ok
  • And I click to save test method 'ERStockFilterTM'
  • And I can see the message of 'Stock items updated successfully'
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I select add stock for the first test
  • Then I can see stock batch 'ERAPPROVED' available for selection for stock item 'ERStockFilterItem'
  • And I cannot see stock batch 'ERNOTAPPROVED' available for selection for stock item 'ERStockFilterItem'
  • And I cannot see stock batch 'EREXPIRED' available for selection for stock item 'ERStockFilterItem'
  • When I choose stock batch 'ERAPPROVED' for stock item 'ERStockFilterItem'
  • And I enter a quantity of '10'
  • And I click the add button
  • Then I can see the message of 'Current Usage: 10 / 10 g'

Scenario: I cannot view settings if I do not have manage permissions 35s 609ms
  • Given I have created the user 'SettingsPermissionUser'
  • And I am logged in as user 'SettingsPermissionRemoveUser'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'SettingsPermissionUser'
  • And I click on user account 'SettingsPermissionUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'settings manage' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'SettingsPermissionUser'
  • And I click on the admin icon
  • Then I can see the organisation configure button
  • And I cannot see the settings configure button
  • And I cannot manually navigate to the 'Settings' page

Scenario: I cannot view Organisation if I do not have manage permissions 35s 664ms
  • Given I have created the user 'OrgPermissionUser'
  • And I am logged in as user 'OrgPermissionUserRM'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'OrgPermissionUser'
  • And I click on user account 'OrgPermissionUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'organisation view' permission
  • And I remove 'organisation manage' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'OrgPermissionUser'
  • And I click on the admin icon
  • And I click on the 'Administration' menu item
  • Then I can see the report settings configure button
  • And I can see the 'Report settings' menu item
  • And I cannot see the 'Organisation' menu item
  • And I cannot see the organisation configure button
  • And I cannot manually navigate to the 'Organisation' page

Scenario: I cannot access label settings if I do not have permission 35s 761ms
  • Given I have created the user 'labelsettingpermissionsuser'
  • And I am logged in as user 'labelsettingpermissionsuserRM'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'labelsettingpermissionsuser'
  • And I click on user account 'labelsettingpermissionsuser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'label settings' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'labelsettingpermissionsuser'
  • And I click on the admin icon
  • And I click on the 'Administration' menu item
  • Then I can see the 'Organization' menu item
  • And I can see the organisation configure button
  • And I cannot see the 'label settings' menu item
  • And I cannot see the label settings configure button
  • And I cannot manually navigate to the 'label settings' page

Scenario: I cannot view Custom fields if I do not have manage permissions 33s 429ms
  • Given I have created the user 'customfieldspermissionsuser'
  • And I am logged in as user 'customfieldspermissionsuserRM'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'customfieldspermissionsuser'
  • And I click on user account 'customfieldspermissionsuser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'custom fields manage' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'customfieldspermissionsuser'
  • And I click on the 'Setup' menu item
  • Then I can see the 'Lists' menu item
  • And I cannot see the 'Custom fields' menu item
  • And I cannot manually navigate to the 'Custom fields' page

Scenario: I cannot view Report settings if I do not have permission 35s 518ms
  • Given I have created the user 'reportsettingpermissionsuser'
  • And I am logged in as user 'reportsettingpermissionsuserRM'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'reportsettingpermissionsuser'
  • And I click on user account 'reportsettingpermissionsuser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'report settings' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'reportsettingpermissionsuser'
  • And I click on the admin icon
  • And I click on the 'Administration' menu item
  • Then I can see the 'Organization' menu item
  • And I can see the organisation configure button
  • And I cannot see the 'report settings' menu item
  • And I cannot see the report settings configure button
  • And I cannot manually navigate to the 'Report settings' page

Scenario: I cannot view Lists if I do not have manage permissions 33s 662ms
  • Given I have created the user 'ListPermissionUser'
  • And I am logged in as user 'ListPermissionUserRM'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'ListPermissionUser'
  • And I click on user account 'ListPermissionUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'lists manage' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'ListPermissionUser'
  • And I click on the 'Setup' menu item
  • Then I can see the 'Custom fields' menu item
  • And I cannot see the 'List' menu item
  • And I cannot manually navigate to the 'Lists' page

Scenario: I cannot view the Audit if I do not have manage permissions 34s 072ms
  • Given I have created the user 'AuditPermissionUser'
  • And I am logged in as user 'AuditPermissionUserrm'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'AuditPermissionUser'
  • And I click on user account 'AuditPermissionUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'audit view' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'AuditPermissionUser'
  • Then I can see the 'submit job' menu item
  • And I cannot see the 'audit' menu item
  • And I cannot manually navigate to the 'Audit' page

Scenario: I cannot view clients if I do not have view permissions 33s 478ms
  • Given I have created the user 'ClientsPermissionUser'
  • And I am logged in as user 'ClientsPermissionUserrm'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'ClientsPermissionUser'
  • And I click on user account 'ClientsPermissionUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'clients view' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'ClientsPermissionUser'
  • And I click on the 'Setup' menu item
  • Then I can see the 'test methods' menu item
  • And I cannot see the 'Clients' menu item
  • And I cannot manually navigate to the 'Clients' page

Scenario: I cannot view test methods/suites/products if I do not have view permissions 44s 841ms
  • Given I have created the user 'TestMethodsPermissionUser'
  • And I am logged in as user 'TestMethodsPermissionUserrm'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'TestMethodsPermissionUser'
  • And I click on user account 'TestMethodsPermissionUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'setup data view' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'TestMethodsPermissionUser'
  • And I click on the 'Setup' menu item
  • Then I can see the 'clients' menu item
  • And I cannot see the 'test methods' menu item
  • And I cannot see the 'test suites' menu item
  • And I cannot see the 'products' menu item
  • And I cannot manually navigate to the 'Test methods' page
  • And I cannot manually navigate to the 'Test suites' page
  • And I cannot manually navigate to the 'Products' page

Scenario: I cannot view submit job if I do not have manage permissions 33s 604ms
  • Given I have created the user 'SubmitPermissionUser'
  • And I am logged in as user 'SubmitPermissionUserrm'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'SubmitPermissionUser'
  • And I click on user account 'SubmitPermissionUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'lifecycle submit' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'SubmitPermissionUser'
  • Then I can see the 'receive samples' menu item
  • And I cannot see the 'submit job' menu item
  • And I cannot manually navigate to the 'Submit job' page

Scenario: I cannot view receive samples if I do not have manage permissions 34s 520ms
  • Given I have created the user 'ReceivePermissionUser'
  • And I am logged in as user 'ReceivePermissionUserrm'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'ReceivePermissionUser'
  • And I click on user account 'ReceivePermissionUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'lifecycle receive' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'ReceivePermissionUser'
  • Then I can see the 'submit job' menu item
  • And I cannot see the 'receive samples' menu item
  • And I cannot manually navigate to the 'Receive samples' page

Scenario: I cannot view manage work if I do not have permission 33s 912ms
  • Given I have created the user 'ManageWorkPermissionUser'
  • And I am logged in as user 'ManageWorkPermissionUserrm'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'ManageWorkPermissionUser'
  • And I click on user account 'ManageWorkPermissionUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'resources manage work' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'ManageWorkPermissionUser'
  • Then I can see the 'submit job' menu item
  • And I cannot see the 'Resources' menu item
  • And I cannot see the 'manage work' menu item
  • And I cannot manually navigate to the 'Manage work' page

Scenario: I cannot download a workbook from manage work if I do not have permission 35s 630ms
  • Given I have created the user 'DLWorkPermissionUser'
  • And I am logged in as user 'DLWorkPermissionUserrm'
  • And I add the default client to both users
  • And I have progressed a job up to enter results with batchNo 'DownloadWorkbook'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'DLWorkPermissionUser'
  • And I click on user account 'DLWorkPermissionUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'resources download workbook' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'DLWorkPermissionUser'
  • And I click on the 'Resources' menu item
  • And I click on the 'Manage work' menu item
  • And I select the job with batch 'DownloadWorkbook' at manage work
  • And I click on create workbook button
  • Then I can see the created message
  • And I cannot see the download workbook button

Scenario: I cannot redownload a workbook from view workbook page if I do not have permission 33s 974ms
  • Given I have created the user 'DLViewWorkPermissionUser'
  • And I am logged in as user 'DLViewWorkPermissionUserrm'
  • And I add the default client to both users
  • And I have progressed a job up to enter results with batchNo 'DownloadWorkbook'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'DLViewWorkPermissionUser'
  • And I click on user account 'DLViewWorkPermissionUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'resources download workbook' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'DLViewWorkPermissionUser'
  • And I click on the 'Resources' menu item
  • And I click on the 'Manage work' menu item
  • And I select the job with batch 'DownloadWorkbook' at manage work
  • And I click on create workbook button
  • Then I can see the created message
  • And I am given a workbook ID
  • And I can see the workbook when I click to go to the view workbooks page
  • And I cannot see the re-download workbook button

Scenario: I cannot view enter results if I do not have manage permissions 34s 541ms
  • Given I have created the user 'EnterResultsPermissionUser'
  • And I am logged in as user 'EnterResultsPermissionUserrm'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'EnterResultsPermissionUser'
  • And I click on user account 'EnterResultsPermissionUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'lifecycle results' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'EnterResultsPermissionUser'
  • Then I can see the 'receive samples' menu item
  • And I cannot see the 'enter results' menu item
  • And I cannot manually navigate to the 'Enter results' page

Scenario: I cannot view verify tests if I do not have manage permissions 33s 540ms
  • Given I have created the user 'VerifyPermissionUser'
  • And I am logged in as user 'VerifyPermissionUserrm'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'VerifyPermissionUser'
  • And I click on user account 'VerifyPermissionUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'lifecycle verify' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'VerifyPermissionUser'
  • Then I can see the 'enter results' menu item
  • And I cannot see the 'verify tests' menu item
  • And I cannot manually navigate to the 'Verify tests' page

Scenario: I cannot view approve samples if I do not have manage permissions 34s 419ms
  • Given I have created the user 'ApprovePermissionUser'
  • And I am logged in as user 'ApprovePermissionUserrm'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'ApprovePermissionUser'
  • And I click on user account 'ApprovePermissionUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'lifecycle approve' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'ApprovePermissionUser'
  • Then I can see the 'verify tests' menu item
  • And I cannot see the 'approve samples' menu item
  • And I cannot manually navigate to the 'Approve samples' page

Scenario: I cannot view trend report if I do not have permissions 34s 820ms
  • Given I have created the user 'TrendViewerPermissionsUser'
  • And I am logged in as user 'TrendViewerPermissionsUserrm'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'TrendViewerPermissionsUser'
  • And I click on user account 'TrendViewerPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'analytics trend' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'TrendViewerPermissionsUser'
  • And I click on the 'Analytics' menu item
  • Then I cannot see the 'Trend' menu item
  • And I cannot manually navigate to the 'Trend' page

Scenario: I cannot view oos results if I do not have permissions 33s 939ms
  • Given I have created the user 'OOSResultsPermissionsUser'
  • And I am logged in as user 'OOSResultsPermissionsUserrm'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'OOSResultsPermissionsUser'
  • And I click on user account 'OOSResultsPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'analytics oos results' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'OOSResultsPermissionsUser'
  • And I click on the 'Analytics' menu item
  • Then I cannot see the 'OOS Results' menu item
  • And I cannot manually navigate to the 'OOS' page

Scenario: I cannot view trend report from approve samples page if I do not have permissions 35s 391ms
  • Given I have created the user 'TrendSampleViewerPermissionsUser'
  • And I am logged in as user 'TrendSampleViewerPermissionsUserrm'
  • And I add the default client to both users
  • And I have progressed a job up to approval with batchNo 'batch' and input value '50.76'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'TrendSampleViewerPermissionsUser'
  • And I click on user account 'TrendSampleViewerPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'analytics trend' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'TrendSampleViewerPermissionsUser'
  • And I click on the 'Approve samples' menu item
  • And I search for the created job
  • Then The trend icon does not show for the job on the approve samples page

Scenario: I cannot view trend report from job viewer if I do not have permissions 40s 848ms
  • Given I have created the user 'TrendJobViewerPermissionsUser'
  • And I am logged in as user 'TrendJobViewerPermissionsUserrm'
  • And I add the default client to both users
  • And I have progressed a job through the lifecycle process with batchNo 'batch' and input value '50.76'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'TrendJobViewerPermissionsUser'
  • And I click on user account 'TrendJobViewerPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'analytics trend' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'TrendJobViewerPermissionsUser'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click on the default test method by name
  • Then The trend icon does not show on the job

Scenario: I cannot see the edit tests button on submit job if I do not have edit tests permisison 32s 594ms
  • Given I have created the user 'EditTestsSubmitPermissionsUser'
  • And I am logged in as user 'EditTestsSubmitPermissionsUserrm'
  • And I add the default client to both users
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'EditTestsSubmitPermissionsUser'
  • And I click on user account 'EditTestsSubmitPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'samples add tests' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'EditTestsSubmitPermissionsUser'
  • And I click on the 'Submit job' menu item
  • And I click Create a new job
  • And I select the default client from the list
  • And I enter 'EditJobTests' into the batch number
  • And I select the default product from the list and add a sample
  • Then I cannot see the edit tests icon on the create job page

Scenario: I cannot see the edit tests button on sample details if I do not have edit tests permission 39s 745ms
  • Given I have created the user 'EditTestsJobPermissionsUser'
  • And I am logged in as user 'EditTestsJobPermissionsUserrm'
  • And I add the default client to both users
  • And I have progressed a job through the lifecycle process with batchNo 'batch' and input value '0.009'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'EditTestsJobPermissionsUser'
  • And I click on user account 'EditTestsJobPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'samples add tests' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'EditTestsJobPermissionsUser'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • Then I cannot see the edit tests button on the job

Scenario: I cannot see the label download button if I do not have permission 39s 508ms
  • Given I have created the user 'LabelDownloadPermissionsUser'
  • And I am logged in as user 'LabelDownloadPermissionsUserrm'
  • And I add the default client to both users
  • And I have progressed a job up to enter results with batchNo 'label'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'LabelDownloadPermissionsUser'
  • And I click on user account 'LabelDownloadPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'samples label' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'LabelDownloadPermissionsUser'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • Then I cannot see the label button on the sample

Scenario: I cannot view export results page if I do not have permission 32s 751ms
  • Given I have created the user 'ExportResultPermissionsUser'
  • And I am logged in as user 'ExportResultPermissionsUserrm'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'ExportResultPermissionsUser'
  • And I click on user account 'ExportResultPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'results export' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'ExportResultPermissionsUser'
  • Then I cannot see the 'Export results' menu item
  • And I cannot manually navigate to the 'Export results' page

Scenario: I cannot update the company address without the correct permission 29s 553ms
  • Given I have created the user 'CompanyAddressPermissionsUser'
  • And I am logged in as user 'CompanyAddressPermissionsUserrm'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'CompanyAddressPermissionsUser'
  • And I click on user account 'CompanyAddressPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'organisation manage' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'CompanyAddressPermissionsUser'
  • And I click on the 'Administration' menu item
  • And I click on the 'Organization' menu item
  • Then I cannot see the edit address fields

Scenario: I can import results data without the correct permission 29s 316ms
  • Given I have created the user 'ResultsImportPermissionsUser'
  • And I am logged in as user 'ResultsImportPermissionsUserrm'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'ResultsImportPermissionsUser'
  • And I click on user account 'ResultsImportPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'reports import' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'ResultsImportPermissionsUser'
  • And I click on the admin icon
  • Then I can see the organisation configure button
  • And I cannot see the import results data menu item

Scenario: I cannot change the spec on a sample without the correct permission 41s 024ms
  • Given I have created the user 'SampleSpecPermissionsUser'
  • And I am logged in as user 'SampleSpecPermissionsUserrm'
  • And I add the default client to both users
  • And I have progressed a job up to enter results with batchNo 'spec'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'SampleSpecPermissionsUser'
  • And I click on user account 'SampleSpecPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'sample spec' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'SampleSpecPermissionsUser'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click on the edit button
  • Then I cannot change the spec on the sample

Scenario: I cannot delete a sample without the correct permission 39s 650ms
  • Given I have created the user 'DeleteSamplePermissionsUser'
  • And I am logged in as user 'DeleteSamplePermissionsUserrm'
  • And I add the default client to both users
  • And I have progressed a job up to enter results with batchNo 'spec'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'DeleteSamplePermissionsUser'
  • And I click on user account 'DeleteSamplePermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'samples delete' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'DeleteSamplePermissionsUser'
  • And I view the created job on the job viewer
  • And I click on the sample options button
  • Then I cannot see the delete option

Scenario: I cannot edit a sample without the correct permission 40s 567ms
  • Given I have created the user 'EditSamplePermissionsUser'
  • And I am logged in as user 'EditSamplePermissionsUserrm'
  • And I add the default client to both users
  • And I have progressed a job up to enter results with batchNo 'spec'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'EditSamplePermissionsUser'
  • And I click on user account 'EditSamplePermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'samples edit' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'EditSamplePermissionsUser'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click on the edit button
  • Then I can see that the sample details fields are not editable

Scenario: I cannot add a sample to a job without the correct permission 39s 921ms
  • Given I have created the user 'AddSamplePermissionsUser'
  • And I am logged in as user 'AddSamplePermissionsUserem'
  • And I add the default client to both users
  • And I have progressed a job up to enter results with batchNo 'spec'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'AddSamplePermissionsUser'
  • And I click on user account 'AddSamplePermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'jobs add samples' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'AddSamplePermissionsUser'
  • And I view the created job on the job viewer
  • Then I cannot see the add sample button

Scenario: I cannot delete a job without the correct permission 40s 081ms
  • Given I have created the user 'DeleteJobPermissionsUser'
  • And I am logged in as user 'DeleteJobPermissionsUserrm'
  • And I add the default client to both users
  • And I have progressed a job up to enter results with batchNo 'spec'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'DeleteJobPermissionsUser'
  • And I click on user account 'DeleteJobPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'jobs delete' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'DeleteJobPermissionsUser'
  • And I view the created job on the job viewer
  • And I click the job options button
  • Then I cannot see the delete option

Scenario: I cannot edit a job without the correct permission 39s 530ms
  • Given I have created the user 'EditJobPermissionsUser'
  • And I am logged in as user 'EditJobPermissionsUserrm'
  • And I add the default client to both users
  • And I have progressed a job up to enter results with batchNo 'spec'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'EditJobPermissionsUser'
  • And I click on user account 'EditJobPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'jobs edit' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'EditJobPermissionsUser'
  • And I view the created job on the job viewer
  • Then I can see that the job details fields are not editable

Scenario: I cannot revert approval without correct permission 41s 834ms
  • Given I have created the user 'RevertApprovalPermissionsUser'
  • And I am logged in as user 'RevertApprovalPermissionsUserrm'
  • And I add the default client to both users
  • And I have progressed a job through the lifecycle process with batchNo 'appproved' and input value '1'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'RevertApprovalPermissionsUser'
  • And I click on user account 'RevertApprovalPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'lifecycle revert approval' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'RevertApprovalPermissionsUser'
  • And I view the created job on the job viewer
  • And I click on the sample options button
  • Then I cannot see the revert approval option

Scenario: I cannot revert verification without correct permission 41s 648ms
  • Given I have created the user 'RevertVerificationPermissionsUser'
  • And I am logged in as user 'RevertVerificationPermissionsUserrm'
  • And I add the default client to both users
  • And I have progressed a job up to approval with batchNo 'verified' and input value '2'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'RevertVerificationPermissionsUser'
  • And I click on user account 'RevertVerificationPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'lifecycle revert verification' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'RevertVerificationPermissionsUser'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click on options for the test method on the sample viewer
  • Then I cannot see the revert verification option

Scenario: I cannot delete a setup item without correct permission 32s 023ms
  • Given I have created the user 'DeleteSetupPermissionsUser'
  • And I am logged in as user 'DeleteSetupPermissionsUserrm'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'DeleteSetupPermissionsUser'
  • And I click on user account 'DeleteSetupPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'setup data delete' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'DeleteSetupPermissionsUser'
  • And I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click on options for the test method
  • Then I cannot see the delete option

Scenario: I cannot publish a setup item without correct permission 31s 874ms
  • Given I have created the user 'PublishSetupPermissionsUser'
  • And I am logged in as user 'PublishSetupPermissionsUserrm'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'PublishSetupPermissionsUser'
  • And I click on user account 'PublishSetupPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'setup data publish' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'PublishSetupPermissionsUser'
  • And I click on the 'Setup' menu item
  • And I click on the 'Test methods' menu item
  • And I click the Create test method button
  • And I enter 'publishTM' in the name field
  • And I click the create input button
  • And I name the input 'createtminput'
  • And I set create output on the input edit pop up to true
  • And I click ok
  • And I click the save button
  • Then I can see the publish button is disabled

Scenario: I cannot archive user accounts without correct permission 31s 255ms
  • Given I have created the user 'ArchiveUserPermissionsUser'
  • And I am logged in as user 'ArchiveUserPermissionsUserrm'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'ArchiveUserPermissionsUser'
  • And I click on user account 'ArchiveUserPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'user accounts archive' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'ArchiveUserPermissionsUser'
  • And I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I click on options for user 'archiveuserpermissionsuserrm'
  • Then I cannot see the archive option

Scenario: I cannot see user accounts without correct permission 35s 741ms
  • Given I have created the user 'ViewUserPermissionsUser'
  • And I am logged in as user 'ViewUserPermissionsUserrm'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'ViewUserPermissionsUser'
  • And I click on user account 'ViewUserPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'user accounts manage' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'ViewUserPermissionsUser'
  • And I click on the 'Administration' menu item
  • And I click on the admin icon
  • Then I can see the organisation configure button
  • And I cannot see the user accounts configure button
  • And I cannot see the 'user accounts' menu item
  • And I cannot manually navigate to the 'User accounts' page

Scenario: I cannot add sample attachments without correct permission 39s 871ms
  • Given I have created the user 'SampleAAttachmentsPermissionsUser'
  • And I am logged in as user 'SampleAAttachmentsPermissionsUserrm'
  • And I add the default client to both users
  • And I have progressed a job up to enter results with batchNo 'spec'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'SampleAAttachmentsPermissionsUser'
  • And I click on user account 'SampleAAttachmentsPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'samples add attachments' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'SampleAAttachmentsPermissionsUser'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click on attachments
  • Then I cannot add new attachments

Scenario: I cannot delete sample attachments without correct permission 42s 128ms
  • Given I have created the user 'SampleDAttachmentsPermissionsUser'
  • And I am logged in as user 'SampleDAttachmentsPermissionsUserrm'
  • And I add the default client to both users
  • And I have progressed a job up to enter results with batchNo 'spec'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'SampleDAttachmentsPermissionsUser'
  • And I click on user account 'SampleDAttachmentsPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'samples delete attachments' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'SampleDAttachmentsPermissionsUser'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click on attachments
  • And I upload attachment 'Logo.png'
  • And I confirm the attachment has uploaded to the sample
  • And I click on options for the added attachment
  • Then I cannot see the option to delete the attachment

Scenario: I cannot add job attachments without correct permission 38s 406ms
  • Given I have created the user 'JobAAttachmentsPermissionsUser'
  • And I am logged in as user 'JobAAttachmentsPermissionsUserrm'
  • And I add the default client to both users
  • And I have progressed a job up to enter results with batchNo 'spec'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'JobAAttachmentsPermissionsUser'
  • And I click on user account 'JobAAttachmentsPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'jobs add attachments' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'JobAAttachmentsPermissionsUser'
  • And I view the created job on the job viewer
  • And I click on attachments
  • Then I cannot add new attachments

Scenario: I cannot delete job attachments without correct permission 41s 056ms
  • Given I have created the user 'JobDAttachmentsPermissionsUser'
  • And I am logged in as user 'JobDAttachmentsPermissionsUserrm'
  • And I add the default client to both users
  • And I have progressed a job up to enter results with batchNo 'spec'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'JobDAttachmentsPermissionsUser'
  • And I click on user account 'JobDAttachmentsPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'jobs delete attachments' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'JobDAttachmentsPermissionsUser'
  • And I view the created job on the job viewer
  • And I click on attachments
  • And I upload attachment 'Logo.png'
  • And I confirm the attachment has uploaded to the job
  • And I click on options for the added attachment
  • Then I cannot see the option to delete the attachment

Scenario: I cannot start an investigation without the correct permission 41s 263ms
  • Given I have created the user 'InvestigationPermissionsUser'
  • And I am logged in as user 'InvestigationPermissionsUserrm'
  • And I add the default client to both users
  • And I have progressed a job up to enter results with batchNo 'spec'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'InvestigationPermissionsUser'
  • And I click on user account 'InvestigationPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'samples investigations' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'InvestigationPermissionsUser'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click into the investigations section
  • Then I cannot see the start investigation button

Scenario: I cannot regenerate sample certificates without the correct permission 41s 401ms
  • Given I have created the user 'RegenerateSamplePermissionsUser'
  • And I am logged in as user 'RegenerateSamplePermissionsUserrm'
  • And I add the default client to both users
  • And I have progressed a job through the lifecycle process with batchNo '123' and input value '123'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'RegenerateSamplePermissionsUser'
  • And I click on user account 'RegenerateSamplePermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'samples regenerate cert' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'RegenerateSamplePermissionsUser'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I click the sample options button
  • Then I cannot see the regenerate sample certificate button

Scenario: I cannot regenerate job certificates without the correct permission 40s 459ms
  • Given I have created the user 'RegenerateJobPermissionsUser'
  • And I am logged in as user 'RegenerateJobPermissionsUserrm'
  • And I add the default client to both users
  • And I have progressed a job through the lifecycle process with batchNo '123' and input value '123'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'RegenerateJobPermissionsUser'
  • And I click on user account 'RegenerateJobPermissionsUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'job regenerate cert' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'RegenerateJobPermissionsUser'
  • And I view the created job on the job viewer
  • And I click the job options button
  • Then I cannot see the regenerate sample certificate button

Scenario: I cannot access equipment items without the correct permission 34s 782ms
  • Given I have created the user 'EquipmentPermissionUser'
  • And I am logged in as user 'EquipmentPermissionUserrm'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'EquipmentPermissionUser'
  • And I click on user account 'EquipmentPermissionUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'equipment items manage' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'EquipmentPermissionUser'
  • And I click on the 'Equipment' menu item
  • Then I can see the 'Maintenance' menu item
  • And I cannot see the 'Equipment Items' menu item
  • And I cannot manually navigate to the 'Equipment items' page

Scenario: I cannot access equipment maintenance without the correct permission 34s 066ms
  • Given I have created the user 'EquipmentMainPermissionUser'
  • And I am logged in as user 'EquipmentMainPermissionUserrm'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'EquipmentMainPermissionUser'
  • And I click on user account 'EquipmentMainPermissionUser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'equipment maintenance manage' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'EquipmentMainPermissionUser'
  • And I click on the 'Equipment' menu item
  • Then I can see the 'Equipment Items' menu item
  • And I cannot see the 'Maintenance' menu item
  • And I cannot manually navigate to the 'Equipment Maintenance' page

Scenario: I cannot access results import configuration if I do not have permission 36s 547ms
  • Given I have created the user 'resultsimportpermissionsuser'
  • And I am logged in as user 'resultsimportpermissionsuserRM'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'resultsimportpermissionsuser'
  • And I click on user account 'resultsimportpermissionsuser'
  • And I select user from the account type drop down
  • And I select all permissions
  • And I remove 'results import configuration manage' permission
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I Log out of LabHQ
  • And I enter my credentials to log in to user 'resultsimportpermissionsuser'
  • And I click on the admin icon
  • And I click on the 'Administration' menu item
  • Then I can see the 'Organization' menu item
  • And I can see the organisation configure button
  • And I cannot see the results import configure button
  • And I cannot manually navigate to the 'results import configuration' page

Scenario: I cannot see the BSL Admin role on a non BSL company 11s 140ms
  • Given I am logged in as user 'bslAdminRoleUser'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I click on the create user account button
  • Then I can see 'User' and 'Administrator' account types but not 'BSL Admin' in the drop down

Scenario: I can disable a user account 14s 555ms
  • Given I have created the user 'disablethisuser'
  • And I am logged in as user 'disableaccountuser'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'disablethisuser'
  • And I click on options for user 'disablethisuser'
  • And I click on disable account
  • Then I can see the message of 'disablethisuser has been disabled'
  • And I refresh the page
  • And I can see that the user 'disablethisuser' shows as disabled

Scenario: I can archive a user account 10s 986ms
  • Given I have created the user 'archivethisuser'
  • And I am logged in as user 'archiveaccountuser'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I click on options for user 'archivethisuser'
  • And I click on archive account
  • And I can see the message of 'archivethisuser has been archived'
  • And I click on show archived accounts tick box
  • Then I can see that the user 'archivethisuser' shows as disabled
  • And I can see that the user 'archivethisuser' shows as archived

Scenario: I can edit an existing user account 13s 095ms
  • Given I have created the user 'editthisuser'
  • And I am logged in as user 'editaccountuser'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • And I search for user 'editthisuser'
  • And I click on user account 'editthisuser'
  • And I enter 'John' into the first name field
  • And I enter 'Smith' into the last name field
  • And I click save
  • And I can see the message of 'User updated successfully'
  • And I click the back button
  • Then I can see the name for account 'editthisuser' shows as 'John Smith'

Scenario: I can only see user accounts associated with my organisation 8s 864ms
  • Given I am logged in as user 'OnlyOrgUser'
  • When I click on the 'Administration' menu item
  • And I click on the 'User accounts' menu item
  • Then I cannot see the BSL admin default user

Scenario: I can select a job and verify the tests for it 12s 838ms
  • Given I am logged in as user 'verifyTestsUser'
  • When I have progressed a job up to verify with batchNo 'verify' and input value '40' and spec 'Default specification'
  • And I click on the 'Verify tests' menu item
  • And I search for the created job
  • Then I tick then verify the results
  • And I can see the message of 'Test verified successfully'

Scenario: I can only see jobs on the verify tests page that have had results entered 12s 328ms
  • Given I am logged in as user 'VerifyUser'
  • When I progress a job up to enter results with batchNo 'EnterResultsDetails' and spec 'Default specification'
  • And I click on the 'Verify tests' menu item
  • Then I can not see the job appear when I search for it

@DeleteSetupData
Scenario: I can only see jobs associated with my assigned clients at verify tests 26s 002ms
  • Given I am logged in as user 'clientFilterVerifyUser'
  • And I have progressed a job up to verify with batchNo 'TestBatch123' and input value '5' and spec 'Default specification'
  • And I have created the user 'spareVerifyUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | spareVerifyUser |
    | TestMethodName | clientVerifyFilterMethod1 |
    | TestMethod2Name | clientVerifyFilterMethod2 |
    | ClientName | clientVerifyFilterClient |
    | ProductName | clientVerifyFilterProduct |
    | TestSuiteName | clientVerifyFilterTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • When I have submitted a job with the following data:
    | Key | Value |
    | Username | spareVerifyUser |
    | BatchNo | NoClientAccessBatch |
    | ClientName | clientVerifyFilterClient |
    | ProductName | clientVerifyFilterProduct |
    | TestSuiteName | clientVerifyFilterTestSuite |
  • And I receive the job
  • And I enter results of '5' for job
  • And I have navigated to the 'Verify tests' page
  • Then I can only see the job for the client I am assigned

Scenario: I can add a warning limit to a specification 24s 052ms
  • Given I am logged in as user 'UpdateWarnUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | UpdateWarnUser |
    | TestMethodName | UpdateWarnTestMethod1 |
    | TestMethod2Name | UpdateWarnTestMethod2 |
    | ClientName | UpdateWarnClient |
    | ProductName | UpdateWarnProduct |
    | TestSuiteName | UpdateWarnTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'UpdateWarnProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '1' in the lower limit
  • And I enter '5' in the upper limit
  • And I click the add warning button
  • And I enter '2' in the lower warning limit
  • And I enter '4' in the upper warning limit
  • And I click the save and publish product button
  • Then I can see the message of 'Product published successfully'
  • And I click the edit product button
  • And I can see 'Specification: Between 1 and 5. Warning Limit: Between 2 and 4' in the output spec summary

Scenario: I can see the warning on approve samples when a sample is out of warning limits 31s 298ms
  • Given I am logged in as user 'ApproveFailResultSpecUser2'
  • And I create the following setup data:
    | Key | Value |
    | Username | ApproveFailResultSpecUser2 |
    | TestMethodName | ApproveFailResultSpecTestMethod1 |
    | TestMethod2Name | ApproveFailResultSpecTestMethod2 |
    | ClientName | ApproveFailResultSpecClient |
    | ProductName | ApproveFailResultSpecProduct |
    | TestSuiteName | ApproveFailResultSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'ApproveFailResultSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '0.0000002' in the lower limit
  • And I enter '0.0000003' in the upper limit
  • And I click the add warning button
  • And I enter '0.00000022' in the lower warning limit
  • And I enter '0.00000025' in the upper warning limit
  • And I click the save button
  • And I click the publish button for product 'ApproveFailResultSpecProduct'
  • And I progress a job up to approval with batchNo 'viewfailspecsresults' and input value '0.00000026' and spec 'Default specification'
  • And I navigate to the approve samples page for the job
  • Then I can see that the job failed the warning requirements with the message of 'Pass (1 of 2 tests outside of warning limit)' on the approve samples page

Scenario: I can see tests out of warning limits at enter results 29s 745ms
  • Given I am logged in as user 'EnterResultsWarnUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | EnterResultsWarnUser |
    | TestMethodName | EnterResultsWarnTestMethod1 |
    | TestMethod2Name | EnterResultsWarnTestMethod2 |
    | ClientName | EnterResultsWarnClient |
    | ProductName | EnterResultsWarnProduct |
    | TestSuiteName | EnterResultsWarnTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'EnterResultsWarnProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '1' in the lower limit
  • And I enter '5' in the upper limit
  • And I click the add warning button
  • And I enter '2' in the lower warning limit
  • And I enter '4' in the upper warning limit
  • And I click the save button
  • And I click the publish button for product 'EnterResultsWarnProduct'
  • And I progress a job up to enter results with batchNo 'batch' and spec 'Default specification'
  • And I click on the 'Enter results' menu item
  • And I search for the created job
  • And I drop down the test method 'EnterResultsWarnTestMethod1' on the enter results page
  • And I click into the first input and enter '5'
  • And I press enter on the keyboard
  • Then I can see the warning limit on the enter results page
  • And I can see the limit details of 'Warning limit: Between 2 and 4' when I view the summary and hover the result

Scenario: I can see the warning on the verify tests page when a sample is out of warning limits 30s 850ms
  • Given I am logged in as user 'VerifyTestsWarnUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | VerifyTestsWarnUser |
    | TestMethodName | VerifyTestsWarnTestMethod1 |
    | TestMethod2Name | VerifyTestsWarnTestMethod2 |
    | ClientName | VerifyTestsWarnClient |
    | ProductName | VerifyTestsWarnProduct |
    | TestSuiteName | VerifyTestsWarnTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'VerifyTestsWarnProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '1' in the lower limit
  • And I enter '5' in the upper limit
  • And I click the add warning button
  • And I enter '2' in the lower warning limit
  • And I enter '4' in the upper warning limit
  • And I click the save button
  • And I click the publish button for product 'VerifyTestsWarnProduct'
  • And I have progressed a job up to verify with batchNo 'verifyWarnresults' and input value '5' and spec 'Default specification'
  • And I navigate to the verify tests page for the job
  • And I click to expand test 'VerifyTestsWarnTestMethod1' on the verify tests page
  • Then I can see that the test hit the warning limit on the verify tests page

Scenario: I can see the warning on the test viewer when the test is out of warning limit 34s 056ms
  • Given I am logged in as user 'TestViewResultSpecUser3'
  • And I create the following setup data:
    | Key | Value |
    | Username | TestViewResultSpecUser3 |
    | TestMethodName | TestViewResultSpecTestMethod1 |
    | TestMethod2Name | TestViewResultSpecTestMethod2 |
    | ClientName | TestViewResultSpecClient |
    | ProductName | TestViewResultSpecProduct |
    | TestSuiteName | TestViewResultSpecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'TestViewResultSpecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '0.0000002' in the lower limit
  • And I enter '0.0000003' in the upper limit
  • And I click the add warning button
  • And I enter '0.00000022' in the lower warning limit
  • And I enter '0.00000025' in the upper warning limit
  • And I click the save button
  • And I click the publish button for product 'TestViewResultSpecProduct'
  • And I progress a job up to approval with batchNo 'testviewspecsresults' and input value '0.00000026' and spec 'Default specification'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I view the test method 'TestViewResultSpecTestMethod1' on the sample details page
  • Then I can see the warning that the test does not match warning limit on the test viewer

Scenario: I can set the warning operator to a different one to spec and see a failed warning on test viewer 35s 518ms
  • Given I am logged in as user 'TestViewResultWarnDiffUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | TestViewResultWarnDiffUser |
    | TestMethodName | TestViewResultWarnDiffTestMethod1 |
    | TestMethod2Name | TestViewResultWarnDiffTestMethod2 |
    | ClientName | TestViewResultWarnDiffClient |
    | ProductName | TestViewResultWarnDiffProduct |
    | TestSuiteName | TestViewResultWarnDiffTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'TestViewResultWarnDiffProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Between' from the operator drop down
  • And I enter '-7' in the lower limit
  • And I enter '-1' in the upper limit
  • And I click the add warning button
  • And I select 'Less than' from the warning operator the drop down
  • And I enter '-4' in the upper warning limit
  • And I click the save button
  • And I click the publish button for product 'TestViewResultWarnDiffProduct'
  • And I progress a job up to approval with batchNo 'testviewWarndiffresults' and input value '-3' and spec 'Default specification'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I view the test method 'TestViewResultWarnDiffTestMethod1' on the sample details page
  • Then I can see the warning that the test does not match warning limit on the test viewer

Scenario: I can set a warning limit with no set spec and see a warning on the test viewer 33s 352ms
  • Given I am logged in as user 'warnnospecUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | warnnospecUser |
    | TestMethodName | warnnospecTestMethod1 |
    | TestMethod2Name | warnnospecTestMethod2 |
    | ClientName | warnnospecClient |
    | ProductName | warnnospecProduct |
    | TestSuiteName | warnnospecTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'warnnospecProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I click the add warning button
  • And I select 'Greater than' from the warning operator the drop down
  • And I select 'Between' from the warning operator the drop down
  • And I enter '1.654' in the lower warning limit
  • And I enter '2.9065' in the upper warning limit
  • And I click the save button
  • And I click the publish button for product 'warnnospecProduct'
  • And I progress a job up to approval with batchNo 'warnnospecresults' and input value '2.9066' and spec 'Default specification'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I view the test method 'warnnospecTestMethod1' on the sample details page
  • Then I can see the warning that the test does not match warning limit on the test viewer

Scenario: I can see the test change from failed spec to warn when results are changed 43s 497ms
  • Given I am logged in as user 'ChangeResultSpecWarnUser'
  • And I create the following setup data:
    | Key | Value |
    | Username | ChangeResultSpecWarnUser |
    | TestMethodName | ChangeResultSpecWarnTestMethod1 |
    | TestMethod2Name | ChangeResultSpecWarnTestMethod2 |
    | ClientName | ChangeResultSpecWarnClient |
    | ProductName | ChangeResultSpecWarnProduct |
    | TestSuiteName | ChangeResultSpecWarnTestSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • And I have navigated to the 'Products' page
  • When I click on product 'ChangeResultSpecWarnProduct' on the products page
  • And I click the generate specifications button
  • And I click the output to expand the spec
  • And I select 'Greater than or equal to' from the operator drop down
  • And I enter '2' in the lower limit
  • And I click the add warning button
  • And I select 'Greater than' from the warning operator the drop down
  • And I enter '4' in the lower warning limit
  • And I click the save button
  • And I click the publish button for product 'ChangeResultSpecWarnProduct'
  • And I have progressed a job up to verify with batchNo 'changespecwarnresults' and input value '1' and spec 'Default specification'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I view the test method 'ChangeResultSpecWarnTestMethod1' on the sample details page
  • And I can see the warning that the test does not match specification on the test viewer
  • And I update the test result of the created job with an input value of '3'
  • And I view the created job on the job viewer
  • And I view the first sample on the job
  • And I view the test method 'ChangeResultSpecWarnTestMethod1' on the sample details page
  • Then I can see the warning that the test does not match warning limit on the test viewer

Analytics


Features
100% Passed
49
100%
Passed
0
0%
Incomplete
0
0%
Failed
0
0%
Skipped
49
100%
Total

Duration: 2h 21min
Analytics


Scenarios
100% Passed
369
100%
Passed
0
0%
Incomplete
0
0%
Failed
0
0%
Skipped
369
100%
Total

Duration: 2h 21min
Analytics


Steps
100% Passed
4901
100%
Passed
0
0%
Incomplete
0
0%
Failed
0
0%
Skipped
4901
100%
Total

Duration: 2h 21min
Gherkin Script Editor

Scenario

Step Definitions
Given I am logged in as user 'Adjuststockuser'
Given I have created the following stock item:
And I have received the following stock batch:
When I click on the 'Stock' menu item
When I click on the 'Adjust stock' menu item
And I click the adjust stock button
And I populate the adjust stock form with the following:
And I can see the message of 'Stock availability updated successfully'
And I click on the 'Inventory' menu item
Then I can see the following stock item showing here:
Given I am logged in as user 'AdjustViewStockUser'
Then I can see the following recently adjusted stock in the table:
Given I am logged in as user 'Adjuststockzerouser'
And I click on stock item 'ZeroBatchStock'
Then I can no longer see stock batch 'ZERO123' on inventory
Given I am logged in as user 'Adjuststockzeruser'
Then I click on stock item 'ZeroVisibleStock'
And I can no longer see stock batch 'ZEROVIS123' on inventory
Then I click on the 'Inventory' menu item
And I click on stock item 'ZeroModuleStock'
And I can no longer see stock batch 'ZMOD123' on inventory
And I click on the 'expired stock' menu item
And I can no longer see stock item 'ZeroModuleStock' showing here
Given I am logged in as user 'ApproveSampleUser'
When I progress a job up to approval with batchNo 'approve' and input value '123' and spec 'Default specification'
When I click on the 'Approve samples' menu item
And I search for the created job
And I tick then approve the results
Then I can see the message of 'Samples approved successfully'
Given I am logged in as user 'ApproveUser'
When I progress a job up to verify with batchNo 'TestBatch123' and input value '10' and spec 'Default specification'
Then I can not see the job appear when I search for it
Given I am logged in as user 'clientFilterApproveUser'
Given I have created the user 'spareApproveUser'
And I have progressed a job up to approval with batchNo 'TestBatch123' and input value '5'
And I create the following setup data:
When I have submitted a job with the following data:
When I receive the job
And I enter results of '5' for job
And I verify the results for job
And I have navigated to the 'Approve samples' page
Then I can only see the job for the client I am assigned
Given I am logged in as user 'jobattachmentUser'
When I submit a job with batchNo 'jobattachment'
When I view the created job on the job viewer
And I click on attachments
And I upload attachment 'Logo.png'
Then I can see the attachment has successfully uploaded to the job
Given I am logged in as user 'jobdeleteattachmentUser'
When I submit a job with batchNo 'deletejobattachment'
And I confirm the attachment has uploaded to the job
And I click on options for the added attachment
And I click on the delete button
And I click ok
Then I can see the attachment has successfully deleted from the job
Then I can see the message of 'No attachments'
Given I am logged in as user 'sampleattachmentUser'
When I submit a job with batchNo 'sampleattachment'
And I view the first sample on the job
Then I can see the attachment has successfully uploaded to the sample
Given I am logged in as user 'sampledeleteattachmentUser'
When I submit a job with batchNo 'deletesampleattachment'
And I confirm the attachment has uploaded to the sample
Then I can see the attachment has successfully deleted from the sample
Given I am logged in as user 'AuditSubmitJobUser'
When I click on the 'Submit job' menu item
When I click Create a new job
And I select the default client from the list
And I enter 'AutoTest' into the batch number
And I select the default product from the list and add a sample
And I submit the job
And I click on the 'Audit' menu item
Then I am on the audit page
Then I select 'Job' from the audit type filter
And I clear the audit actions
And I select 'Submitted' from the audit actions
And I enter from todays date on the filter
And I can see the submitted job action on the audit
And I clear the audit filters
And I select 'Job' from the audit type filter
And I enter before yesterdays date on the filter
And I can no longer see the submitted job action on the audit
Given I am logged in as user 'AuditSearchJobUser'
And I enter 'AuditSearchJob' into the batch number
Then I enter 'notathing3262457' into the search box
And I enter the job id in the search box
Given I am logged in as user 'AuditEditTestMethodUser'
When I click on the 'Setup' menu item
When I click on the 'Test methods' menu item
And I click on options then edit the default test method
And I enter 'Audit trace' into the description
And I click save
And I can see the message of 'Test method updated successfully'
Then I select 'Test Method' from the audit type filter
And I can see the test method description change to 'Audit trace' on the audit
Given I am logged in as user 'UpdateAuditSpecUser'
Given I create the following setup data:
And I have navigated to the 'Products' page
When I click on product 'UpdateAuditSpecProduct' on the products page
When I click the generate specifications button
And I enter 'Automated test spec' into the specification description
And I click the output to expand the spec
And I select 'Between' from the operator drop down
And I enter '1' in the lower limit
And I enter '5' in the upper limit
And I can see the message of 'Product updated successfully'
Then I select 'Product' from the audit type filter
And I select 'Updated' from the audit actions
And I can see the product spec update showing the new values '1' - '5' and version '1.1' on the audit
Given I am logged in as user 'JobAuditLinkUser'
Given I submit a job with batchNo 'JALBatch'
When I click on the job audit button
Then I can see the submitted job action on the audit
Given I am logged in as user 'JobAuditCLinkUser'
Given I submit a job with batchNo 'JALCBatch'
When I refresh the page
When I click the job view on the dashboard
And select the context menu for the job on the job viewer
And I click on the view audit button
Given I am logged in as user 'SampleAuditLinkUser'
Given I have progressed a job up to enter results with batchNo 'SALUTest'
When I view the first sample on the job
And I click on the sample audit button
Then I can see the sample logs on the audit
Given I am logged in as user 'SampleAuditCLinkUser'
Given I have progressed a job up to enter results with batchNo 'SALCUTest'
When I click the sample view on the dashboard
When I select the context menu for the sample on the dashboard
Given I am logged in as user 'AuditOtherOrgUSer'
And I Log out of LabHQ
And I enter the log in details for the default bsl account
Then I cannot see the submitted job action on the audit
Given I am logged in as user 'AuditProductAttachmentUser'
When I click on the 'Products' menu item
And I click on product 'AuditProductAttachmentProd' on the products page
And I click on the attachments button
And I click ok on the popup dialog
And I click the close button
And I can see 'Product attachment added'
And I can see 'Product attachment deleted'
Given I am logged in as user 'createclientuser'
When I click on the 'Clients' menu item
And I click on the create client button
And I enter 'createclientclient' in the name field
And I add the default product to the client
And I add the default user account to the client
And I click on the create button
Then I can see the message of 'Client created successfully'
Given I am logged in as user 'searchclientuser'
Given I have created a client called 'SearchClient'
And I am on the clients page
And I enter 'NULL' into the search box
And I can see the message of 'No clients found'
And I enter 'SearchClient' into the search box
Then I can see client 'SearchClient' in the list
Given I am logged in as user 'editclientuser'
Given I have created a client called 'editthisclient'
And I click on client 'editthisclient' on the clients page
And I enter 'newclientname' in the name field
And I press tab on the keyboard
And I can see the message of 'Client updated successfully'
And I click the back button
Then I can see client 'newclientname' in the list
Given I am logged in as user 'addallproductsclientuser'
Given I have created the following products:
And I enter 'createallproductclient' in the name field
And I click on the products drop down
And I enter 'AT' into the product filter so only '4' remain
And I click the double arrow to select all filtered products
Then I can see the following list of '4' products in the selected box
Given I am logged in as user 'clientsproductuser'
When I click on the 'clients' menu item
And I click on the default client on the clients page
And I click on the default available product from the selected list
And I click the edit product button
Then I can see the default product on the products edit page
Given I am logged in as user '<username>'
When I click on the 'custom fields' menu item
And I enter 'autojobfield' into the first custom job field title
And I select '<fieldType>' from the custom field 'job' type dropdown
And I click save job fields
Then I can see the message of 'Job custom fields saved successfully'
And I enter 'autosamplefield' into the first custom sample field title
And I select '<fieldType>' from the custom field 'sample' type dropdown
And I click save sample fields
Then I can see the message of 'Sample custom fields saved successfully'
And I can see the message of 'Sample custom fields saved successfully'
And I click on the 'Submit job' menu item
And I click Create a new job
And I enter 'CustomSample' into the batch number
And I view the created job on the job viewer
Then I can see the custom sample field 'autosamplefield'
Then I click on the edit button
And I can populate the '<fieldType>' field 'autosamplefield' with the following values:
And I can see the message of 'Sample saved successfully'
And I can see the value '<fieldValue>' for the field 'autosamplefield'
And I can see the message of 'Job custom fields saved successfully'
And I enter 'CustomJob' into the batch number
Then I can see the custom job field 'autojobfield'
And I can populate the '<fieldType>' field 'autojobfield' with the following values:
And I can see the message of 'Job saved successfully'
And I can see the value '<fieldValue>' for the field 'autojobfield'
Given I am logged in as user 'UseCustomNumberJobFieldUser'
And I enter 'autojobnumberfield' into the first custom job field title
And I select 'number' from the custom field 'job' type dropdown
And I enter 'CustomNumberJob' into the batch number
Then I can see the custom job field 'autojobnumberfield'
And I can enter value '123456789' into the custom field 'autojobnumberfield'
And I click on the edit button
And I cannot enter value 'ExampleText' into the job field 'autojobnumberfield'
Given I am logged in as user 'UseCustomJobFieldUser2'
Given I have set the first custom job field as 'autousejobfieldold'
And I enter 'customjobfieldjob' into the batch number
And I enter 'autojobfieldnew' into the first custom job field title
And I select 'date' from the custom field 'job' type dropdown
Then I can see the custom job field 'autousejobfieldold'
And I cannot see a date picker on field 'autousejobfieldold'
Given I am logged in as user 'UseCustomSampleFieldUser2'
Given I have set the first custom sample field as 'autousesampleold'
And I enter 'customsamplefieldjob' into the batch number
And I enter 'autosamplenew' into the first custom sample field title
Then I can see the custom sample field 'autousesampleold'
Given I am logged in as user 'Clientjobfielduser'
And I select the default client from the job fields drop down
And I enter 'clientjobfield' into the first custom job field title
And I progress a job up to enter results with batchNo 'clientjobfieldjob' and spec ''
Then I can see the custom job field 'clientjobfield'
Given I am logged in as user 'Clientsamplefielduser'
And I select the default client from the sample fields drop down
And I enter 'clientsamplefield' into the first custom sample field title
Then I can see the custom sample field 'clientsamplefield'
Given I am logged in as user 'editdashboarduser'
When I click on the manage dashboard button
When I click to remove the welcome to labhq widget
Then I can no longer see the welcome to labhq widget
Given I am logged in as user 'samplescompletedtodayuser'
Given I have progressed the following jobs through the lifecycle process:
When I click to add the 'completed today' widget from the widget gallery
Then I can see the samples completed today widget shows '5'
Given I am logged in as user 'samplescompletedweekuser'
When I click to add the 'completed this week' widget from the widget gallery
Then I can see the samples completed this week widget shows '2'
Given I am logged in as user 'samplesdueweekuser'
Given I have progressed a job up to enter results with batchNo 'dueweek'
When I click to add the 'outstanding samples' widget from the widget gallery
Then I can see the outstanding samples widget shows '1'
Given I am logged in as user 'companylogouser'
When I delete the custom logo if one exists
When I navigate to the 'dashboard' page
And I click on the manage dashboard button
And I click to add the 'your logo' widget from the widget gallery
And I click the logo widget to upload my company logo
And I click start in the logo section
And I choose image file 'Logo.png' to upload
And I click the next to edit logo
And I click the next to preview logo
And I click the finish and upload button
And I can see the message of 'Logo updated successfully'
And I navigate to the 'dashboard' page
Then I can see the company logo widget shows the company logo image
Given I am logged in as user 'onboardingchecklistuser'
And I click to add the 'onboarding checklist' widget from the widget gallery
Then I can see the text 'Complete these steps to fully configure your lims environment'
Given I am logged in as user 'samplesontimeuser'
When I click to add the 'completed on time' widget from the widget gallery
Then I can see the samples completed on time widget shows '100%'
Given I am logged in as user 'overduesampleuser'
Given I have progressed a job up to enter results with batchNo '123-6'
And I have updated the due date on sample with batch '123-6' to 'yesterday'
When I click to add the 'overdue samples' widget from the widget gallery
Then I can see the sample shows on the overdue samples widget as '1 day overdue'
Given I am logged in as user 'workflowpipelineuser'
Given I submit a job with batchNo '123-1'
And I have progressed a job up to enter results with batchNo '123-2'
And I have progressed a job up to approval with batchNo '123-3' and input value '987'
When I click to add the 'workflow pipeline' widget from the widget gallery
Then I can see that there is '1' sample awaiting receipt on the workflow pipeline widget
Then I can see there there is '1' sample awaiting testing on the workflow pipeline widget
And I can see there is '1' sample awaiting approval on the workflow pipeline widget
Given I am logged in as user 'approachingduedateuser'
Given I have progressed a job up to enter results with batchNo '123-2'
And I have updated the due date on sample with batch '123-2' to 'today'
When I click to add the 'approaching due date (next 48h)' widget from the widget gallery
Then I can see the sample showing on the approaching due date widget with a due date of 'Today' and a status of 'In Test'
Given I am logged in as user 'ooswidgetuser'
Given I have progressed a job up to verify with batchNo 'verifyspecresults' and input value '11' and spec 'Default specification'
When I click to add the 'oos monthly count' widget from the widget gallery
Then I can see '1' oos showing on the monthly count
Given I am logged in as user 'activesampinveswidgetuser'
Given I have progressed a job up to enter results with batchNo 'inveswidget'
And I click into the investigations section
And I click start investigation
And I can see the message of 'Investigation started successfully'
And I navigate to the 'Dashboard' page
And I click to add the 'active sample investigations' widget from the widget gallery
And I click to add the 'active investigations by age' widget from the widget gallery
Then I can see there is '1' active investigation showing on the active investigations widget
Then I can see there is '1' total investigation and average age of '0' on the investigations by age widget
Given I am logged in as user 'medianinveswidgetuser'
Given I have progressed a job up to enter results with batchNo 'medianwidget'
And I click to add the 'median time to investigation closure' widget from the widget gallery
Then I can see the median investigation closure time is '0'
Given I am logged in as user 'expiredstockwidgetuser'
When I navigate to the 'Dashboard' page
And I click to add the 'expired stock' widget from the widget gallery
Then I can see there is '1' expired stock batch showing on the expired stock widget
Given I am logged in as user 'stockhealthwidgetuser'
And I click to add the 'stock health' widget from the widget gallery
Then I can see I have '1' low in stock on the stock health widget
Given I am logged in as user 'stockusabilitywidgetuser'
And I click to add the 'stock usability' widget from the widget gallery
Then I can see my total batches of '3' on the stock usability widget
Then I can see I have '1' in date, '1' expiring soon and '1' expired stock batches on the stock usability widget
Given I am logged in as user 'stockexpiringsoonwidgetuser'
And I click to add the 'stock expiring soon (next 48h)' widget from the widget gallery
Then I can see my stock 'SESWidget' showing with an expiry of '1 day' on the stock expiring soon widget
Given I am logged in as user 'stockzerowidgetuser'
Then I can see my total batches of '2' on the stock usability widget
Then I can see I have '1' in date, '1' expiring soon and '0' expired stock batches on the stock usability widget
And I can see there is '0' expired stock batch showing on the expired stock widget
And I can see my stock 'ZeroWidgetStock' showing with an expiry of '1 day' on the stock expiring soon widget
Given I am logged in as user 'EnterResultsSideBarUser'
When I progress a job up to enter results with batchNo 'EnterResultsSidebar' and spec 'Default specification'
When I click on the 'Enter results' menu item
And I can see the job details displayed
And I click into the first input and enter '123'
And I press enter on the keyboard
Then I can submit the results
Given I am logged in as user 'OptionalInputUser'
Given I have created a test method called 'MandatoryTestMethod' with default value of 'value' and is mandatory
And I select edit tests on the create job page and choose test method 'MandatoryTestMethod'
And I click submit and go to next step to submit job with batch 'AutoTest'
And I tick the first sample on the receive samples page
And I click the Receive button
And I click on the 'Enter results' menu item
And I drop down the test method 'MandatoryTestMethod' on the enter results page
Then I can see the default value of 'value' on the input
Then I can see input 'AutoInput-0' is mandatory
And I can submit the results
Given I am logged in as user 'TrailingZeroUser'
Given I have created a test method called 'RoundingTestMethod' with a rounding of 5
And I select edit tests on the create job page and choose test method 'RoundingTestMethod'
And I drop down the test method 'RoundingTestMethod' on the enter results page
And I click into the first input and type '1' on the keyboard
Then I can see '1.00000' in the output field
Given I am logged in as user 'TrailingZeroUser2'
Given I have created a test method called 'NoRoundingTestMethod' with a rounding of 0
And I select edit tests on the create job page and choose test method 'NoRoundingTestMethod'
And I drop down the test method 'NoRoundingTestMethod' on the enter results page
Then I can see '1' in the output field
Given I am logged in as user 'HiddenEnterResultsUser'
And I select 'HiddenClient' from the client list
And I enter 'HiddenInput' into the batch number
And I select product 'HiddenProduct' from the list and add a sample
And I ensure that test suite 'HiddenTestSuite' is selected
And I click submit and go to next step to submit job with batch 'HiddenInput'
And I tick to receive all the samples
And I drop down the test method 'HiddenTestMethod1' on the enter results page
And I can see the test method has expanded
Then I cannot see 'AutoInput'
Given I am logged in as user 'EnterResultsDetailsUser'
When I progress a job up to enter results with batchNo 'EnterResultsDetails' and spec 'Default specification'
Then I can see the job details displayed
Given I am logged in as user 'NumInputEnterResultsUser'
And I select 'NumClient' from the client list
And I enter 'NumInput' into the batch number
And I select product 'NumProduct' from the list and add a sample
And I add click the add samples button
And I enter '1' into add samples and click ok
And I ensure that test suite 'NumTestSuite' is selected
And I click submit and go to next step to submit job with batch 'NumInput'
And I drop down the test method 'NumTestMethod1' on the enter results page
And I click into the first input and type 'NotANumber' on the keyboard
Then I can see the first input remains empty
Given I am logged in as user 'EnterEnterResultsUser'
And I enter 'EnterButton' into the batch number
And I click submit and go to next step to submit job with batch 'EnterButton'
And I type number '1' on the keyboard
And I press arrow up on the keyboard
Then I can see the 'second' input contains '1'
Given I am logged in as user 'ArrowNavEnterResultsUser'
And I press arrow down on the keyboard
Given I am logged in as user 'ListEnterNavEnterResultsUser'
Given I have created a default list
And I select 'ListClient' from the client list
And I select product 'ListProduct' from the list and add a sample
And I ensure that test suite 'ListTestSuite' is selected
And I drop down the test method 'ListTestMethod1' on the enter results page
And I click into the first input
Then I can see the first list input contains 'False'
Then I can see the second list input contains 'True'
Given I am logged in as user 'ReasonTestInputUser'
Given I have enabled the require reason for change setting
When I have progressed a job up to verify with batchNo 'ReasonTestInput' and input value '2' and spec 'Default specification'
And I click into the first input and enter '9'
And I click the cancel button
Then I can see the 'first' input contains '2'
Given I am logged in as user 'CorrectOutputUser'
And I click into the first input and enter '200'
And I click into the first input and enter '100'
Then I can see '100.0' in the output field
Given I am logged in as user 'EnterResultNotReceivedUser'
When I submit a job with batchNo 'EnterResultNotReceived'
Given I am logged in as user 'NewTestExistingJobUser'
Given I have created a test method called 'NewTestTestMethod'
And I have progressed a job up to enter results with batchNo 'NewTestExistingJob'
And I click edit tests on the sample viewer
And I click the select test method drop down
And I click on 'NewTestTestMethod (v1)'
And I add 1 of these tests to the job
And I can see the message of 'Tests added successfully'
Then I can see 'NewTestTestMethod'
Given I am logged in as user 'clientFilterEnterUser'
Given I have created the user 'spareEnterUser'
And I have progressed a job up to enter results with batchNo 'TestBatch123'
And I have navigated to the 'Enter results' page
Given I am logged in as user 'ERStockUser'
And I have progressed a job up to enter results with batchNo 'ERStock'
And I have created the following stock item:
And I click on the edit test method button for test method 'ERSTockTM' on the test method page
And I click the related stock items button
And I select stock item 'ERStock' from the dual list and a quantity of '15'
And I click to save test method 'ERSTockTM'
And I can see the message of 'Stock items updated successfully'
And I select add stock for the first test
And I choose stock batch 'ERB987' for stock item 'ERStock'
And I enter a quantity of '15'
And I click the add button
And I can see the message of 'Current Usage: 15 / 15 g'
And I can see the message of 'Batches saved successfully.'
And I click on the 'Stock' menu item
Given I am logged in as user 'createequipmentuser'
When I click on the 'Equipment' menu item
When I click on the 'Equipment Items' menu item
And I click on the Create equipment item button
And I populate the equipment form with the following:
Then I can see the message of 'Equipment item CreateEquip created successfully'
Then I click the back button
And I can see the following data in the equipment list table:
Given I am logged in as user 'editequipmentuser'
And I can see the message of 'Equipment item CreateEquip2 created successfully'
And I click on equipment item 'CreateEquip2'
And I can see the message of 'Equipment item EditEquip updated successfully'
Then I can see the following data in the equipment list table:
Given I am logged in as user 'decomequipmentuser'
And I can see the message of 'Equipment item DecomEquip created successfully'
And I click the menu button for equipment 'DecomEquip'
And I click on the decommission button
Then I can see the message of 'Equipment item decommissioned'
Then I can no longer see the equipment item 'DecomEquip' in the list
And I can see equipment item 'DecomEquip' showing as decommissioned when I tick to show decommissioned
Given I am logged in as user 'deleteeventuser'
And I click on the Maintenance tab
And I click on the add maintenance event button
And I populate the maintenance event form with the following:
Then I can see the message of 'Equipment item MainEquip created successfully'
Then I can see '1' maintenance event showing on the tab
And I delete event number '1'
And I can see '0' maintenance event showing on the tab
Given I am logged in as user 'viewcaleventuser'
Given I have created equipment item 'CalViewEquip' and event called 'CalViewSchedule'
When I click on the 'Maintenance' menu item
And I 'can' see the maintenance event for equipment 'CalViewEquip' called 'CalViewSchedule'
And I click on the 'Equipment Items' menu item
And I click on equipment item 'CalViewEquip'
And I can see the message of 'Equipment item CalViewEquip updated successfully'
And I click on the 'Maintenance' menu item
Then I 'cannot' see the maintenance event for equipment 'CalViewEquip' called 'CalViewSchedule'
Given I am logged in as user 'overduecaleventuser'
And I add a Service event schedule called 'CalOverdueSchedule' starting yesterday with a frequency of '30'
And I can see the message of 'Equipment item CalOverdueEquip created successfully'
Then I can see the overdue maintenance event for equipment 'CalOverdueEquip' called 'CalOverdueSchedule'
Given I am logged in as user 'eventequipfilteruser'
And I add a Service event schedule called 'FilterEvent' starting today with a frequency of '40'
And I can see the message of 'Equipment item FilterEquip created successfully'
Then I 'can' see the maintenance event for equipment 'FilterEquip' called 'FilterEvent'
Then I set the maintenance event filter to show only 'Calibration' events
And I can no longer see equipment item 'FilterEquip' event 'FilterEvent'
Given I am logged in as user 'progresseventuser'
Given I have created equipment item '<equipName>' and event called 'Progress Schedule'
And I click on the event 'Progress Schedule' for equipment item '<equipName>'
And I can see the event status is 'Planned'
And I click set in progress
And I can see the event status is 'In progress'
And I select '<status>' maintenance event
And I can see the event status is 'Completed'
And I can see the outcome is '<status>'
And I select approve maintenance event
Then I can see the event status is 'Approved'
Given I am logged in as user 'Expiredstockuser'
When I click on the 'expired stock' menu item
Then I can see the following batch of expired stock showing here:
Given I am logged in as user 'Disposestockuser'
And I click to dispose stock batch 'DIS123'
Then I can see the message of 'Stock batch disposed successfully'
Then I can no longer see stock item 'DisposeStock' showing here
Given I am logged in as user 'ExpiringSoonstockuser'
And I click on expiring soon
Given I am logged in as user 'Batchstockuser'
When I click on the 'Inventory' menu item
And I can see the following stock item showing here:
And I click on stock item 'BatchStock'
And I can see the message of 'Available Batches'
And I can see the following information on the batch pop up:
And I can click the edit button for batch 'BAT987'
And I enter 'UpdateBatch' in the batch input
And I enter the expiry date for 'yesterday'
And I click the update batch button
And I can see the message of 'Stock updated successfully'
Then I can see the following information on the batch pop up:
Given I am logged in as user 'startinvestigationuser'
Given I have progressed a job up to enter results with batchNo 'investigationstart'
And I enter the following investigation details:
Then I can see the message of 'Investigation started successfully'
Then I can see the following information on the sample investigation
And the investigation status is 'Active'
Given I am logged in as user 'viewinvestigationuser2'
Given I have progressed a job up to enter results with batchNo 'investigationView'
Then I can see an investigation icon on the sample
Then I navigate to the 'Dashboard' page
And I click the job view on the dashboard
And I can see an investigation icon on the job
Given I am logged in as user 'closeinvestigationuser'
Given I have progressed a job up to enter results with batchNo 'investigationclose'
And I click close investigation
And I enter 'resolved' into the resolution field
And the investigation status is 'Closing'
Then I can see the message of 'Investigation closed successfully'
Then the investigation status is 'Closed'
And I can not see an investigation icon on the sample
And I can not see an investigation icon on the job
Given I am logged in as user 'editinvestigationuser'
Given I have progressed a job up to enter results with batchNo 'investigationedit'
Then I can see the message of 'Investigation updated successfully'
Given I am logged in as user 'SearchJobUser'
Given I have progressed a job up to enter results with batchNo 'SearchJob'
When I click on the 'job' menu item
And I can see the message of 'No jobs found. Please refine your search'
And I enter 'SearchJob' into the search box
Then The job 'SearchJob' shows on the job viewer
Given I am logged in as user 'StatusJobUser'
Given I have progressed a job up to enter results with batchNo 'StatusFilterJob'
And I select 'Approved' on the status filter
And I select 'In Test' on the status filter
Then The job 'StatusFilterJob' shows on the job viewer
Given I am logged in as user 'SortJobUser'
When I progress a job up to approval with batchNo 'resetjobfilter' and input value '2345' and spec 'Default specification'
And I click on the 'job' menu item
And I click the reset filters button
Then The job 'resetjobfilter' shows on the job viewer
Given I am logged in as user 'SampleViewUser'
Given I have progressed a job up to enter results with batchNo 'SampleView'
When I click on the 'sample' menu item
Then The sample 'SampleView' shows on the sample viewer
Given I am logged in as user 'SampleSearchUser'
Given I have progressed a job up to enter results with batchNo 'SampleSearch'
And I can see the message of 'No samples found. '
And I enter 'SampleSearch' into the search box
Then The sample 'SampleSearch' shows on the sample viewer
Given I have progressed a job up to enter results with batchNo 'SampleProduct'
And I click on the 'sample' menu item
And I select 'clientFilterProduct' in the product filter
Then I cannot see job with batch 'SampleProduct' on the job viewer
Then The sample 'FilterOutBatch' shows on the sample viewer
Given I am logged in as user 'clientFilterUser'
Given I have created the user 'spareUser'
Then I cannot see client 'clientFilterClient' in the client filter
Then I cannot see job with batch 'NoAccessBatch' on the job viewer
Given I am logged in as user 'DownloadJobCertUser'
Given I have progressed a job through the lifecycle process with batchNo 'jobcert' and input value '234'
When I click on the Job certificate button
Then I can see a file has downloaded
Given I am logged in as user 'DlJobCertAppUser'
When I progress a job up to approval with batchNo 'appjobcert' and input value '123' and spec 'Default specification'
When I navigate to the 'Approve samples' page
Then I cannot see the draft job certificate button
Then I click on the Job certificate button
And I can see a file has downloaded
Given I am logged in as user 'DlDraftJobCertAppUser'
When I progress a job up to approval with batchNo 'drafappjobcert' and input value '123' and spec 'Default specification'
Then I can see 'Draft Job certificate'
Given I am logged in as user 'DownloadDraftJobCertUser'
And I enter 'jobcert' into the batch number
And I click submit and go to next step to submit job with batch 'jobcert'
And I enter '123' into the default input and submit the results
And I click on the 'Verify tests' menu item
And I tick then verify the results
And I click on the 'Approve samples' menu item
Given I am logged in as user 'CannotDownloadJobCertUser'
Then I cannot see the job certificate button
Given I am logged in as user 'PrintJobCertUser'
Given I have progressed a job through the lifecycle process with batchNo '123' and input value '123'
When I click on the 'administration' menu item
When I click on the 'report settings' menu item
And I click on the JobCertificate tab
And I upload template 'JobCertificate'
And I upload template 'JobCertificate2'
And I click on the Job certificate button
Then I can see my new template is selected by default
Then I can select a custom template
And I click on the 'administration' menu item
And I click on the 'report settings' menu item
And I can no longer see the templates when I delete them
Given I am logged in as user 'JobCertificateAttachmentUser'
And I can see the message of 'Job certificate has been uploaded to the job attachments'
Then I can see the job certificate attachment showing here
Given I am logged in as user 'JobCertificateReturnExistingUser'
Then I can see the message of 'Job certificate has been downloaded from job attachments'
Given I am logged in as user 'RegenJobCertificateUser'
And I wait for the message 'Job certificate has been uploaded to the job attachments' to dissapear
And I click the job options button
And I click on regenerate job certificate button
And I can see the message of 'Regenerating will retrieve the latest available data and create a new report.'
Then I can see both certificates showing here
Given I am logged in as user 'CreateJobSummaryUser'
And I enter 'AutoTestSummary' into the batch number
Then I can see the submission summary is downloaded when I click the job summary button
Given I am logged in as user 'jobsummaryattachmentUser'
When I submit a job with batchNo 'jobsummaryattachment'
Then I can see the job summary attachment showing here
Given I am logged in as user 'NewSampleExistingJobUser'
Given I have created a test method called 'NewSampleTestMethod'
And I have progressed a job up to enter results with batchNo 'NewSampleExistingJob'
When I click the add sample button
And I select the default product and test suite
Then I can see the message of 'Sample added successfully'
Then I can see the new sample
Given I am logged in as user 'labelsettingsuser'
When I click on the 'Administration' menu item
When I click on the 'More settings' menu item
And I click on the label settings configure button
And I edit the template configuration with the following:
And I click the save button
Then I can see the message of 'Label settings saved successfully'
Given I am logged in as user 'labelsettingrevertsuser'
And I enter 'TESTCODE' into the zpl input box
And I can see the message of 'Label settings saved successfully'
And I can see the zpl input contains 'TESTCODE'
And I click on the revert button
Then I can see the default template is loaded back
Given I am logged in as user 'lifecycleProcessUser'
Then I can see the job 'AutoTest' on the job viewer
Given I am logged in as user 'lifecycleProcessUser2'
And I enter 'SampleTest' into the batch number
And I click submit and go to next step to submit job with batch 'SampleTest'
Then I can see the job 'SampleTest' on the job viewer
Given I am logged in as user 'NewListUser'
When I click on the 'Lists' menu item
And I click here to create a new list
And I name the list 'AutoNewList'
And I add a first list entry with a name of 'entry 1' and description of 'The first automated list entry'
And I click the create button
Then I can see the message of 'List has been created successfully'
Then I can see the list 'AutoNewList' in the drop down
Given I am logged in as user 'EditListUser'
Given I have created a list 'newautolist' with an entry of 'One' and description of 'This is one'
And I select the created list from the drop down
And I click the new entry button
And I add a second list entry with a name of 'Two' and description of 'This is two'
Then I can see the message of 'List has been updated successfully'
Then I can see a second list entry with a name of 'Two' and description of 'This is two' after I refresh the page
Given I have created the user 'LoginUser'
Given I navigate to LabHQ
When I enter my credentials to log in to user 'LoginUser'
Then I am logged into LabHQ
Given I have created the user 'WrongPassUser'
When I enter username 'WrongPassUser' and password of 'Password'
Then I can see the message of 'Invalid username or password.'
Given I have created the user 'PassChangeUser'
When I enter my credentials to log in to user 'PassChangeUser'
When I click on the my account button
And I click on Change password
And I change my password to 'NewDetails123!'
And I enter username 'PassChangeUser' and password of 'NewDetails123!' to log in
Given I have created the user 'DisabledAccountUser'
When I enter my username 'DisabledAccountUser' and password 'Password', '10' times
When I enter my credentials for user 'DisabledAccountUser'
Then I can see the message of 'Account is temporarily disabled; contact your administrator or retry later.'
Given I have created the user 'LogOutUser'
When I enter my credentials to log in to user 'LogOutUser'
When I Log out of LabHQ
Then I can see the login page
Given I have created the user 'StrongPassUser'
When I navigate to LabHQ
When I enter my credentials to log in to user 'StrongPassUser'
And I click on the my account button
And I change my password to 'notstrong'
Then I can see the message of 'Invalid password: must contain at least 1 special characters.'
Given I have created the user 'PasswordHistoryUser'
When I enter my credentials to log in to user 'PasswordHistoryUser'
And I change my password to my old password
Then I can see the message of 'Invalid password: must not be equal to any of last 5 passwords.'
Given I have created the user 'DisabledAccount'
Given I am logged in as user 'DisableUserAccount'
When I click on the 'User accounts' menu item
And I click on options for user 'disabledaccount'
And I click on disable account
And I can see the message of 'disabledaccount has been disabled'
And I enter my credentials for user 'disabledaccount'
Then I can see the message of 'Account is disabled, contact your administrator.'
Given I have created the user 'WrongOrgUser'
When I enter my credentials to log in to user 'WrongOrgUser'
Then I cannot see the switch organisation menu item in my account
Then I cannot see the switch organisation icon in the header
Given I have created the user 'RedirectOrgUser'
When I enter my credentials to log in to user 'RedirectOrgUser'
When I navigate to the submit job page of another organisation
Then I can see the organisation select page
Then I can only see my organisation
Given I am logged in as user 'AppMfaUser'
When I select 'App' on the MFA drop down
And I can see the message of 'MFA updated successfully'
And I refresh the page
And I enter my credentials for user 'AppMfaUser'
Then I can see the setup page for MFA application authorisation
Given I am logged in as user 'ManageWorkNotReceivedUser'
When I submit a job with batchNo 'ManageWorkNotReceived'
When I click on the 'Resources' menu item
And I click on the 'Manage work' menu item
And I select only the default client from the client filter
Then I cannot see the job at manage work
Then I can see the message of 'No jobs, please check back later.'
Given I am logged in as user 'ManageWorkResultsSubmittedUser'
When I progress a job up to verify with batchNo 'ManageWorkSubmitted' and input value '6' and spec 'Default specification'
Given I am logged in as user 'CreateWorkbookUser'
Given I have progressed a job up to enter results with batchNo 'CreateWorkbook'
When I click on the 'Manage work' menu item
And I select the job with batch 'CreateWorkbook' at manage work
And I click on create workbook button
Then I can see the created message
Then I am given a workbook ID
And I press the create new workbook button
And I cannot see the job with batch 'CreateWorkbook' at manage work
Given I am logged in as user 'ViewWorkbookUser'
Given I have progressed a job up to enter results with batchNo 'ViewWorkbook'
And I select the job with batch 'ViewWorkbook' at manage work
And I can see the workbook when I click to go to the view workbooks page
And I click on the re-download workbook button
Given I am logged in as user 'DownloadWorkbookUser'
Given I have progressed a job up to enter results with batchNo 'DownloadWorkbook'
And I select the job with batch 'DownloadWorkbook' at manage work
Then I click on the download workbook button
Given I am logged in as user 'CreateMultipleWorkbookUser'
Given I have progressed a job up to enter results with batchNo 'CreateWorkbook1'
And I have progressed a job up to enter results with batchNo 'CreateWorkbook2'
And I select the job with batch 'CreateWorkbook1' at manage work
And I select the job with batch 'CreateWorkbook2' at manage work
Then I press the create new workbook button
And I cannot see the job with batch 'CreateWorkbook1' at manage work
And I cannot see the job with batch 'CreateWorkbook2' at manage work
Given I am logged in as user 'CannotCreateWorkbookUser'
Given I have progressed a job up to enter results with batchNo 'CannotCreateWorkbook'
And I select the job with batch 'CannotCreateWorkbook' at manage work
And I can see the created message
Then I cannot check the job with batch 'CannotCreateWorkbook' again
Then I refresh the page
And I can see the message of 'No jobs, please check back later.'
Given I am logged in as user 'CreateWorkbookAddedTestsUser'
Given I have progressed a job up to enter results with batchNo 'CreateWorkbookTwice'
And I select the job with batch 'CreateWorkbookTwice' at manage work
And I am given a workbook ID
And I cannot see the job with batch 'CreateWorkbookTwice' at manage work
And I click on 'AutoTestMethod (v1)'
And I click on the 'Resources' menu item
Then I click on create workbook button
And I am given another workbook ID that is sequential
And I cannot see the job at manage work
Given I am logged in as user 'clientFilterManageWorkUser'
Given I have created the user 'spareManageWorkUser'
Then I cannot see client 'manageWorkClient' in the manage work client filter
Then I can see the job with batch 'TestBatch123' at manage work
And I cannot see the job with batch 'NoAccessBatch' at manage work
Given I am logged in as user 'clientFilterViewWorkUser'
Given I have progressed a job up to enter results with batchNo 'TestBatch123'
And I select client 'manageWorkClient' in the manage work client filter
And I select the job with batch 'ClientFilterBatch' at manage work
Then I can not see the workbook when I click to go to the view workbooks page
Given I am logged in as user 'SupportSiteUser1'
When I click the User Guide menu option
Then I am navigated to the help site dashboard
Given I am logged in as user 'SupportSiteUser2'
When I click the About icon in the header
Then I click the User Guide link
Given I am logged in as user 'UpdateCompanyAddressUser'
When I click on the 'Organization' menu item
And I enter the following address information:
Then I can see the message of 'Address updated successfully'
Then I can see the following information in the address section:
Given I am logged in as user 'NewLogoUser'
And I choose image file '<fileName>' to upload
Then I can see the message of 'Logo updated successfully'
Then I can see the custom logo in the header
Given I am logged in as user 'NewLogoUser2'
And I click remove current logo
Then I can see the message of 'Logo removed successfully'
And I can see the deault labhq logo is displayed again
Given I am logged in as user 'FailSpecOOSUser'
When I click on product 'FailSpecOOSProduct' on the products page
And I click the publish button for product 'FailSpecOOSProduct'
And I have progressed the following jobs through the lifecycle process:
And I click on the 'Analytics' menu item
And I click on the 'OOS results' menu item
Then I can see the message of 'Out of Specification Results by Product'
Then The OOS Graph is displayed
And I can see the oos results by product chart shows correctly
Given I am logged in as user 'FailSpecOOSTMUser'
When I click on product 'FailSpecOOSTMProduct' on the products page
And I click the publish button for product 'FailSpecOOSTMProduct'
And I select product 'FailSpecOOSTMProduct' from the oos results product selection drop down
Then I can see the oos results by test method graph is displayed
Then I can see the oos results by test method chart shows correctly
Given I am logged in as user 'NoFailSpecOOSTMUser'
When I click on the 'Analytics' menu item
When I click on the 'OOS results' menu item
And I can see the message of 'Select a Product to view a summary of the out of specification Results.'
Then I can see the oos results by test method graph is not displayed
Given I am logged in as user 'NoFailSpecOOSUser'
Then I can see the message of 'No Results out of specification since'
Then The OOS Graph is not displayed
Given I am logged in as user 'RevokeExternalUser'
Given I have created a client called 'AddExternalClient'
And I click on client 'AddExternalClient' on the clients page
And I click add new user
And I enter user email 'invite@portal'
And I click on the menu for external user 'invite@portal'
And I click on revoke access
And I can see the message of 'The following external users will have their access to the Portal revoked and their notifications disabled:'
Then I can no longer see the external user 'invite@portal' in the list
Given I am logged in as user 'ResendExternalUser'
Given I have created a client called 'ResendExternalClient'
And I click on client 'ResendExternalClient' on the clients page
And I enter user email 'resend@portal'
And I click on the menu for external user 'resend@portal'
And I click on resend invite
Then I can see the message of 'Invitation email resent to resend@portal.'
Given I have created a client called 'ResendFailExternalClient'
And I click on client 'ResendFailExternalClient' on the clients page
And I enter user email 'resendfail@portal'
And I have accepted the invite for external user 'resendfail@portal'
And I click on the menu for external user 'resendfail@portal'
Then I can see the message of 'User has already accepted an invitation.'
Given The organisation subscription tier is set to '<tier>'
Given I am logged in as user 'portaltier'
And I enter user email '<user>'
And I click on the menu for external user '<user>'
Then I can see 'Delete'
Then I cannot see the resend invite option
And I can see the message of 'For external stakeholders receiving notifications'
Given I am logged in as user 'productattachmentmanageuser'
And I click on product 'ProductAttachmentProduct' on the products page
Then I can see the message of 'Uploaded Logo.png to product: ProductAttachmentProduct'
When I click on options for the added attachment
When I click on the delete button
Then I can see the message of 'Logo.png deleted from product: ProductAttachmentProduct'
Given I am logged in as user 'productattachmentlifecycleuser'
And I click on product 'ProductLifecycleProduct' on the products page
And I can see the message of 'Uploaded Logo.png to product: ProductLifecycleProduct'
And I enter 'ProductLifecycleAttachBatch' into the batch number
And I select product 'ProductLifecycleProduct' from the list and add a sample
And I click on the 'Receive samples' menu item
And I click on 'ProductLifecycleProduct (v1)'
Then I can see 'ATTACHMENTS'
Then I can see 'Logo.png'
Given I am logged in as user 'CreateProductUser'
And I click the Create product button
And I enter 'Test product' in the name field
And I add the default related suite to the product
And I click on related clients button
And I copy across the default client from the available list
Then I can see the message of 'Product created successfully'
Given I am logged in as user 'productclientuser'
And I click on the default product on the products page
And I click on the default client from the selected list
Then I can see the client name on the client edit page
Given I am logged in as user 'producttestsuiteuser'
And I click on related test suites button
And I click on the default test suite from the selected item list
Then I can see the test suite name on the test suite edit page
Given I am logged in as user 'SearchProductUser'
And I am on the products page
And I can see the message of 'No products found'
And I enter 'SearchProductProduct' into the search box
Then I can see product 'SearchProductProduct' in the list
Given I am logged in as user 'editProductUser'
And I click on product 'editProductProduct' on the products page
And I enter 'newProductName' in the name field
And I navigate to the 'products' page
And I enter 'newProductName' into the search box
Then I can see product 'newProductName' in the list
Given I am logged in as user 'DeleteProductUser'
And I click on options and delete the product 'ProductProduct'
And I can see the message of 'Deleting product ProductProduct'
Then I can see a message advising me this will affect 'ProductDeleteTestSuite'
Then I click on the delete button
And I can see the message of 'Product deleted successfully'
And I can see that the product 'ProductProduct' has been deleted
Given I am logged in as user 'outputorderuser'
When I click on product 'OrderProduct' on the products page
And I enter 'TMOutputUser' into the specification description
And I click the default spec options
And I click on test method output order button
And I move 'output-1' above 'output-2'
And I click the publish button for product 'OrderProduct'
Then I can see that test method output 'output-2' is at the top
Given I am logged in as user 'cloneproductuser'
When I click on product 'Clone this product' on the products page
When I enter 'Is this still here?' into the product description
And I click the generate specifications button
And I select 'Equals' from the operator drop down
And I enter '2' in the target
And I click the publish button for product 'Clone this product'
And I click on product 'Clone this product' options
And I click on the clone button
And I enter 'clonedproduct' into the product clone pop up
And I click to view product 'clonedproduct'
And I click the publish button for product 'clonedproduct'
And I can see the message of 'Product published successfully'
Then I can see 'Specification: Equals 2' in the output spec summary
Then The product description shows 'Is this still here?'
Given I am logged in as user 'viewProductUser'
And I click on product 'ViewProductProduct' on the products page
And I enter 'View product description' into the product description
And I click on the 'Products' menu item
And I click to view product 'ViewProductProduct'
Then I can see product 'ViewProductProduct' on the product view page
Then The product view details show description 'View product description'
Given I am logged in as user 'cloneproductuser2'
And I click on the 'Setup' menu item
And I click on the 'Test methods' menu item
And I click on options and delete the test method 'CloneProductTestMethod1'
And I can see the message of 'Deleting test method CloneProductTestMethod1'
Then I can see 'Edit clonedproduct'
Then I can see test method 'CloneProductTestMethod1' in the specification section
And I can see the publish product button is not visible
Given I am logged in as user 'unpublishedTMonProductUser'
Given I have created a test method called 'unPublishedVersionTestMethod'
And I click on the edit test method button for test method 'unPublishedVersionTestMethod' on the test method page
And I copy across the default test suite from the available list
And I enter 'Set to draft' in the workbook notes field
Then I can see test method 'unPublishedVersionTestMethod' showing as draft in the specification section
Then I can see the publish product button is not visible
Given I am logged in as user 'DeleteProductSuiteUser'
When I click on the 'Test suites' menu item
And I click on options and delete the default test suite
And I can see the message of 'This test suite will be unassigned from test method:'
And I can see the message of 'Test suite deleted successfully'
Then I can see the default test method and its output appear in the specification section
Then the default test method no longer shows when I resync the product
Given I am logged in as user 'DeleteProductTMUser'
And I click on product 'DeleteTMProduct' on the products page
And I click the publish button for product 'DeleteTMProduct'
And I click on options and delete the test method 'DeleteTestMethod'
And I can see the message of 'Deleting test method DeleteTestMethod'
Then I can see test method 'DeleteTestMethod' and its output appear in the specification section
Then test method 'DeleteTestMethod' no longer shows when I resync the product
Given I am logged in as user '2dspecproductuser'
When I click on product 'Approve2DSpecProduct' on the products page
And I select 'Within' from the operator drop down
And I enter the following into the coordinates inputs:
Then I can see 'Specification: Within: (0.355,0.355), (0.305,0.305), (0.285,0.325), (0.335,0.375)' in the output spec summary
Given I am logged in as user 'ReceiveSampleUser'
Then I can see the message of 'Samples received successfully'
Given I am logged in as user 'EnterResultsUser'
And I enter '123' into the default input
Then I can see '123.0' in the output field
Given I am logged in as user 'SelectSpecUser'
And I enter 'SelectSpec' into the batch number
And I click submit and go to next step to submit job with batch 'SelectSpec'
Then I can see the specification 'Default specification' is already selected
Given I am logged in as user 'SelectNoSpecUser'
And I enter 'SelectNoSpec' into the batch number
And I click submit and go to next step to submit job with batch 'SelectNoSpec'
And I select spec 'No specification' from the drop down
Then I can see the spec for the sample has been updated
Given I am logged in as user 'clientFilterReceiveUser'
Given I have created the user 'spareReceiveUser'
And I submit a job with batchNo 'TestBatch123'
When I have navigated to the 'Receive samples' page
Given I am logged in as user 'Receivestockuser'
When I click on the 'Receive stock' menu item
And I click the receive stock button
And I populate the receive stock form with the following:
Then I can see the message of 'Stock received successfully'
Then I can see the following in the list of recently received:
Given I am logged in as user 'Submitstockuser'
And I populate the testing details form with the default product and test suite
And I can see the message of 'Job submitted successfully'
Then I click on the view sample link to be taken to the submitted sample for stock batch 'Sub976'
Then I can see the following details on the sample viewer:
Given I am logged in as user 'receivesamplestockuser'
And I receive the job with batch 'SubRec876'
And I click on the 'Receive stock' menu item
Given I am logged in as user 'approvesamplestockuser'
And I progress the submitted job with batch '<batch>' to approval with input value '<value>'
And I click on the <reportType> tab
And I upload template '<reportType>'
Then I can see the file showing in the <reportType> custom templates
Then I can see the <reportType> template downloads when I click on it
And I can no longer see the <reportType> when I click the context menu and delete it
And I upload an unsupported file
Then I can see the message of 'Invalid file type. Supported types: .docx, .odt'
Then I can see the template downloads when I click the download <reportType> template button
Given I am logged in as user 'EnterResultsAndExportUser2'
When I progress a job up to enter results with batchNo 'ResultsExport1' and spec 'Default specification'
And I click on the show summary and submit button
And I click on the submit button
And I can see the message of 'Test submitted successfully'
And I click on the 'Reporting' menu item
And I click on the 'Export results' menu item
And I click on the export results button
And I click the download button to download the export
Then I can see the following information in the export:
Given I am logged in as user 'EnterResultsAndExportUser'
When I progress a job up to verify with batchNo 'ResultsExport2' and input value '32.2' and spec 'Default specification'
And I click into the first input and enter '98.65'
Given I am logged in as user 'EnterResultsAndExportByJobIdUser'
When I progress a job up to verify with batchNo 'jobid' and input value '64.8' and spec 'Default specification'
When I click on the 'Reporting' menu item
And I enter the job id on the results exports page
Given I am logged in as user 'EnterResultsAndExportByDateUser'
When I progress a job up to verify with batchNo 'dateRange' and input value '0.67' and spec 'Default specification'
And I enter the date range '01/01/2023' to '' on the export results page
Given I am logged in as user 'CustomFieldExportUser'
Given I have set the first custom sample field as 'Custom sample field'
And I have set the first custom job field as 'Custom job field'
And I enter 'clientOverridejob' into the first custom job field title
When I progress a job up to verify with batchNo 'ResultsExport1' and input value '9' and spec 'Default specification'
And I can enter value 'JobResultsExport' into the custom field 'clientOverridejob'
And I can enter value 'Sample results export' into the custom field 'Custom sample field'
Given I am logged in as user 'ExportNoFilterUser'
Given I have created the user 'spareNoFilterUser'
And I have progressed a job up to verify with batchNo 'TestBatch123' and input value '5' and spec 'Default specification'
And I enter results of '9' for job
Then I can see the following information in line '1' of the export:
Then I can see the following information in line '2' of the export:
Given I am logged in as user 'ExportResultsWithRepeatsUser'
When I progress a job up to approval with batchNo 'TestBatch123' and input value '12.3' and 2 repeats
Then I can see 3 repeats in the export
Given I am logged in as user 'ResImportUser'
And I have created equipment item '<EquipmentItem>' and event called 'importevent'
When I progress a job up to enter results with batchNo 'resultimport' and spec 'Default specification'
When I update the file 'resultimport.<FileType>' with the correct sample id
And I click on the admin icon
And I click on the 'Administration' menu item
And I click on the results import configure button
And I click on '<EquipmentItem>'
And I select the filetype of '<FileType>'
And I enter the following in the column mapping:
And I click the add test method button
And I select the default test method from the drop down
And I select the default input from the input drop down
And I click the add input button
And I map the input to name 'mapinput'
And I can see the message of 'Mapping for <EquipmentItem> has been updated'
And I click on upload results
And I select the mapping configuration for equipment item '<EquipmentItem>'
And I upload the file 'resultimport.<FileType>'
And I click upload
Then I can see the successfull upload of the result
And I can see '65.000' in the output field
Given I am logged in as user 'DownloadSampleCertUser'
Given I have progressed a job through the lifecycle process with batchNo 'TestBatch123' and input value '123'
And I click the download sample certificate button
Then I can see the message of 'Sample certificate has been uploaded to the sample attachments'
Given I am logged in as user 'DownloadDraftSampleCertUser'
Given I have progressed a job up to approval with batchNo 'TestBatch123' and input value '123'
Given I am logged in as user 'PrintSampleCertUser'
And I click on the SampleCertificate tab
And I upload template 'AltCert'
And I upload template 'SamCert'
And I can see the message of 'Sample certificate has been uploaded to the sample attachments'
Given I am logged in as user 'SampleCertificateAttachmentUser'
Then I can see the sample certificate attachment showing here
Given I am logged in as user 'SampleCertAttachApproveSamplesUser'
When I progress a job up to approval with batchNo 'TestBatch123' and input value '7' and spec 'Default specification'
And I can see the message of 'Sample certificate has been downloaded from sample attachments'
Given I am logged in as user 'SampleCertificateReturnExistingUser'
Then I can see the message of 'Sample certificate has been downloaded from sample attachments'
Given I am logged in as user 'RegenSampleCertificateUser'
And I click the sample options button
And I click on regenerate sample certificate button
Given I am logged in as user 'DefaultSampleCertTemplateUser'
And I click on the 'setup' menu item
And I click on the report settings button
And I select a temple 'AltCert.docx' for the sample certificate template
And I can see the message of 'Report settings updated successfully'
Then I can see 'AltCert'
Then I click on the 'administration' menu item
Given I am logged in as user 'allsamplelabelsuser'
And I enter '3' into add samples and click ok
And I tick to download all sample labels
Then A file is downloaded when I click the receive button
Given I am logged in as user 'allsamplelabelsjobvieweruser'
Then a file is downloaded when I click the download all sample labels button
Given I am logged in as user 'EditExistingJobUser'
Given I have created a test method called 'EditExistingJobClientTestMethod'
And I have created an unlinked test method called 'EditExistingJobUnlinkedTestMethod'
And I have progressed a job up to enter results with batchNo 'EditExistingJob'
Then I can see 'EditExistingJobClientTestMethod'
Then I can see 'EditExistingJobUnlinkedTestMethod'
Given I am logged in as user 'UpdateDueDateUser'
Given I have progressed a job up to enter results with batchNo 'SampleDueDateTest'
And I click on the due date calendar
And I change the due date to the first of the next month
Then I can save
Given I am logged in as user 'SampleNavigationUser'
And I enter 'SampleNavigation' into the batch number
And I click the arrow symbol to go to the next sample
Then I can see I am viewing the second sample for the submitted job
Then The next sample arrow symbol is disabled
Given I am logged in as user 'DeleteTestExistingJobUser'
Given I have created a test method called 'DeleteTestTestMethod'
And I have progressed a job up to enter results with batchNo 'DeleteTestExistingJob'
And I click on 'DeleteTestTestMethod (v1)'
And I add 5 of these tests to the job
And I clik on the context menu for the test method 'DeleteTestTestMethod'
And I click on delete
And I can see the message of 'Test deleted successfully'
Then I See 4 repeats for test method 'DeleteTestTestMethod'
Then I can no longer see repeat 5 for test 'DeleteTestTestMethod'
Given I am logged in as user 'AddRepeatTestUser'
Given I have created a test method called 'RepeatTestMethod'
And I have progressed a job up to enter results with batchNo 'AddRepeatsJob'
And I click on 'RepeatTestMethod (v1)'
And I add 6 of these tests to the job
Then I See 6 repeats for test method 'RepeatTestMethod'
Given I am logged in as user 'localeChangeUser'
When I progress a job up to verify with batchNo 'localeChange' and input value '0.89' and spec 'Default specification'
When I click on the admin icon
And I click on the settings configure button
And I select US from the locale drop down
And I can see the message of 'Settings updated successfully'
Then I can see the submitted date in the US format
Given I am logged in as user 'GiveReasonTestInputUser'
When I click on the settings configure button
And I enable the require reason for change setting
And I have progressed a job up to verify with batchNo 'GiveReasonTestInput' and input value '2' and spec 'Default specification'
And I enter a reason for change of 'Change control Test'
Then I can see the 'first' input contains '9'
Given I am logged in as user 'EsigTestInputUser'
And I enable the require E-signatures setting
And I progress a job up to enter results with batchNo 'EsigTestInput' and spec 'Default specification'
Then I can see the password prompt appear
Then I can see 'Test submitted successfully' when I enter my password and click ok
Given I am logged in as user 'SkipVerificationUser'
And I enable the skip verification setting
And I enter '1' into the default input and submit the results
Then I can see the sample on the approve samples page
Given I am logged in as user 'IndependentVerificationUser'
And I enable the require independent verification setting
Then I am not able to tick the sample to verify the test results
Given I am logged in as user 'EnforcedMfaUser'
And I enable the enforce MFA setting
Then I can see MFA is set to email
Then I can see there is no option to turn off MFA
Given I am logged in as user 'emailOtpUser'
And I enter my credentials for user 'emailOtpUser'
Then I can see the OTP email request page
Given I am logged in as user 'CreateSpecUser'
When I click on product 'SpecProduct' on the products page
Then I can see test method 'SpecTestMethod1' and its output appear in the specification section
Given I am logged in as user 'UpdateSpecUser'
When I click on product 'UpdateSpecProduct' on the products page
And I click the save and publish product button
Then I can see the message of 'Product published successfully'
Then I click the edit product button
And I can see 'Specification: Between 1 and 5' in the output spec summary
When I click on product 'ApproveResultSpecProduct' on the products page
And I enter '<lower>' in the lower limit
And I enter '<upper>' in the upper limit
And I click the publish button for product 'ApproveResultSpecProduct'
And I progress a job up to approval with batchNo 'viewpassspecsresults' and input value '<input>' and spec 'Default specification'
And I navigate to the approve samples page for the job
Then I can see that the job meets the spec requirements on the approve samples page
Given I am logged in as user '2dspecfailuser'
When I click on product 'Fail2DSpecProduct' on the products page
And I click the publish button for product 'Fail2DSpecProduct'
And I progress a job up to enter results with batchNo '2dspecbat' and spec 'Default specification'
And I drop down the test method 'Fail2DSpecTestMethod1' on the enter results page
And I enter '0.284,0.324' into the default input
Then I can see the failed specification warning on the enter results page
Then I can see the limit details of 'Specification: Within (0.355,0.355), (0.305,0.305), (0.285,0.325), (0.335,0.375)' when I view the summary and hover the result
Given I am logged in as user '2dspecPassuser'
When I click on product 'Pass2DSpecProduct' on the products page
And I click the publish button for product 'Pass2DSpecProduct'
And I progress a job up to approval with batchNo 'pass2dspec' and input value '0.4000,0.4000' and spec 'Default specification'
Given I am logged in as user 'DefaultValueSpecUser'
When I click on product 'DefaultValueSpecProduct' on the products page
And I click the publish button for product 'DefaultValueSpecProduct'
And I progress a job up to approval with batchNo 'DefaultValueSpecBatch', default input value and spec 'Default specification'
Given I am logged in as user 'VerifyTestsSpecUser'
When I click on product 'VerifyTestsSpecProduct' on the products page
And I click the publish button for product 'VerifyTestsSpecProduct'
And I have progressed a job up to verify with batchNo 'verifyspecresults' and input value '6' and spec 'Default specification'
And I navigate to the verify tests page for the job
And I click to expand test 'VerifyTestsSpecTestMethod1' on the verify tests page
Then I can see that the test failed the spec requirements on the verify tests page
Then I can see the spec limits of 'Specification: Between 1 and 5' when I hover the result
Given I am logged in as user 'EnterResultsSpecUser'
When I click on product 'EnterResultsSpecProduct' on the products page
And I click the publish button for product 'EnterResultsSpecProduct'
And I progress a job up to enter results with batchNo 'TestBatch123' and spec 'Default specification'
And I drop down the test method 'EnterResultsSpecTestMethod1' on the enter results page
And I click into the first input and enter '5.5'
Then I can see the limit details of 'Specification: Between 1 and 5' when I view the summary and hover the result
Given I am logged in as user 'ApproveFailResultSpecUser'
When I click on product 'ApproveFailResultSpecProduct' on the products page
And I click the publish button for product 'ApproveFailResultSpecProduct'
And I progress a job up to approval with batchNo 'viewfailspecsresults' and input value '2.1' and spec 'Default specification'
Then I can see that the job failed the spec requirements with the message of '1 of 2 tests fail' on the approve samples page
Given I am logged in as user 'TestViewResultSpecUser'
When I click on product 'TestViewResultSpecProduct' on the products page
And I enter '0.0000002' in the lower limit
And I enter '0.0000003' in the upper limit
And I click the publish button for product 'TestViewResultSpecProduct'
And I progress a job up to approval with batchNo 'testviewspecsresults' and input value '0.000001' and spec 'Default specification'
And I view the test method 'TestViewResultSpecTestMethod1' on the sample details page
Then I can see the warning that the test does not match specification on the test viewer
Given I am logged in as user 'ChangeResultSpecUser'
When I click on product 'ChangeResultSpecProduct' on the products page
And I select 'Greater than' from the operator drop down
And I enter '2' in the lower limit
And I click the publish button for product 'ChangeResultSpecProduct'
And I have progressed a job up to verify with batchNo 'changespecresults' and input value '1' and spec 'Default specification'
And I view the test method 'ChangeResultSpecTestMethod1' on the sample details page
And I can see the warning that the test does not match specification on the test viewer
And I update the test result of the created job with an input value of '2.0000001'
Then I can see that the test has passed spec on the test viewer
Given I am logged in as user 'LifecycleSpecUser'
When I click on product 'LifecycleSpecProduct' on the products page
And I click the publish button for product 'LifecycleSpecProduct'
And I have progressed a job up to verify with batchNo 'deletestaticspecresults' and input value '1' and spec 'Default specification'
And I view the test method 'LifecycleSpecTestMethod1' on the sample details page
And I click on options and delete the test method 'LifecycleSpecTestMethod1'
And I can see the message of 'Deleting test method LifecycleSpecTestMethod1'
Given I am logged in as user 'RemoveOutputSpecUser'
And I have navigated to the 'Test methods' page
When I click on the edit test method button for test method 'RemoveOutputSpecTestMethod' on the test method page
When I click the create input button
And I name the input 'removeOutput'
And I set the type to 'numeric'
And I set create output on the input edit pop up to true
And I click publish test method to publish 'RemoveOutputSpecTestMethod'
And I can see the message of 'Test method published successfully'
And I navigate to the 'Products' page
And I click on product 'RemoveOutputSpecProduct' on the products page
And I can see test method 'RemoveOutputSpecTestMethod' outputs 'output-1', 'removeOutput' in the specification section
And I click the publish button for product 'RemoveOutputSpecProduct'
And I navigate to the 'Test methods' page
And I click on the edit test method button for test method 'RemoveOutputSpecTestMethod' on the test method page
And I click on output options for output '1'
And I click publish test method to publish 'Create Test Method'
Then I see a dialog containing the test method 'RemoveOutputSpecTestMethod' and output 'removeOutput'
Given I am logged in as user 'KeepSpecUser'
When I click on product 'KeepSpecProduct' on the products page
And I click the add warning button
And I enter '2' in the lower warning limit
And I enter '4' in the upper warning limit
And I click copy to new spec
And I name the spec 'newspec'
And I click the publish button for product 'KeepSpecProduct'
And I assign the test suite 'AutoTestSuite' to the product
Then I can see 'Specification: Between 1 and 5. Warning Limit: Between 2 and 4' in the output spec summary
Given I am logged in as user 'UpdateStringSpecUser'
And I have created a default list
When I click on product 'UpdateStringSpecProduct' on the products page
And I select default list for the specification from the drop down
And I select 'True' from the valid options drop down
And I can see 'Specification: Must be: True' in the output spec summary
Given I am logged in as user 'ApproveResultStringSpecUser'
When I click on product 'ApproveResultStringSpecProduct' on the products page
And I click the publish button for product 'ApproveResultStringSpecProduct'
And I progress a job up to approval with batchNo 'viewpassstringspecsresults' and input value 'True' and spec 'Default specification'
Given I am logged in as user 'ApproveFailResultStringSpecUser'
When I click on product 'ApproveFailResultStringSpecProduct' on the products page
And I click the publish button for product 'ApproveFailResultStringSpecProduct'
And I progress a job up to approval with batchNo 'viewfailstringspecsresults' and input value 'fail list item' and spec 'Default specification'
Given I am logged in as user 'MultiSpecUser'
When I click on product 'MultiSpecProduct' on the products page
And I enter '6' in the lower limit
And I enter '9' in the upper limit
And I click the output to expand the spec for spec 'newspec'
And I enter '1' in the target
And I click the publish button for product 'MultiSpecProduct'
And I progress a job up to approval with batchNo 'multispecjob' and input value '1' and spec 'newspec'
And I view the test method 'MultiSpecTestMethod1' on the sample details page
Given I am logged in as user 'ThreeSpecUser'
When I click on product 'ThreeSpecProduct' on the products page
And I name the spec 'newspec1'
And I click the output to expand the spec for spec 'newspec1'
And I name the spec 'newspec2'
And I click the output to expand the spec for spec 'newspec2'
And I click the publish button for product 'ThreeSpecProduct'
And I can see all test methods are present for spec 'newspec1'
And I can see all test methods are present for spec 'newspec2'
Given I am logged in as user 'DeleteSpecUser'
When I click on product 'DeleteSpecProduct' on the products page
And I name the spec 'deletedspec'
And I click the output to expand the spec for spec 'deletedspec'
And I click the publish button for product 'DeleteSpecProduct'
And I submit a job with batchNo 'Deletespecjob'
And I click delete spec
And I progress a submitted job up to approval with input value '1' and default spec
And I view the test method 'DeleteSpecTestMethod1' on the sample details page
Given I am logged in as user 'SwapSpecUser'
When I click on product 'SwapSpecProduct' on the products page
And I name the spec 'Swapspec'
And I click the output to expand the spec for spec 'Swapspec'
And I click the publish button for product 'SwapSpecProduct'
And I progress a job up to approval with batchNo 'Swapspecjob' and input value '1' and spec 'Default specification'
And I click on the specification field
And I select specification 'Swapspec'
And I click to save new specification
And I view the test method 'SwapSpecTestMethod1' on the sample details page
And I name the spec 'FailSpec'
And I click the output to expand the spec for spec 'FailSpec'
And I progress a job up to enter results with batchNo 'erspecjob' and spec 'FailSpec'
And I enter '2' into the default input
Then I can see the failed test and submit successfully
Given I am logged in as user 'TMOutputUser'
When I click on product 'TMOutputProduct' on the products page
And I click the publish button for product 'TMOutputProduct'
And I click on the edit test method button for test method 'TMOutputTestMethod1' on the test method page
And I click on input options for input '0'
And I click the edit input option
And I click publish test method to publish 'TMOutputTestMethod1'
And I click on product 'TMOutputProduct' on the products page
Then I see the operator drop down contains 'Between'
Given I am logged in as user 'createstockuser'
When I click on the 'Stock Items' menu item
And I click on the create stock item button
And I populate the stock item form with the following:
Then I can see the message of 'Stock item Solution created successfully'
Given I am logged in as user 'editstockuser'
And I can see the message of 'Stock item Spoon created successfully'
And I can see the message of 'Stock item Regulator updated successfully'
Then I can see the following stock item in the list:
Given I am logged in as user 'deletestockuser'
And I can see the message of 'Stock item Beaker created successfully'
And I click the stock item options for 'Beaker'
Then I can see the message of 'Stock item Beaker deleted successfully'
Then I cannot see the stock item 'Beaker' in the list
Given I am logged in as user 'CreateJobUser'
Then I can see the job details on the job viewer
Given I am logged in as user 'CancelJobUser'
And I enter 'AutoTestCancel' into the batch number
And I click the cancel job button
Then I can see the job creation was cancelled
Then I am on the submit job page with no draft jobs pending
Given I am logged in as user 'EditTestAtSubmitUser'
Given I have created a test method called 'EditTestsTestMethod'
And I click on edit tests on the create job page
And I copy across 'EditTestsTestMethod' from the available list
Then I can see 'Custom tests selected'
Given I am logged in as user 'EditRepeatTestAtSubmitUser'
Given I have created a test method called 'TestMethodRepeat'
And I copy across 'TestMethodRepeat' from the available list
And I enter '4' in the repeats for the default test method
And I click to copy down the repeats
Then I can see '4' in the repeats for ClientTestMethod
Given I am logged in as user 'CreateDraftJobUser'
And I enter 'AutoTestDraftJob' into the batch number
And I navigate to the 'Enter results' page
And I am on the enter results page
Then I can see the draft job that I created with batch no 'AutoTestDraftJob'
Then I can see the message of 'Select a product to view samples'
Given I am logged in as user 'CreateJobDetailsUser'
Then I can see the following details on the job viewer:
Given I am logged in as user 'SubmitNextStepUser'
Then I can see job with batch number 'AutoTest' on the receive samples page
Given I am logged in as user 'CorrectTMFilterUser'
Given I have created a test method called 'ClientTestMethod'
And I have created an unlinked test method called 'UnlinkedTestMethod'
Then I can see test method 'ClientTestMethod' when editing tests on the create job page
Then I can see test method 'UnlinkedTestMethod' when editing tests on the create job page
Given I am logged in as user 'clientSubmitUser'
Given I have created the user 'spareClientSubmitUser'
When I have navigated to the 'Submit job' page
Then I cannot see client 'clientSubmitFilterClient' in the client select box
Given The organisation subscription tier is set to 'Essentials'
Given I am logged in as user 'trendtier'
Then I am navigated to the labhq upgrade page when I click on 'Trend' menu item
Then I cannot manually navigate to the 'Trend' page
Given I am logged in as user 'oostier'
Then I am navigated to the labhq upgrade page when I click on 'oos results' menu item
Given I am logged in as user 'oostieruser'
Then I cannot manually navigate to the 'oos' page
And I have progressed a job up to approval with batchNo 'notrendlink' and input value '50.76'
When I navigate to the approve samples page for the job
Then The trend icon is disabled for the sample on the approve samples page
Given I am logged in as user 'investigationtier'
And I have progressed a job up to enter results with batchNo 'investigationaccess'
Then I can see the investigations tab is unavailable
Given I am logged in as user 'exportresultstier'
Then I am navigated to the labhq upgrade page when I click on 'Export results' menu item
Given I am logged in as user 'exporttieruser'
Then I cannot manually navigate to the 'Export results' page
Given I am logged in as user 'equipmenttier'
Then I am navigated to the labhq upgrade page when I click on 'equipment items' menu item
Then I am navigated to the labhq upgrade page when I click on 'maintenance' menu item
Given I am logged in as user 'stocktier'
Then I click on the 'Stock' menu item
Then I am navigated to the labhq upgrade page when I click on 'Inventory' menu item
Given I am logged in as user 'labelsettingstier'
Then I am navigated to the labhq upgrade page when I click on 'label settings' menu item
And I submit a job with batchNo 'labelbat'
Then I can see the download all sample labels button is unavailable
Then I view the first sample on the job
And I can see the download sample label button is unavailable
Given I am logged in as user 'customfieldtier'
Then I am navigated to the labhq upgrade page when I click on 'custom fields' menu item
Then I cannot manually navigate to the 'Custom fields' page
Given I am logged in as user 'reporttier'
Then I am navigated to the labhq upgrade page when I click on 'report settings' menu item
Then I cannot manually navigate to the 'Report settings' page
Given I am logged in as user 'manageworktieruser'
When I click on the 'resources' menu item
Then I am navigated to the labhq upgrade page when I click on 'manage work' menu item
Then I cannot manually navigate to the 'Manage work' page
Given I am logged in as user 'clienttieruser'
Then I can see the create client button is disabled
Given I am logged in as user 'essentialWidgetUser'
Then I can see the following widgets are showing the premium icon:
Given The organisation subscription tier is set to 'Growth'
Given I am logged in as user 'GrowthWidgetUser'
Given I am logged in as user 'essentialattachmentuser'
And I have progressed a job up to enter results with batchNo 'attachtier'
When I click on attachments
Then I cannot add new attachments
And I cannot add new attachments
Given I am logged in as user 'essentialproductattachmentuser'
Given I am logged in as user 'CreateTestMethodUser'
And I click the Create test method button
And I enter 'Create Test Method' in the name field
And I enter 'This is a note appearing on the workbook for this TM' in the workbook notes field
And I click the create input button
And I name the input 'Input 1'
Then I can see the message of 'Test method published successfully'
Then I click the edit test method button
And I can see the workbook notes field contains the text 'This is a note appearing on the workbook for this TM'
Given I am logged in as user 'ViewTestMethodUser'
Given I have created a test method called 'ViewTestMethod'
And I click on the edit test method button for test method 'ViewTestMethod' on the test method page
And I enter 'View test method workbook notes' in the workbook notes field
And I click on the test method 'ViewTestMethod' on the test method page
Then I can see test method 'ViewTestMethod' on the test method view page
Then The test method view details show workbook notes 'View test method workbook notes'
Given I am logged in as user '2dcoordinatetmuser'
And I enter '2D Input Coordinate' in the name field
And I name the input '2D Input'
And I set the type to 'coordinate'
And I add a default input value of '0.355, 0.385'
Then I can see the field type for input '0' is ' coordinate '
Given I am logged in as user 'DeleteTestMethodUser'
Given I have created a test method called 'DeleteTestMethod'
Then I can see the message of 'Test method deleted successfully'
Then I can see that the test method 'DeleteTestMethod' has been deleted
Given I am logged in as user 'methodsuiteuser'
When I click on the 'test methods' menu item
And I click on the default test method on the test method page
Given I am logged in as user 'methodproductuser'
And I click on the related products button
Then I can see the default product and test suite showing here
Then I can successfully navigate to the product edit page
Given I am logged in as user 'methodproductupdateuser'
And I remove the default test suite from the test method
And I can see the save button is enabled
Then I can see the message of 'No related Products.'
Given I am logged in as user 'SearchTestMethodUser'
Given I have created a test method called 'SearchTestMethod'
And I am on the test methods page
And I can see the message of 'No test methods found'
And I enter 'SearchTestMethod' into the search box
Then I can see test method 'SearchTestMethod' in the list
Given I am logged in as user 'FilterTestMethodUser'
Given I have created a test method called 'FilterTestMethod'
And I select 'Published' on the status filter
Then I can see test method 'FilterTestMethod' in the list
Given I am logged in as user 'EditTestMethodUser'
Given I have created a test method called 'EditTestMethod'
And I click on the edit test method button for test method 'EditTestMethod' on the test method page
And I enter 'newmethodname' in the name field
Then I can see test method 'newmethodname' in the list
Given I am logged in as user 'CloneTestMethodUser'
Given I have created a test method called 'CloneTestMethod'
And I click on options for the test method
And I enter 'newtestmethodname' into the test method clone pop up
Then I can see the text 'Edit newtestmethodname'
Then I can see my new copied test method
Given I am logged in as user 'CreateOutputUser'
Given I have created a test method called 'CreateOutputTestMethod'
And I click on the edit test method button for test method 'CreateOutputTestMethod' on the test method page
And I name the input 'createoutput'
Then I can see an output called 'createoutput'
Given I am logged in as user 'OutputCalculateUser'
And I click on the edit test method button for test method 'OutputCalcTestMethod' on the test method page
And I click on output options for output '0'
And I click the edit output option
And I set the decimals to 0
And I enter '$1*2.5' in the results calculation field
And I click on the test calculation button
Then I can see the raw calculated result showing as '2.5'
Then I can see the rounded calculated result showing as '3'
Given I am logged in as user 'DeleteAttachedTestMethodUser'
And I click on options and delete the test method 'AttachedTestMethod'
Then I can see a message advising me this will affect 'AttachedTestSuite'
Given I am logged in as user 'DeleteConflictTestMethodUser'
When I delete test method 'SecondConflictTestMethod'
And I click on options and delete the test method 'ConflictTestMethod'
Then I can see the message of 'Unable to delete ConflictTestMethod as it is the only test method on the following test suite:'
Then I can still see the test method 'ConflictTestMethod' when I click ok
Given I am logged in as user 'TestMethodVersionUser'
Given I have created a test method called 'VersionTestMethod'
And I click on the edit test method button for test method 'VersionTestMethod' on the test method page
And I name the input 'newinputversion'
And I click publish test method to publish 'VersionTestMethod'
Then I can see the test method version number is 'Published' '2'
Given I am logged in as user 'TestMethodDraftVersionUser'
Given I have created a test method called 'DraftVersionTestMethod'
And I click on the edit test method button for test method 'DraftVersionTestMethod' on the test method page
And I click to save test method 'DraftVersionTestMethod'
Then I can see the message of 'Test method updated successfully'
Then I can see the test method version number is 'Draft' '1.1'
Given I am logged in as user 'LifecycleVersionUser'
And I click publish test method to publish 'AutoTestMethod'
Then I can see product and test method are version '1'
Given I am logged in as user 'dusplicateoutputnameuser2'
Given I have created a test method called 'DuplicateOutputTestMethod'
And I click on the edit test method button for test method 'DuplicateOutputTestMethod' on the test method page
And I click the create output button
And I name the output 'outputname'
And I enter '$1' in the results calculation field
And I click publish test method to publish 'DuplicateOutputTestMethod'
And I click the edit test method button
Then I can see the message of 'Output names must be unique'
Given I am logged in as user 'inputoutputlimituser'
Given I have created a test method called 'atthelimit1' with '100' inputs and '100' outputs
And I click on the edit test method button for test method 'atthelimit1' on the test method page
Then I can see the create input button is disabled
Then I can see the create output button is disabled
Given I am logged in as user 'inputoutputlimituser2'
Given I have created a test method called 'atthelimit2' with '100' inputs and '100' outputs
And I click on the edit test method button for test method 'atthelimit2' on the test method page
Then I can see the clone button for input at index '0' is disabled
Then I can see the add matching output button for input at index '0' is disabled
Given I am logged in as user 'inputoutputlimituser3'
Given I have created a test method called 'atthelimit4' with '100' inputs and '100' outputs
And I click on the edit test method button for test method 'atthelimit4' on the test method page
Then I can see the clone button for output at index '0' is disabled
Given I am logged in as user 'inputoutputlimituser4'
Given I have created a test method called 'atthelimit5' with '99' inputs and '100' outputs
And I click on the edit test method button for test method 'atthelimit5' on the test method page
Then I can see the create matching output checkbox is disabled
Given I am logged in as user 'NeverPublishedTMUser'
And I enter 'unpublishedTM' in the name field
And I name the input 'UnpublishedTM'
And I can see the test method version number is 'Draft' '0.1'
And I click to save test method 'unpublishedTM'
And I can see the message of 'Test suites updated successfully'
And I can see the message of 'Related test suites updated successfully'
And I wait for the message 'Test suites updated successfully' to dissapear
And I wait for the message 'Related test suites updated successfully' to dissapear
And I click on the 'Test suites' menu item
And I click on the default test suite on the test suite page
And I click on the edit test suite button
Then I can see test method 'unpublishedTM' showing in the selected test methods section of the test suite
Given I am logged in as user 'PrePublishedTMUser'
Given I have created a test method called 'PrePublishedVersionTestMethod'
And I click on the edit test method button for test method 'PrePublishedVersionTestMethod' on the test method page
And I click to save test method 'PrePublishedVersionTestMethod'
Then I can see test method 'PrePublishedVersionTestMethod' showing in the selected test methods section of the test suite
And I can see a tick on the output show on report column
And I click to hide the output from reports
Then I can see a cross on the output show on report column
Given I am logged in as user 'ElectronicInputTestMethodUser'
Given I have created a test method called 'ElectronicTestMethod'
And I click on the edit test method button for test method 'ElectronicTestMethod' on the test method page
And I set the input to show on 'electronic'
Then I can see the input 'AutoInput-0' display on value is 'Electronic'
Given I am logged in as user 'WorkbookInputTestMethodUser'
Given I have created a test method called 'WorkbookTestMethod'
And I click on the edit test method button for test method 'WorkbookTestMethod' on the test method page
And I set the input to show on 'workbook'
Then I can see the input 'AutoInput-0' display on value is 'Workbook'
Given I am logged in as user 'AllInputTestMethodUser'
Given I have created a test method called 'AllTestMethod'
And I click on the edit test method button for test method 'AllTestMethod' on the test method page
And I set the input to show on 'all'
Then I can see the input 'AutoInput-0' display on value is 'All'
Given I am logged in as user 'TestMethodStockUser'
And I have created a test method called 'StockTestMethod'
And I click on the edit test method button for test method 'StockTestMethod' on the test method page
And I select stock item 'TMStock' from the dual list and a quantity of '12'
And I click to save test method 'TestMethodStockUser'
Then I can see the message of 'Stock items updated successfully'
Then I can see the test method version number is 'Published' '1'
Given I am logged in as user 'CreateTestSuiteUser'
And I click the Create test suite button
And I enter 'create test suite' in the name field
And I add the default test method to the test suite
Then I can see the message of 'Test suite created successfully'
Given I am logged in as user 'ViewTestSuiteUser'
And I click on test suite 'ViewSuiteTestSuite' on the test suite page
And I enter 'View suite description' into the description
And I can see the message of 'Test suite updated successfully'
Then I can see test suite 'ViewSuiteTestSuite' on the test suite view page
Then The test suite view details show description 'View suite description'
Given I am logged in as user 'suitemethoduser'
When I click on the 'test suites' menu item
And I click on the default test method on the selected list
Then I am on the test methods edit page
Then I can see the default test method
Given I am logged in as user 'SearchSuiteUser'
And I am on the test suites page
And I can see the message of 'No test suites found'
And I enter 'SearchTestSuite' into the search box
Then I can see test suite 'SearchTestSuite' in the list
Given I am logged in as user 'EditSuiteUser'
And I click on test suite 'EditTestSuite' on the test suite page
And I enter 'newsuitename' in the name field
Then I can see test suite 'newsuitename' in the list
Given I am logged in as user 'DeleteSuiteUser'
And I click on options and delete the test suite 'SuiteDeleteTestSuite'
And I can see the message of 'Deleting test suite SuiteDeleteTestSuite'
Then I can see a message advising me this will affect 'SuiteProduct'
Then I can see a message advising me this will affect 'SecondSuiteTestMethod'
And I can see a message advising me this will affect 'SuiteTestMethod'
And I can see that the test suite 'SuiteDeleteTestSuite' has been deleted
Given I am logged in as user 'Resultsvieweruser'
When I click on the 'Trend' menu item
And I select the default options from setup data on the trend report
Then I can see the trend data graph
Given I am logged in as user 'Nodatatrenduser'
Then I can see the message of 'No trend results have been found. Please refine your search and try again'
Given I am logged in as user 'approveresultstrenddatauser'
Given I have progressed a job up to approval with batchNo 'approveresultstrenddata' and input value '50.76'
When I click on the trend data button for the job on the approve samples page
Then I am on the trend report page
Then I can see the correct trend report selections from approve samples
Given I am logged in as user 'verifiedtrenduser'
Given I have progressed a job up to approval with batchNo 'verifiedtrendjobviewer' and input value '50.76'
When I search for the created job
Then The trend icon shows for the job on the approve samples page
Given I am logged in as user 'testsummarytrenddatauser'
Given I have progressed a job through the lifecycle process with batchNo 'testsummarytrenddata' and input value '50.76'
And I click on the default test method by name
And I click on the trend data button on the test summary page
Then I can see the correct trend report selections from test summary
Given I am logged in as user 'resultsenteredtrenduser'
When I progress a job up to verify with batchNo 'resultsenteredtrend' and input value '50.76' and spec ''
Then The trend icon shows on the job
Given I am logged in as user 'importdatauser'
When I navigate to the 'administration' page
When I click on import
And I choose a csv file to upload
And I click to start import
Then I can see the message of 'File has uploaded successfully'
Given I am logged in as user 'usagetrackstockuser'
And I click on the 'Usage tracking' menu item
Then I can see the following usage tracking showing here:
Given I am logged in as user 'UTStockUser'
And I have progressed a job up to enter results with batchNo 'UTStock'
And I click on the edit test method button for test method 'UTSTockTM' on the test method page
And I select stock item 'UTStock' from the dual list and a quantity of '15'
And I click to save test method 'UTSTockTM'
And I choose stock batch 'UT987' for stock item 'UTStock'
Given I am logged in as user 'ERStockFilterUser'
And I have progressed a job up to enter results with batchNo 'ERStockFilterBatch'
And I click on the edit test method button for test method 'ERStockFilterTM' on the test method page
And I select stock item 'ERStockFilterItem' from the dual list and a quantity of '10'
And I click to save test method 'ERStockFilterTM'
Then I can see stock batch 'ERAPPROVED' available for selection for stock item 'ERStockFilterItem'
Then I cannot see stock batch 'ERNOTAPPROVED' available for selection for stock item 'ERStockFilterItem'
And I cannot see stock batch 'EREXPIRED' available for selection for stock item 'ERStockFilterItem'
When I choose stock batch 'ERAPPROVED' for stock item 'ERStockFilterItem'
When I enter a quantity of '10'
Then I can see the message of 'Current Usage: 10 / 10 g'
Given I have created the user 'SettingsPermissionUser'
Given I am logged in as user 'SettingsPermissionRemoveUser'
And I search for user 'SettingsPermissionUser'
And I click on user account 'SettingsPermissionUser'
And I select user from the account type drop down
And I select all permissions
And I remove 'settings manage' permission
And I can see the message of 'User updated successfully'
And I enter my credentials to log in to user 'SettingsPermissionUser'
Then I can see the organisation configure button
Then I cannot see the settings configure button
And I cannot manually navigate to the 'Settings' page
Given I have created the user 'OrgPermissionUser'
Given I am logged in as user 'OrgPermissionUserRM'
And I search for user 'OrgPermissionUser'
And I click on user account 'OrgPermissionUser'
And I remove 'organisation view' permission
And I remove 'organisation manage' permission
And I enter my credentials to log in to user 'OrgPermissionUser'
Then I can see the report settings configure button
Then I can see the 'Report settings' menu item
And I cannot see the 'Organisation' menu item
And I cannot see the organisation configure button
And I cannot manually navigate to the 'Organisation' page
Given I have created the user 'labelsettingpermissionsuser'
Given I am logged in as user 'labelsettingpermissionsuserRM'
And I search for user 'labelsettingpermissionsuser'
And I click on user account 'labelsettingpermissionsuser'
And I remove 'label settings' permission
And I enter my credentials to log in to user 'labelsettingpermissionsuser'
Then I can see the 'Organization' menu item
And I cannot see the 'label settings' menu item
And I cannot see the label settings configure button
And I cannot manually navigate to the 'label settings' page
Given I have created the user 'customfieldspermissionsuser'
Given I am logged in as user 'customfieldspermissionsuserRM'
And I search for user 'customfieldspermissionsuser'
And I click on user account 'customfieldspermissionsuser'
And I remove 'custom fields manage' permission
And I enter my credentials to log in to user 'customfieldspermissionsuser'
Then I can see the 'Lists' menu item
Then I cannot see the 'Custom fields' menu item
And I cannot manually navigate to the 'Custom fields' page
Given I have created the user 'reportsettingpermissionsuser'
Given I am logged in as user 'reportsettingpermissionsuserRM'
And I search for user 'reportsettingpermissionsuser'
And I click on user account 'reportsettingpermissionsuser'
And I remove 'report settings' permission
And I enter my credentials to log in to user 'reportsettingpermissionsuser'
And I cannot see the 'report settings' menu item
And I cannot see the report settings configure button
And I cannot manually navigate to the 'Report settings' page
Given I have created the user 'ListPermissionUser'
Given I am logged in as user 'ListPermissionUserRM'
And I search for user 'ListPermissionUser'
And I click on user account 'ListPermissionUser'
And I remove 'lists manage' permission
And I enter my credentials to log in to user 'ListPermissionUser'
Then I can see the 'Custom fields' menu item
Then I cannot see the 'List' menu item
And I cannot manually navigate to the 'Lists' page
Given I have created the user 'AuditPermissionUser'
Given I am logged in as user 'AuditPermissionUserrm'
And I search for user 'AuditPermissionUser'
And I click on user account 'AuditPermissionUser'
And I remove 'audit view' permission
And I enter my credentials to log in to user 'AuditPermissionUser'
Then I can see the 'submit job' menu item
Then I cannot see the 'audit' menu item
And I cannot manually navigate to the 'Audit' page
Given I have created the user 'ClientsPermissionUser'
Given I am logged in as user 'ClientsPermissionUserrm'
And I search for user 'ClientsPermissionUser'
And I click on user account 'ClientsPermissionUser'
And I remove 'clients view' permission
And I enter my credentials to log in to user 'ClientsPermissionUser'
Then I can see the 'test methods' menu item
Then I cannot see the 'Clients' menu item
And I cannot manually navigate to the 'Clients' page
Given I have created the user 'TestMethodsPermissionUser'
Given I am logged in as user 'TestMethodsPermissionUserrm'
And I search for user 'TestMethodsPermissionUser'
And I click on user account 'TestMethodsPermissionUser'
And I remove 'setup data view' permission
And I enter my credentials to log in to user 'TestMethodsPermissionUser'
Then I can see the 'clients' menu item
Then I cannot see the 'test methods' menu item
And I cannot see the 'test suites' menu item
And I cannot see the 'products' menu item
And I cannot manually navigate to the 'Test methods' page
And I cannot manually navigate to the 'Test suites' page
And I cannot manually navigate to the 'Products' page
Given I have created the user 'SubmitPermissionUser'
Given I am logged in as user 'SubmitPermissionUserrm'
And I search for user 'SubmitPermissionUser'
And I click on user account 'SubmitPermissionUser'
And I remove 'lifecycle submit' permission
And I enter my credentials to log in to user 'SubmitPermissionUser'
Then I can see the 'receive samples' menu item
Then I cannot see the 'submit job' menu item
And I cannot manually navigate to the 'Submit job' page
Given I have created the user 'ReceivePermissionUser'
Given I am logged in as user 'ReceivePermissionUserrm'
And I search for user 'ReceivePermissionUser'
And I click on user account 'ReceivePermissionUser'
And I remove 'lifecycle receive' permission
And I enter my credentials to log in to user 'ReceivePermissionUser'
Then I cannot see the 'receive samples' menu item
And I cannot manually navigate to the 'Receive samples' page
Given I have created the user 'ManageWorkPermissionUser'
Given I am logged in as user 'ManageWorkPermissionUserrm'
And I search for user 'ManageWorkPermissionUser'
And I click on user account 'ManageWorkPermissionUser'
And I remove 'resources manage work' permission
And I enter my credentials to log in to user 'ManageWorkPermissionUser'
Then I cannot see the 'Resources' menu item
And I cannot see the 'manage work' menu item
And I cannot manually navigate to the 'Manage work' page
Given I have created the user 'DLWorkPermissionUser'
Given I am logged in as user 'DLWorkPermissionUserrm'
And I add the default client to both users
And I have progressed a job up to enter results with batchNo 'DownloadWorkbook'
And I search for user 'DLWorkPermissionUser'
And I click on user account 'DLWorkPermissionUser'
And I remove 'resources download workbook' permission
And I enter my credentials to log in to user 'DLWorkPermissionUser'
Then I cannot see the download workbook button
Given I have created the user 'DLViewWorkPermissionUser'
Given I am logged in as user 'DLViewWorkPermissionUserrm'
And I search for user 'DLViewWorkPermissionUser'
And I click on user account 'DLViewWorkPermissionUser'
And I enter my credentials to log in to user 'DLViewWorkPermissionUser'
And I cannot see the re-download workbook button
Given I have created the user 'EnterResultsPermissionUser'
Given I am logged in as user 'EnterResultsPermissionUserrm'
And I search for user 'EnterResultsPermissionUser'
And I click on user account 'EnterResultsPermissionUser'
And I remove 'lifecycle results' permission
And I enter my credentials to log in to user 'EnterResultsPermissionUser'
Then I cannot see the 'enter results' menu item
And I cannot manually navigate to the 'Enter results' page
Given I have created the user 'VerifyPermissionUser'
Given I am logged in as user 'VerifyPermissionUserrm'
And I search for user 'VerifyPermissionUser'
And I click on user account 'VerifyPermissionUser'
And I remove 'lifecycle verify' permission
And I enter my credentials to log in to user 'VerifyPermissionUser'
Then I can see the 'enter results' menu item
Then I cannot see the 'verify tests' menu item
And I cannot manually navigate to the 'Verify tests' page
Given I have created the user 'ApprovePermissionUser'
Given I am logged in as user 'ApprovePermissionUserrm'
And I search for user 'ApprovePermissionUser'
And I click on user account 'ApprovePermissionUser'
And I remove 'lifecycle approve' permission
And I enter my credentials to log in to user 'ApprovePermissionUser'
Then I can see the 'verify tests' menu item
Then I cannot see the 'approve samples' menu item
And I cannot manually navigate to the 'Approve samples' page
Given I have created the user 'TrendViewerPermissionsUser'
Given I am logged in as user 'TrendViewerPermissionsUserrm'
And I search for user 'TrendViewerPermissionsUser'
And I click on user account 'TrendViewerPermissionsUser'
And I remove 'analytics trend' permission
And I enter my credentials to log in to user 'TrendViewerPermissionsUser'
Then I cannot see the 'Trend' menu item
Given I have created the user 'OOSResultsPermissionsUser'
Given I am logged in as user 'OOSResultsPermissionsUserrm'
And I search for user 'OOSResultsPermissionsUser'
And I click on user account 'OOSResultsPermissionsUser'
And I remove 'analytics oos results' permission
And I enter my credentials to log in to user 'OOSResultsPermissionsUser'
Then I cannot see the 'OOS Results' menu item
Then I cannot manually navigate to the 'OOS' page
Given I have created the user 'TrendSampleViewerPermissionsUser'
Given I am logged in as user 'TrendSampleViewerPermissionsUserrm'
And I have progressed a job up to approval with batchNo 'batch' and input value '50.76'
And I search for user 'TrendSampleViewerPermissionsUser'
And I click on user account 'TrendSampleViewerPermissionsUser'
And I enter my credentials to log in to user 'TrendSampleViewerPermissionsUser'
Then The trend icon does not show for the job on the approve samples page
Given I have created the user 'TrendJobViewerPermissionsUser'
Given I am logged in as user 'TrendJobViewerPermissionsUserrm'
And I have progressed a job through the lifecycle process with batchNo 'batch' and input value '50.76'
And I search for user 'TrendJobViewerPermissionsUser'
And I click on user account 'TrendJobViewerPermissionsUser'
And I enter my credentials to log in to user 'TrendJobViewerPermissionsUser'
Then The trend icon does not show on the job
Given I have created the user 'EditTestsSubmitPermissionsUser'
Given I am logged in as user 'EditTestsSubmitPermissionsUserrm'
And I search for user 'EditTestsSubmitPermissionsUser'
And I click on user account 'EditTestsSubmitPermissionsUser'
And I remove 'samples add tests' permission
And I enter my credentials to log in to user 'EditTestsSubmitPermissionsUser'
And I enter 'EditJobTests' into the batch number
Then I cannot see the edit tests icon on the create job page
Given I have created the user 'EditTestsJobPermissionsUser'
Given I am logged in as user 'EditTestsJobPermissionsUserrm'
And I have progressed a job through the lifecycle process with batchNo 'batch' and input value '0.009'
And I search for user 'EditTestsJobPermissionsUser'
And I click on user account 'EditTestsJobPermissionsUser'
And I enter my credentials to log in to user 'EditTestsJobPermissionsUser'
Then I cannot see the edit tests button on the job
Given I have created the user 'LabelDownloadPermissionsUser'
Given I am logged in as user 'LabelDownloadPermissionsUserrm'
And I have progressed a job up to enter results with batchNo 'label'
And I search for user 'LabelDownloadPermissionsUser'
And I click on user account 'LabelDownloadPermissionsUser'
And I remove 'samples label' permission
And I enter my credentials to log in to user 'LabelDownloadPermissionsUser'
Then I cannot see the label button on the sample
Given I have created the user 'ExportResultPermissionsUser'
Given I am logged in as user 'ExportResultPermissionsUserrm'
And I search for user 'ExportResultPermissionsUser'
And I click on user account 'ExportResultPermissionsUser'
And I remove 'results export' permission
And I enter my credentials to log in to user 'ExportResultPermissionsUser'
Then I cannot see the 'Export results' menu item
Given I have created the user 'CompanyAddressPermissionsUser'
Given I am logged in as user 'CompanyAddressPermissionsUserrm'
And I search for user 'CompanyAddressPermissionsUser'
And I click on user account 'CompanyAddressPermissionsUser'
And I enter my credentials to log in to user 'CompanyAddressPermissionsUser'
And I click on the 'Organization' menu item
Then I cannot see the edit address fields
Given I have created the user 'ResultsImportPermissionsUser'
Given I am logged in as user 'ResultsImportPermissionsUserrm'
And I search for user 'ResultsImportPermissionsUser'
And I click on user account 'ResultsImportPermissionsUser'
And I remove 'reports import' permission
And I enter my credentials to log in to user 'ResultsImportPermissionsUser'
Then I cannot see the import results data menu item
Given I have created the user 'SampleSpecPermissionsUser'
Given I am logged in as user 'SampleSpecPermissionsUserrm'
And I have progressed a job up to enter results with batchNo 'spec'
And I search for user 'SampleSpecPermissionsUser'
And I click on user account 'SampleSpecPermissionsUser'
And I remove 'sample spec' permission
And I enter my credentials to log in to user 'SampleSpecPermissionsUser'
Then I cannot change the spec on the sample
Given I have created the user 'DeleteSamplePermissionsUser'
Given I am logged in as user 'DeleteSamplePermissionsUserrm'
And I search for user 'DeleteSamplePermissionsUser'
And I click on user account 'DeleteSamplePermissionsUser'
And I remove 'samples delete' permission
And I enter my credentials to log in to user 'DeleteSamplePermissionsUser'
And I click on the sample options button
Then I cannot see the delete option
Given I have created the user 'EditSamplePermissionsUser'
Given I am logged in as user 'EditSamplePermissionsUserrm'
And I search for user 'EditSamplePermissionsUser'
And I click on user account 'EditSamplePermissionsUser'
And I remove 'samples edit' permission
And I enter my credentials to log in to user 'EditSamplePermissionsUser'
Then I can see that the sample details fields are not editable
Given I have created the user 'AddSamplePermissionsUser'
Given I am logged in as user 'AddSamplePermissionsUserem'
And I search for user 'AddSamplePermissionsUser'
And I click on user account 'AddSamplePermissionsUser'
And I remove 'jobs add samples' permission
And I enter my credentials to log in to user 'AddSamplePermissionsUser'
Then I cannot see the add sample button
Given I have created the user 'DeleteJobPermissionsUser'
Given I am logged in as user 'DeleteJobPermissionsUserrm'
And I search for user 'DeleteJobPermissionsUser'
And I click on user account 'DeleteJobPermissionsUser'
And I remove 'jobs delete' permission
And I enter my credentials to log in to user 'DeleteJobPermissionsUser'
Given I have created the user 'EditJobPermissionsUser'
Given I am logged in as user 'EditJobPermissionsUserrm'
And I search for user 'EditJobPermissionsUser'
And I click on user account 'EditJobPermissionsUser'
And I remove 'jobs edit' permission
And I enter my credentials to log in to user 'EditJobPermissionsUser'
Then I can see that the job details fields are not editable
Given I have created the user 'RevertApprovalPermissionsUser'
Given I am logged in as user 'RevertApprovalPermissionsUserrm'
And I have progressed a job through the lifecycle process with batchNo 'appproved' and input value '1'
And I search for user 'RevertApprovalPermissionsUser'
And I click on user account 'RevertApprovalPermissionsUser'
And I remove 'lifecycle revert approval' permission
And I enter my credentials to log in to user 'RevertApprovalPermissionsUser'
Then I cannot see the revert approval option
Given I have created the user 'RevertVerificationPermissionsUser'
Given I am logged in as user 'RevertVerificationPermissionsUserrm'
And I have progressed a job up to approval with batchNo 'verified' and input value '2'
And I search for user 'RevertVerificationPermissionsUser'
And I click on user account 'RevertVerificationPermissionsUser'
And I remove 'lifecycle revert verification' permission
And I enter my credentials to log in to user 'RevertVerificationPermissionsUser'
And I click on options for the test method on the sample viewer
Then I cannot see the revert verification option
Given I have created the user 'DeleteSetupPermissionsUser'
Given I am logged in as user 'DeleteSetupPermissionsUserrm'
And I search for user 'DeleteSetupPermissionsUser'
And I click on user account 'DeleteSetupPermissionsUser'
And I remove 'setup data delete' permission
And I enter my credentials to log in to user 'DeleteSetupPermissionsUser'
Given I have created the user 'PublishSetupPermissionsUser'
Given I am logged in as user 'PublishSetupPermissionsUserrm'
And I search for user 'PublishSetupPermissionsUser'
And I click on user account 'PublishSetupPermissionsUser'
And I remove 'setup data publish' permission
And I enter my credentials to log in to user 'PublishSetupPermissionsUser'
And I enter 'publishTM' in the name field
And I name the input 'createtminput'
Then I can see the publish button is disabled
Given I have created the user 'ArchiveUserPermissionsUser'
Given I am logged in as user 'ArchiveUserPermissionsUserrm'
And I search for user 'ArchiveUserPermissionsUser'
And I click on user account 'ArchiveUserPermissionsUser'
And I remove 'user accounts archive' permission
And I enter my credentials to log in to user 'ArchiveUserPermissionsUser'
And I click on the 'User accounts' menu item
And I click on options for user 'archiveuserpermissionsuserrm'
Then I cannot see the archive option
Given I have created the user 'ViewUserPermissionsUser'
Given I am logged in as user 'ViewUserPermissionsUserrm'
And I search for user 'ViewUserPermissionsUser'
And I click on user account 'ViewUserPermissionsUser'
And I remove 'user accounts manage' permission
And I enter my credentials to log in to user 'ViewUserPermissionsUser'
Then I cannot see the user accounts configure button
And I cannot see the 'user accounts' menu item
And I cannot manually navigate to the 'User accounts' page
Given I have created the user 'SampleAAttachmentsPermissionsUser'
Given I am logged in as user 'SampleAAttachmentsPermissionsUserrm'
And I search for user 'SampleAAttachmentsPermissionsUser'
And I click on user account 'SampleAAttachmentsPermissionsUser'
And I remove 'samples add attachments' permission
And I enter my credentials to log in to user 'SampleAAttachmentsPermissionsUser'
Given I have created the user 'SampleDAttachmentsPermissionsUser'
Given I am logged in as user 'SampleDAttachmentsPermissionsUserrm'
And I search for user 'SampleDAttachmentsPermissionsUser'
And I click on user account 'SampleDAttachmentsPermissionsUser'
And I remove 'samples delete attachments' permission
And I enter my credentials to log in to user 'SampleDAttachmentsPermissionsUser'
Then I cannot see the option to delete the attachment
Given I have created the user 'JobAAttachmentsPermissionsUser'
Given I am logged in as user 'JobAAttachmentsPermissionsUserrm'
And I search for user 'JobAAttachmentsPermissionsUser'
And I click on user account 'JobAAttachmentsPermissionsUser'
And I remove 'jobs add attachments' permission
And I enter my credentials to log in to user 'JobAAttachmentsPermissionsUser'
Given I have created the user 'JobDAttachmentsPermissionsUser'
Given I am logged in as user 'JobDAttachmentsPermissionsUserrm'
And I search for user 'JobDAttachmentsPermissionsUser'
And I click on user account 'JobDAttachmentsPermissionsUser'
And I remove 'jobs delete attachments' permission
And I enter my credentials to log in to user 'JobDAttachmentsPermissionsUser'
Given I have created the user 'InvestigationPermissionsUser'
Given I am logged in as user 'InvestigationPermissionsUserrm'
And I search for user 'InvestigationPermissionsUser'
And I click on user account 'InvestigationPermissionsUser'
And I remove 'samples investigations' permission
And I enter my credentials to log in to user 'InvestigationPermissionsUser'
Then I cannot see the start investigation button
Given I have created the user 'RegenerateSamplePermissionsUser'
Given I am logged in as user 'RegenerateSamplePermissionsUserrm'
And I have progressed a job through the lifecycle process with batchNo '123' and input value '123'
And I search for user 'RegenerateSamplePermissionsUser'
And I click on user account 'RegenerateSamplePermissionsUser'
And I remove 'samples regenerate cert' permission
And I enter my credentials to log in to user 'RegenerateSamplePermissionsUser'
Then I cannot see the regenerate sample certificate button
Given I have created the user 'RegenerateJobPermissionsUser'
Given I am logged in as user 'RegenerateJobPermissionsUserrm'
And I search for user 'RegenerateJobPermissionsUser'
And I click on user account 'RegenerateJobPermissionsUser'
And I remove 'job regenerate cert' permission
And I enter my credentials to log in to user 'RegenerateJobPermissionsUser'
Given I have created the user 'EquipmentPermissionUser'
Given I am logged in as user 'EquipmentPermissionUserrm'
And I search for user 'EquipmentPermissionUser'
And I click on user account 'EquipmentPermissionUser'
And I remove 'equipment items manage' permission
And I enter my credentials to log in to user 'EquipmentPermissionUser'
And I click on the 'Equipment' menu item
Then I can see the 'Maintenance' menu item
Then I cannot see the 'Equipment Items' menu item
And I cannot manually navigate to the 'Equipment items' page
Given I have created the user 'EquipmentMainPermissionUser'
Given I am logged in as user 'EquipmentMainPermissionUserrm'
And I search for user 'EquipmentMainPermissionUser'
And I click on user account 'EquipmentMainPermissionUser'
And I remove 'equipment maintenance manage' permission
And I enter my credentials to log in to user 'EquipmentMainPermissionUser'
Then I can see the 'Equipment Items' menu item
Then I cannot see the 'Maintenance' menu item
And I cannot manually navigate to the 'Equipment Maintenance' page
Given I have created the user 'resultsimportpermissionsuser'
Given I am logged in as user 'resultsimportpermissionsuserRM'
And I search for user 'resultsimportpermissionsuser'
And I click on user account 'resultsimportpermissionsuser'
And I remove 'results import configuration manage' permission
And I enter my credentials to log in to user 'resultsimportpermissionsuser'
And I cannot see the results import configure button
And I cannot manually navigate to the 'results import configuration' page
Given I am logged in as user 'bslAdminRoleUser'
And I click on the create user account button
Then I can see 'User' and 'Administrator' account types but not 'BSL Admin' in the drop down
Given I have created the user 'disablethisuser'
Given I am logged in as user 'disableaccountuser'
And I search for user 'disablethisuser'
And I click on options for user 'disablethisuser'
Then I can see the message of 'disablethisuser has been disabled'
And I can see that the user 'disablethisuser' shows as disabled
Given I have created the user 'archivethisuser'
Given I am logged in as user 'archiveaccountuser'
And I click on options for user 'archivethisuser'
And I click on archive account
And I can see the message of 'archivethisuser has been archived'
And I click on show archived accounts tick box
Then I can see that the user 'archivethisuser' shows as disabled
Then I can see that the user 'archivethisuser' shows as archived
Given I have created the user 'editthisuser'
Given I am logged in as user 'editaccountuser'
And I search for user 'editthisuser'
And I click on user account 'editthisuser'
And I enter 'John' into the first name field
And I enter 'Smith' into the last name field
Then I can see the name for account 'editthisuser' shows as 'John Smith'
Given I am logged in as user 'OnlyOrgUser'
Then I cannot see the BSL admin default user
Given I am logged in as user 'verifyTestsUser'
When I have progressed a job up to verify with batchNo 'verify' and input value '40' and spec 'Default specification'
When I click on the 'Verify tests' menu item
Then I tick then verify the results
Then I can see the message of 'Test verified successfully'
Given I am logged in as user 'VerifyUser'
Given I am logged in as user 'clientFilterVerifyUser'
Given I have progressed a job up to verify with batchNo 'TestBatch123' and input value '5' and spec 'Default specification'
And I have created the user 'spareVerifyUser'
And I have navigated to the 'Verify tests' page
Given I am logged in as user 'UpdateWarnUser'
When I click on product 'UpdateWarnProduct' on the products page
And I can see 'Specification: Between 1 and 5. Warning Limit: Between 2 and 4' in the output spec summary
Given I am logged in as user 'ApproveFailResultSpecUser2'
And I enter '0.00000022' in the lower warning limit
And I enter '0.00000025' in the upper warning limit
And I progress a job up to approval with batchNo 'viewfailspecsresults' and input value '0.00000026' and spec 'Default specification'
Then I can see that the job failed the warning requirements with the message of 'Pass (1 of 2 tests outside of warning limit)' on the approve samples page
Given I am logged in as user 'EnterResultsWarnUser'
When I click on product 'EnterResultsWarnProduct' on the products page
And I click the publish button for product 'EnterResultsWarnProduct'
And I progress a job up to enter results with batchNo 'batch' and spec 'Default specification'
And I drop down the test method 'EnterResultsWarnTestMethod1' on the enter results page
And I click into the first input and enter '5'
Then I can see the warning limit on the enter results page
Then I can see the limit details of 'Warning limit: Between 2 and 4' when I view the summary and hover the result
Given I am logged in as user 'VerifyTestsWarnUser'
When I click on product 'VerifyTestsWarnProduct' on the products page
And I click the publish button for product 'VerifyTestsWarnProduct'
And I have progressed a job up to verify with batchNo 'verifyWarnresults' and input value '5' and spec 'Default specification'
And I click to expand test 'VerifyTestsWarnTestMethod1' on the verify tests page
Then I can see that the test hit the warning limit on the verify tests page
Given I am logged in as user 'TestViewResultSpecUser3'
And I progress a job up to approval with batchNo 'testviewspecsresults' and input value '0.00000026' and spec 'Default specification'
Then I can see the warning that the test does not match warning limit on the test viewer
Given I am logged in as user 'TestViewResultWarnDiffUser'
When I click on product 'TestViewResultWarnDiffProduct' on the products page
And I enter '-7' in the lower limit
And I enter '-1' in the upper limit
And I select 'Less than' from the warning operator the drop down
And I enter '-4' in the upper warning limit
And I click the publish button for product 'TestViewResultWarnDiffProduct'
And I progress a job up to approval with batchNo 'testviewWarndiffresults' and input value '-3' and spec 'Default specification'
And I view the test method 'TestViewResultWarnDiffTestMethod1' on the sample details page
Given I am logged in as user 'warnnospecUser'
When I click on product 'warnnospecProduct' on the products page
And I select 'Greater than' from the warning operator the drop down
And I select 'Between' from the warning operator the drop down
And I enter '1.654' in the lower warning limit
And I enter '2.9065' in the upper warning limit
And I click the publish button for product 'warnnospecProduct'
And I progress a job up to approval with batchNo 'warnnospecresults' and input value '2.9066' and spec 'Default specification'
And I view the test method 'warnnospecTestMethod1' on the sample details page
Given I am logged in as user 'ChangeResultSpecWarnUser'
When I click on product 'ChangeResultSpecWarnProduct' on the products page
And I select 'Greater than or equal to' from the operator drop down
And I enter '4' in the lower warning limit
And I click the publish button for product 'ChangeResultSpecWarnProduct'
And I have progressed a job up to verify with batchNo 'changespecwarnresults' and input value '1' and spec 'Default specification'
And I view the test method 'ChangeResultSpecWarnTestMethod1' on the sample details page
And I update the test result of the created job with an input value of '3'