LabHQ Automated Test Run
Generated Thu 3 Dec 2026 01:50:19 GMT+0
Overview
📂 LabHQ Automated Test Run
📂 Features
📂 Regression
📂 Administration
Administration data permissions
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 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
Shared stock item details do not require Inventory or Receive Stock
AdvancedTrial
Creating an organisation starts and persists the default Advanced trial
An overdue trial awaiting automation shows that Advanced access is ending shortly
Trial account management respects the two user limit and archived places
Converting Free Advanced to Paid Advanced releases the trial user limit
An expired trial remains usable on Essentials and can recover Advanced data after purchase
Date-only values
Timezone extremes do not shift date on inputs for stock, sample viewer and audit
DST boundary timezones do not shift date-only values
Job custom fields
I can create a custom job field
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
I can set a client specific custom job field and see this on a job
Job data permissions
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 add job attachments without correct permission
I cannot delete job attachments without correct permission
LabelSettings
I can update the label settings and save the changes
I can update the label settings and then revert these to default
I can review the available sample label presets
I can apply a sample label preset and review it in advanced settings
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
Organisation MFA settings
I cannot turn off MFA if my organisation requires it
I receive an emailed OTP if my organisation enables forced MFA
Organisation timezone settings
I can change my date locale and see this update the format on LabHQ
Organisation timezone controls header date and organisation-based default date inputs
Locale and timezone are applied together for date formatting
Audit event timestamps follow organisation timezone while date-only fields remain unchanged
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
Sample custom fields
I can create a custom sample field
I can use a custom sample field on a sample
Changing a custom sample field does not change it on an existing sample
I can set a client specific custom sample field and see this on a sample
Sample data permissions
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 revert approval without correct permission
I cannot revert verification without correct permission
I cannot add sample attachments without correct permission
I cannot delete sample attachments without correct permission
I cannot start an investigation without the correct permission
Settings
I am prompted to give a reason for change in order to change a submitted test input
I am prompted to enter my password for submitting a result if require e-sig is enabled
Settings default to weekday working days and independent verification off
Certificate DOCX output is disabled by default and can be 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
An administrator controls MCP access for their own organisation
An administrator controls which MCP tools a connected assistant can use
I cannot use MCP below the Advanced tier
Returning to System Settings reflects a tier change in the same session
An administrator can copy the read-only deployment URL from AI settings
AI settings leaves the URL selected when the clipboard rejects a write
The saved setting and subscription control both copy entry points
SubscriptionTier
Essentials tier restricts premium navigation features
Growth tier restricts enterprise navigation features
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 print a sample label if my subscription tier is Essentials
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 control portal attachment visibility below the Advanced tier
I can control portal attachment visibility on the Advanced 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 access manage certificates if I do not have permission
I cannot delete generated certificates without the correct permission
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 or redownload a workbook 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 oos results if I do not have permissions
I cannot view trend reports if I do not have permissions
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
Each stock permission independently grants its own screen and shared data
A user without stock permissions cannot navigate to stock screens or action URLs
Other stock permissions do not substitute for a missing screen permission
A user with all other stock permissions can view batches but cannot receive stock
Admin automatically has every stock permission
UserAccounts
User list search is retained through sorting paging and status filtering
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 grant a permission to an existing user account
I can only see user accounts associated with my organisation
User limit warning links to upgrade options in a new tab
Custom stock grants can be individually selected saved and used
Subscriptions without Stock hide the stock permission controls and preserve grants
Stock permission controls are available on subscriptions with Stock
UserRoles
Permission presets select exactly the agreed defaults and survive reopening
Cancelling a role change preserves customisations and reset restores defaults
Customised permissions retain the named role when saved
Presets exclude permissions unavailable in Essentials
Role account changes are audited without rewriting earlier history
Editing a user's role does not change their access in another organisation
Stock role defaults are selected and persist in the permission editor
Saved stock customisations determine access rather than the named role
Changing and resetting a role while subscription hides Stock preserves saved stock grants
📂 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
A web app change shows its source on the audit
I can filter audit history by source
📂 Dashboard
Dashboard
The new welcome video plays after one click on the 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
Stock widgets remain available and saved without granting Stock page access
Welcome tutorial
A new user sees the welcome tutorial on first login
A new user can navigate and finish the welcome tutorial
A new user can skip the welcome tutorial and replay it later
A user who has already seen the tutorial is not shown it automatically
📂 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
EquipmentUsage
Equipment persists independently of results across both entry points
Discarding equipment edits preserves the saved list and audit
Equipment remains independent across repeats and optional at results submission
Saved equipment removals respect reason settings and grouped audit rules
Cancelling a saved removal reason leaves equipment and audits unchanged
Single-item equipment audits follow the agreed summary template
Decommissioning preserves historical usage and prevents new selection
Equipment usage entry points follow the organisation entitlement
📂 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
Final lifecycle status is consistent for passing and failing results
A mixed outcome job completes only after every sample completes
Reverting completion restores the sample and recalculates the mixed job
Completion audit labels preserve the historical filter key
Reverting the lifecycle command recalculates a mixed job and preserves audit compatibility
Manage certificates displays Completed for a failing completed sample and its job
Revert completion permission keeps its compatibility key
Revert completion continues to require the existing permission
Attachments
Job attachments are internal by default and their portal visibility can be amended
Sample attachments are internal by default and their portal visibility can be amended
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
BarcodeScanning
Barcode scan mode is enabled by default for a user
I can scan a sample barcode from another screen
Invalid barcode content shows an error
A user can disable and re-enable barcode scan mode
Scanning continues to respect an unsaved changes prompt
The existing default sample label supports barcode scanning
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
Enter Results and Usage Tracking together allow test consumption without Inventory
Enter Results without Usage Tracking does not allow recording stock used by a test
EnterResultsKeyboard
An existing job link opens Enter Results in Latest
Enter saves an edit and Escape cancels the next edit
A pasted input range is saved and can be copied back
Pasting across a calculated output preserves its formula
Workspace shortcuts reach the dialog, queue, method picker and input grid
Guided Submit
Job IDs are generated by default and can be customised when unique
I can complete, review and edit a guided job submission with multiple samples
Submission steps remain disabled until their prerequisite details are complete
Active sample validation guides the user until required details are complete
Active sample validation identifies invalid custom fields
I am warned before leaving a dirty guided submission
I can populate custom job and sample fields during guided submission
I can customise assigned tests and copy repeats during guided submission
Published test methods remain available when they are not linked to the selected client
Changing client requires confirmation and clears dependent submission data
Product sample counts respect their minimum and maximum boundaries
I can delete a specific sample and remove the product with its final sample
I can submit multiple products and copy sample details between them
Guided step states, optional job fields and duplicate submission protection work together
A user without Receive permission retains the standard submit action
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
Sample completion terminology is shown across the sample viewer
I can search for a sample on the sample viewer
I can filter by product on the sample viewer
I can only see my assigned clients and associated jobs on the job viewer
I can filter by client and test method on the job viewer
I can filter samples by status range on the sample 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
SampleDisposition
Approved is the default disposition and is audited when a sample completes
A mixed batch uses one combined disposition-change reason and e-signature confirmation
Rejected completion without reason or e-signature completes without confirmation
Approved-only completion ignores the reason-for-change setting
Reason for change is required whenever a disposition is changed
Approved-only completion requests an e-signature but not a reason
A rejected sample uses the e-signature-only completion flow
The API defaults an omitted disposition to Approved
Disposition is displayed across sample views and filters rejected samples
A reverted sample displays its retained disposition beside its incomplete status
Sample disposition follows the Growth subscription entitlement
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
I cannot edit an approved job or samples when the setting is enabled
I can add a location list item and set it on a sample
Usage Tracking allows recording from either viewer without Enter Results or Adjust Stock
Other permissions do not allow recording stock used by a test
Submit
I can submit a job
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 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
Eligible users can copy the deployment URL from Profile
Profile offers manual copying when the clipboard rejects a write
📂 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
ExportResultsFilters
Job selection rejects free text and requires a selected job
Switching to jobs ignores an inactive submitted date range
Switching to submitted dates ignores the inactive job selection
Growth users can export samples from multiple selected jobs
Growth users can download results
The application client filter does not limit exports
JobCertificate
I can use templates to generate, download and delete a PDF job certificate across history, audit and attachments
A secondary-client job certificate preview remains PDF and is not stored
I can generate and regenerate a DOCX job certificate and audit the regeneration
I can see the primary client is selected by default when opening job certificate settings
Primary and secondary-client job certificates identify the latest, appear in attachments and retain the client in regeneration settings
I cannot generate a job certificate on manage certificates until all samples are approved
I can preview but not generate a job certificate when only some samples are approved
I cannot download a preview job certificate where all samples are not received
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
ManageCertificates
I can access manage certificates from the reporting menu
I can open manage certificates from job details
I can open manage certificates from sample details
I can open manage certificates from approve samples
I can search jobs by identifier and by name in manage certificates
Jobs are paginated and ordered by most recent created date first in manage certificates
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 use templates to generate, download and delete a sample certificate across history, audit and attachments
Preview sample certificates remain PDF only when DOCX certificate output is enabled
I can see the primary client is selected by default when opening sample certificate settings
Preview sample certificates only include selected test outputs
A regenerated DOCX sample certificate retains selected outputs and is recorded in the audit
Multiple sample certificates identify the latest and appear in a secondary client's history and attachments
I cannot generate a sample certificate on manage certificates until the sample is approved
I can select a default sample certificate template on a product and see this is used on generation from manage certificates
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
SampleResultsExport
Sample export retains separate samples and custom fields using the chosen combining mode
Conflicting nonblank values remain in separate method columns
Deleted historical methods and certificate-hidden outputs remain exportable
Historical and recreated methods with identical displayed versions retain distinct headings
TestResultsExport
Job and organisation-local date exports retain samples repeats and duplicate custom field headings
Growth users combine outputs without treating different test rows as collisions
Combining retains separate columns for different output names or units
Historical custom field titles at the same position remain separate ordered columns
Historical test versions retain their original outputs after publishing and deleting the method
Job selection includes unfinished persisted outputs while preserving zero precision and text results
Submitted date selection excludes unsubmitted tests with persisted outputs
Switching to jobs ignores an inactive submitted date range for a test export
Growth users export multiple jobs using either mutually exclusive filter
A test export with no matching submissions contains one header row
📂 ResultsImport
ResultsImport
I can set up the mappings for the results import and import results from
📂 Security
Audited MCP client writes
Update client notes and preserve existing client details
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
MCP organisation choice and consent
Connect to one organisation and reconnect to another
Complete authenticator setup before approving an MCP connection
An existing MCP connection reflects loss of
Approve a fresh MCP connection that requests access
Approve a fresh MCP connection for all MCP scopes
Cancel an MCP connection upgrade to read and write
Approve an MCP connection upgrade to read and write
Approve a fresh MCP connection that also requests offline access
📂 Setup
Calculation builder
I can build and save result and display formulas with the output settings
Calculation operations have tooltips that explain them
I can combine comparisons with And and Or and return different text from an If formula
I can select an input from the end of a long list
I can select either multiplication and undo or redo a replacement or deletion in one step
I can reopen existing formulas without changing the original syntax
Try it out discards stale values and distinguishes result errors from display errors
I can navigate a large formula without losing it
I can preview both formulas in setup, Test Method View and a lifecycle test
Clients
I can create a client
I can search for a client
I can edit an existing client
Client details can be updated without changing internal user assignments
Authorised users can update internal user assignments for a 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
Product walkthrough
The product walkthrough only starts when requested
The product walkthrough restarts with fresh practice data
The product walkthrough validates configuration and uses temporary practice data
The product walkthrough hides the related-clients step without client management permission
The product walkthrough only shows steps the user has permission to access
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
Specification Management
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
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
Test Method Configuration
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
Setup permissions allow related stock items without stock permissions
Test method walkthrough
The test method walkthrough only starts when requested
The test method walkthrough starts from the beginning every time
Either test method walkthrough launcher guides me through a tested calculation and method creation
The test method walkthrough only shows steps the user has permission to access
Test suite walkthrough
The test suite walkthrough only starts when requested
The test suite walkthrough restarts with fresh practice data
The test suite walkthrough validates required fields and uses temporary practice data
The test suite walkthrough only shows steps the user has permission to access
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 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
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
Adjust Stock works without Inventory Receive or Usage Tracking
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
Expired Stock independently allows both expired and expiring soon views
Expired Stock alone does not permit disposal
Disposal from expired stock additionally requires Adjust Stock
Inventory
I can see my stock items and edit the batches from the inventory page
Inventory access does not allow editing a batch
Manage Inventory enables batch editing from inventory
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
Receive Stock works without Inventory or Stock Items Manage
Manage Inventory independently allows editing an existing batch
StockIds
Stock IDs are generated sequentially and remain unique for the same item and batch
A Stock ID is displayed in stock views and remains immutable
A Stock ID is traceable through adjustment and usage history
A Stock ID is displayed when expired stock is disposed
StockItems
I can create a new stock item
I can edit a stock item and save the changes
I can delete a stock item
StockStorageLocations
A storage location can be selected when stock is received and updated later
Storage locations are visible for expired and expiring stock
UsageTracking
I can see manual adjustment appear on the usage tracking screen
I can record stock usage at enter results and access the same usage from the test viewer
Only approved and not expired stock batches are available for selection at enter results
Feature⇅ Scenarios⇅ Completion⇅ Duration⇅ Status⇅
AdjustStock 6 100% 9min 12s Passed
Administration data permissions 8 100% 5min 22s Passed
AdvancedTrial 5 100% 6min 51s Passed
ApproveSamples 11 100% 8min 14s Passed
Attachments 6 100% 4min 3s Passed
Audit 12 100% 12min 12s Passed
Audited MCP client writes 1 100% 7s 449ms Passed
BarcodeScanning 6 100% 2min 43s Passed
Calculation builder 9 100% 9min 1s Passed
Clients 7 100% 3min 19s Passed
Dashboard 20 100% 11min 39s Passed
Date-only values 2 100% 7min 20s Passed
EnterResults 18 100% 14min 7s Passed
EnterResultsKeyboard 5 100% 2min 45s Passed
EquipmentItems 4 100% 2min 9s Passed
EquipmentMaintenance 4 100% 2min 44s Passed
EquipmentUsage 8 100% 19min 32s Passed
ExpiredStock 6 100% 2min 50s Passed
ExportResultsFilters 6 100% 3min 40s Passed
Guided Submit 15 100% 9min 52s Passed
Inventory 3 100% 1min 56s Passed
Investigations 4 100% 3min 17s Passed
Job custom fields 5 100% 8min 26s Passed
Job data permissions 5 100% 4min 52s Passed
JobAndSampleList 10 100% 5min 53s Passed
JobCertificate 8 100% 8min 15s Passed
JobSubmissionSummary 2 100% 1min 4s Passed
JobViewer 1 100% 41s 342ms Passed
LabelSettings 4 100% 2min 8s Passed
LifecycleProcess 2 100% 2min 32s Passed
Lists 2 100% 58s 778ms Passed
Login 11 100% 3min 6s Passed
ManageCertificates 6 100% 2min 38s Passed
ManageWork 10 100% 6min 55s Passed
MCP organisation choice and consent 8 100% 3min 35s Passed
MenuNavigation 4 100% 1min 3s Passed
Organisation 3 100% 2min 1s Passed
Organisation MFA settings 2 100% 1min 15s Passed
Organisation timezone settings 4 100% 8min 39s Passed
OutOfSpecResults 4 100% 2min 54s Passed
Portal 4 100% 2min 32s Passed
Product Attachments 2 100% 1min 25s Passed
Product walkthrough 5 100% 4min 9s Passed
Products 14 100% 9min 35s Passed
ReceiveSamples 5 100% 3min 13s Passed
ReceiveStock 6 100% 5min 2s Passed
ReportSettings 3 100% 4min 15s Passed
ResultsExport 7 100% 4min 47s Passed
ResultsImport 1 100% 2min 1s Passed
Sample custom fields 4 100% 7min 38s Passed
Sample data permissions 8 100% 7min 58s Passed
SampleCertificate 8 100% 8min 20s Passed
SampleDisposition 11 100% 7min 46s Passed
SampleLabel 2 100% 1min 32s Passed
SampleResultsExport 4 100% 3min 23s Passed
SampleViewer 9 100% 11min 51s Passed
Settings 13 100% 11min 18s Passed
Specification Management 12 100% 12min 55s Passed
Specifications 11 100% 11min 33s Passed
StockIds 4 100% 2min 25s Passed
StockItems 3 100% 2min 25s Passed
StockStorageLocations 2 100% 1min 46s Passed
Submit 4 100% 2min 19s Passed
SubscriptionTier 12 100% 8min 30s Passed
Test Method Configuration 15 100% 9min 43s Passed
Test method walkthrough 4 100% 3min 44s Passed
Test suite walkthrough 4 100% 2min 28s Passed
TestMethods 14 100% 7min 19s Passed
TestResultsExport 10 100% 9min 29s Passed
TestSuites 6 100% 3min 1s Passed
Trending 7 100% 4min 38s Passed
UsageTracking 3 100% 2min 35s Passed
User Permissions 29 100% 15min 36s Passed
UserAccounts 11 100% 9min 39s Passed
UserRoles 9 100% 11min 24s Passed
VerifyTests 3 100% 1min 15s Passed
Warning Limits 8 100% 7min 4s Passed
Welcome tutorial 4 100% 1min 7s Passed
Scenario⇅ Order⇅ Duration⇅ Status⇅
I can manually adjust a batch of stock and see this reflected on the inventory page 11 2min 30s Passed
I can manually adjust stock and see this on the recently adjustment history table 12 29s 765ms Passed
A stock batch is removed from inventory view when adjusted to zero 13 40s 218ms Passed
Stock item remains visible as out of stock when all batches are reduced to zero 14 37s 780ms Passed
Zero-quantity stock batch behavior is consistent across stock module pages 15 42s 769ms Passed
Adjust Stock works without Inventory Receive or Usage Tracking 16 4min 11s Passed
I cannot delete a setup item without correct permission 420 36s 746ms Passed
I cannot publish a setup item without correct permission 421 28s 699ms Passed
I cannot archive user accounts without correct permission 422 37s 012ms Passed
I cannot see user accounts without correct permission 423 24s 665ms Passed
I cannot access equipment items without the correct permission 424 21s 541ms Passed
I cannot access equipment maintenance without the correct permission 425 26s 716ms Passed
I cannot access results import configuration if I do not have permission 426 31s 673ms Passed
Shared stock item details do not require Inventory or Receive Stock 427 1min 55s Passed
Creating an organisation starts and persists the default Advanced trial 428 33s 877ms Passed
An overdue trial awaiting automation shows that Advanced access is ending shortly 429 27s 851ms Passed
Trial account management respects the two user limit and archived places 430 2min 52s Passed
Converting Free Advanced to Paid Advanced releases the trial user limit 431 1min 4s Passed
An expired trial remains usable on Essentials and can recover Advanced data after purchase 432 1min 53s Passed
I can select a job and approve the samples for it 229 29s 473ms Passed
I can only see jobs on the approve samples page that have been verified 230 19s 431ms Passed
I can only see jobs associated with my assigned clients at approve samples 231 31s 824ms Passed
Final lifecycle status is consistent for passing and failing results 232 1min 22s Passed
A mixed outcome job completes only after every sample completes 233 35s 007ms Passed
Reverting completion restores the sample and recalculates the mixed job 234 1min 57s Passed
Completion audit labels preserve the historical filter key 235 42s 338ms Passed
Reverting the lifecycle command recalculates a mixed job and preserves audit compatibility 236 42s 512ms Passed
Manage certificates displays Completed for a failing completed sample and its job 237 25s 538ms Passed
Revert completion permission keeps its compatibility key 238 31s 162ms Passed
Revert completion continues to require the existing permission 239 37s 510ms Passed
Job attachments are internal by default and their portal visibility can be amended 240 40s 844ms Passed
Sample attachments are internal by default and their portal visibility can be amended 241 41s 592ms Passed
I can add an attachment to a job 242 32s 783ms Passed
I can delete an attachment on a job 243 43s 965ms Passed
I can add an attachment to a sample 244 42s 287ms Passed
I can delete an attachment on a sample 245 42s 462ms Passed
I can add a job and see this on the filtered audit 397 1min 7s Passed
I can find audit data using the search box 398 1min 2s Passed
I can edit a test method and see this on the audit 399 52s 037ms Passed
I can update a product spec and see this on the audit 400 1min 15s Passed
I am taken to the audit logs for a job when I click the job audit button 401 56s 814ms Passed
I am taken to the audit logs for a job when I click the context menu audit logs button 402 44s 148ms Passed
I am taken to the audit logs for a sample when I click the sample audit button 403 1min 0s Passed
I am taken to the audit logs for a sample when I click the context menu audit logs button 404 42s 534ms Passed
I can only see audit logs for my own organisation 405 1min 22s Passed
Product attachment add and delete are recorded in audit 406 1min 2s Passed
A web app change shows its source on the audit 407 56s 513ms Passed
I can filter audit history by source 408 1min 9s Passed
Update client notes and preserve existing client details 157 7s 449ms Passed
Barcode scan mode is enabled by default for a user 246 17s 745ms Passed
I can scan a sample barcode from another screen 247 25s 491ms Passed
Invalid barcode content shows an error 248 32s 051ms Passed
A user can disable and re-enable barcode scan mode 249 23s 989ms Passed
Scanning continues to respect an unsaved changes prompt 250 43s 645ms Passed
The existing default sample label supports barcode scanning 251 20s 223ms Passed
I can build and save result and display formulas with the output settings 34 1min 7s Passed
Calculation operations have tooltips that explain them 35 34s 571ms Passed
I can combine comparisons with And and Or and return different text from an If formula 36 1min 16s Passed
I can select an input from the end of a long list 37 32s 574ms Passed
I can select either multiplication and undo or redo a replacement or deletion in one step 38 52s 898ms Passed
I can reopen existing formulas without changing the original syntax 39 1min 9s Passed
Try it out discards stale values and distinguishes result errors from display errors 40 59s 794ms Passed
I can navigate a large formula without losing it 41 1min 0s Passed
I can preview both formulas in setup, Test Method View and a lifecycle test 42 1min 27s Passed
I can create a client 43 27s 799ms Passed
I can search for a client 44 19s 166ms Passed
I can edit an existing client 45 31s 610ms Passed
Client details can be updated without changing internal user assignments 46 20s 411ms Passed
Authorised users can update internal user assignments for a client 47 40s 504ms Passed
I can add all filtered products to a new client 48 30s 610ms Passed
I can view related products on clients 49 29s 841ms Passed
The new welcome video plays after one click on the dashboard 373 24s 659ms Passed
I can edit and save my dashboard 374 19s 531ms Passed
I can see the samples completed today widget has the correct information 375 39s 478ms Passed
I can see the samples completed this week widget shows the correct information 376 26s 634ms Passed
I can see the outstanding samples widget shows the correct information 377 21s 224ms Passed
I can see the company logo widget correctly displays on the dashboard 378 42s 328ms Passed
I can see the onboarding checklist is displayed when I add this to my dashboard 379 26s 579ms Passed
I can see the samples completed on time widget shows the correct information 380 30s 003ms Passed
I can see a list of my overdue samples on the overdue samples widget 381 21s 180ms Passed
I can see a sample at every step of the workflow pipeline widget 382 28s 909ms Passed
I can see the correct information on the samples approaching due date widget 383 21s 872ms Passed
I can see my out of spec results show on the oos monthly count widget 384 20s 197ms Passed
I can see I have an investigation showing on the active sample investigations and by age widgets 385 1min 5s Passed
I can add the median time to investigation closure widget to my dashboard and see the correct data 386 1min 0s Passed
I can see my expired stock count on the expired stock widget 387 28s 327ms Passed
I can see my stock health on the stock health widget 388 26s 981ms Passed
I can see my stock on the stock usability widget 389 32s 510ms Passed
I can see my stock expiring soon on the stock expiring soon widget 390 29s 710ms Passed
Stock widgets do not count zero-quantity batches 391 1min 0s Passed
Stock widgets remain available and saved without granting Stock page access 392 1min 13s Passed
Timezone extremes do not shift date on inputs for stock, sample viewer and audit 433 3min 46s Passed
DST boundary timezones do not shift date-only values 434 3min 34s Passed
I can select a job and enter results for it 252 35s 142ms Passed
I can progress a job through enter results with a mandatory and default input 253 1min 3s Passed
I can submit a test which has rounding set and see that they have trailing zeros 254 49s 514ms Passed
I can submit tests without rounding and see no trailing zeros 255 53s 651ms Passed
I can not see inputs set to show only on workbook at enter results 256 44s 389ms Passed
I can see the job details from the enter results page 257 28s 519ms Passed
I can only add results in the format set in the test method 258 1min 2s Passed
I can go to the next test for the same input after pressing enter 259 42s 334ms Passed
I can use the arrow keys to navigate between cells while editing cells 260 52s 116ms Passed
I can go to the next test for the same list input after pressing enter 261 58s 999ms Passed
I can revert back to the previous test input when reason for change dialog is cancelled 262 38s 289ms Passed
I can see the test output calculates correctly when an input value is changed 263 52s 040ms Passed
I can only see jobs on the enter results page that have been received 264 20s 674ms Passed
I can add a new test to an existing job and enter results for this test 265 59s 350ms Passed
I can only see jobs associated with my assigned clients at enter results 266 33s 464ms Passed
I can record stock usage against a test at enter results and see this reflected on the stock inventory 267 53s 335ms Passed
Enter Results and Usage Tracking together allow test consumption without Inventory 268 55s 520ms Passed
Enter Results without Usage Tracking does not allow recording stock used by a test 269 44s 380ms Passed
An existing job link opens Enter Results in Latest 271 27s 618ms Passed
Enter saves an edit and Escape cancels the next edit 272 37s 997ms Passed
A pasted input range is saved and can be copied back 273 37s 446ms Passed
Pasting across a calculated output preserves its formula 274 33s 934ms Passed
Workspace shortcuts reach the dialog, queue, method picker and input grid 275 28s 130ms Passed
I can create a new equipment item 356 27s 387ms Passed
I can edit an equipment item 357 38s 535ms Passed
I can decommission an equipment item 358 33s 374ms Passed
I can add and remove maintenance events for an equipment item 359 30s 098ms Passed
I can see an upcoming maintenance events remove these and see the calendar update 360 39s 339ms Passed
I can see when an event is overdue on the maintenance calendar 361 36s 803ms Passed
I can filter by event type on the maintenance calendar 362 33s 961ms Passed
I can progress an event through to approval on the calendar 363 54s 675ms Passed
Equipment persists independently of results across both entry points 364 1min 45s Passed
Discarding equipment edits preserves the saved list and audit 365 4min 28s Passed
Equipment remains independent across repeats and optional at results submission 366 2min 40s Passed
Saved equipment removals respect reason settings and grouped audit rules 367 3min 11s Passed
Cancelling a saved removal reason leaves equipment and audits unchanged 368 2min 23s Passed
Single-item equipment audits follow the agreed summary template 369 1min 1s Passed
Decommissioning preserves historical usage and prevents new selection 370 1min 36s Passed
Equipment usage entry points follow the organisation entitlement 371 2min 24s Passed
I can see an expired batch of stock on the expired stock page 5 28s 737ms Passed
I can dispose of an expired stock batch on the expired stock screen 6 22s 196ms Passed
I can see the correct information on the expiring soon tab 7 22s 101ms Passed
Expired Stock independently allows both expired and expiring soon views 8 35s 535ms Passed
Expired Stock alone does not permit disposal 9 32s 391ms Passed
Disposal from expired stock additionally requires Adjust Stock 10 30s 016ms Passed
Job selection rejects free text and requires a selected job 167 32s 019ms Passed
Switching to jobs ignores an inactive submitted date range 168 31s 344ms Passed
Switching to submitted dates ignores the inactive job selection 169 37s 355ms Passed
Growth users can export samples from multiple selected jobs 170 42s 042ms Passed
Growth users can download results 171 33s 197ms Passed
The application client filter does not limit exports 172 44s 047ms Passed
Job IDs are generated by default and can be customised when unique 276 56s 985ms Passed
I can complete, review and edit a guided job submission with multiple samples 277 43s 545ms Passed
Submission steps remain disabled until their prerequisite details are complete 278 26s 466ms Passed
Active sample validation guides the user until required details are complete 279 30s 816ms Passed
Active sample validation identifies invalid custom fields 280 1min 4s Passed
I am warned before leaving a dirty guided submission 281 16s 657ms Passed
I can populate custom job and sample fields during guided submission 282 45s 799ms Passed
I can customise assigned tests and copy repeats during guided submission 283 49s 215ms Passed
Published test methods remain available when they are not linked to the selected client 284 29s 084ms Passed
Changing client requires confirmation and clears dependent submission data 285 30s 305ms Passed
Product sample counts respect their minimum and maximum boundaries 286 23s 854ms Passed
I can delete a specific sample and remove the product with its final sample 287 36s 187ms Passed
I can submit multiple products and copy sample details between them 288 50s 718ms Passed
Guided step states, optional job fields and duplicate submission protection work together 289 38s 115ms Passed
A user without Receive permission retains the standard submit action 290 50s 333ms Passed
I can see my stock items and edit the batches from the inventory page 17 43s 065ms Passed
Inventory access does not allow editing a batch 18 32s 164ms Passed
Manage Inventory enables batch editing from inventory 19 41s 425ms Passed
I can start a new investigation on a sample 291 43s 862ms Passed
I can start an investigation on a sample and see this on the dashboard and job viewer 292 57s 108ms Passed
I can close an investigation and see that the dashboard icon is removed 293 51s 480ms Passed
I can edit an investigation 294 45s 462ms Passed
I can create a custom job field 435 1min 33s Passed
I can use a custom job field on a job 436 3min 39s Passed
I can only use numbers in a number type custom job field 437 1min 12s Passed
Changing a custom job field does not change it on an existing job 438 1min 1s Passed
I can set a client specific custom job field and see this on a job 439 59s 300ms Passed
I cannot add a sample to a job without the correct permission 440 53s 583ms Passed
I cannot delete a job without the correct permission 441 54s 273ms Passed
I cannot edit a job without the correct permission 442 54s 257ms Passed
I cannot add job attachments without correct permission 443 1min 15s Passed
I cannot delete job attachments without correct permission 444 55s 188ms Passed
I can search for a job on the job viewer 295 29s 706ms Passed
I can filter job by status on the dashboard 296 37s 104ms Passed
I can sort and reset the filters on the job viewer 297 33s 183ms Passed
I can view samples on the sample viewer 298 26s 020ms Passed
Sample completion terminology is shown across the sample viewer 299 35s 263ms Passed
I can search for a sample on the sample viewer 300 33s 027ms Passed
I can filter by product on the sample viewer 301 36s 979ms Passed
I can only see my assigned clients and associated jobs on the job viewer 302 38s 426ms Passed
I can filter by client and test method on the job viewer 303 41s 591ms Passed
I can filter samples by status range on the sample viewer 304 42s 418ms Passed
I can use templates to generate, download and delete a PDF job certificate across history, audit and attachments 173 2min 7s Passed
A secondary-client job certificate preview remains PDF and is not stored 174 32s 709ms Passed
I can generate and regenerate a DOCX job certificate and audit the regeneration 175 1min 6s Passed
I can see the primary client is selected by default when opening job certificate settings 176 25s 791ms Passed
Primary and secondary-client job certificates identify the latest, appear in attachments and retain the client in regeneration settings 177 57s 503ms Passed
I cannot generate a job certificate on manage certificates until all samples are approved 178 27s 877ms Passed
I can preview but not generate a job certificate when only some samples are approved 179 1min 42s Passed
I cannot download a preview job certificate where all samples are not received 180 55s 717ms Passed
I can submit a job and produce a job submission summary from the job viewer 181 31s 897ms Passed
I can see the job summary is attached to a submitted job 182 32s 707ms Passed
I can add a new sample to an existing job 305 41s 342ms Passed
I can update the label settings and save the changes 445 37s 668ms Passed
I can update the label settings and then revert these to default 446 31s 632ms Passed
I can review the available sample label presets 447 33s 141ms Passed
I can apply a sample label preset and review it in advanced settings 448 26s 170ms Passed
I create a job and take it through to approval 306 1min 18s Passed
I create a job with multiple samples and take one through to approval 307 1min 13s Passed
I can create a new list 449 23s 819ms Passed
I can add items to an existing list 450 34s 959ms Passed
Login to LabHQ 146 12s 289ms Passed
I am unable to log in with incorrect password 147 4s 741ms Passed
I can change my password and login with the new password 148 30s 026ms Passed
My account is disabled if i enter incorrect credentials multiple times 149 14s 145ms Passed
I can log out of LabHQ 150 13s 535ms Passed
I cannot reset my password using a weak password 151 15s 032ms Passed
I cannot reuse my old password 152 14s 981ms Passed
I cannot log in to a disabled account 153 28s 248ms Passed
I cannot see organisations I am not authorised for 154 12s 668ms Passed
I am directed to the organisation select screen if I try to navigate to another organisations site from a logged in state 155 15s 027ms Passed
I can set MFA to app and my user is prompted to configure this at login 156 26s 263ms Passed
I can access manage certificates from the reporting menu 183 22s 466ms Passed
I can open manage certificates from job details 184 35s 248ms Passed
I can open manage certificates from sample details 185 33s 780ms Passed
I can open manage certificates from approve samples 186 21s 723ms Passed
I can search jobs by identifier and by name in manage certificates 187 24s 664ms Passed
Jobs are paginated and ordered by most recent created date first in manage certificates 188 20s 580ms Passed
I cannot see jobs that aren't received on the manage work screen 308 34s 901ms Passed
I cannot see jobs that have their results submitted on the manage work screen 309 32s 833ms Passed
I can create a workbook from a job 310 32s 903ms Passed
I can view and download previously created workbooks 311 33s 552ms Passed
I can download a workbook for a job 312 34s 012ms Passed
I can create a workbook from multiple jobs 313 36s 036ms Passed
I cannot create a workbook from a job twice 314 40s 107ms Passed
I can create a workbook from a job add extra tests and select the job again 315 1min 9s Passed
I can only create workbooks for jobs of clients selected in the client filter 316 44s 633ms Passed
I can only view workbooks for clients selected in the client filter 317 57s 400ms Passed
Connect to one organisation and reconnect to another 158 24s 178ms Passed
Complete authenticator setup before approving an MCP connection 159 14s 774ms Passed
An existing MCP connection reflects loss of 160 1min 10s Passed
Approve a fresh MCP connection that requests access 161 29s 464ms Passed
Approve a fresh MCP connection for all MCP scopes 162 16s 714ms Passed
Cancel an MCP connection upgrade to read and write 163 23s 440ms Passed
Approve an MCP connection upgrade to read and write 164 23s 689ms Passed
Approve a fresh MCP connection that also requests offline access 165 13s 112ms Passed
I am navigated to the new support site when I click the support link on the menu 224 13s 639ms Passed
I am navigated to the new support site when I click the about icon on the menu 225 16s 469ms Passed
Eligible users can copy the deployment URL from Profile 226 24s 274ms Passed
Profile offers manual copying when the clipboard rejects a write 227 9s 164ms Passed
I can update my company address 451 26s 159ms Passed
I can add a custom logo and see this on the site 452 1min 6s Passed
I can remove a custom logo 453 27s 876ms Passed
I cannot turn off MFA if my organisation requires it 454 39s 416ms Passed
I receive an emailed OTP if my organisation enables forced MFA 455 36s 344ms Passed
I can change my date locale and see this update the format on LabHQ 456 53s 149ms Passed
Organisation timezone controls header date and organisation-based default date inputs 457 3min 4s Passed
Locale and timezone are applied together for date formatting 458 1min 54s Passed
Audit event timestamps follow organisation timezone while date-only fields remain unchanged 459 2min 47s Passed
I can see the out of spec results by product graph where I have results to show 409 1min 4s Passed
I can see the out of spec results by test method graph populate when I select a product 410 1min 6s Passed
I cannot see the out of spec results by test method graph where no filters are selected 411 22s 498ms Passed
I cannot see the out of spec results by product graph when there are no approved out of spec results 412 19s 796ms Passed
I can invite and revoke access to the portal 220 33s 520ms Passed
I can resend an invite to a portal user 221 28s 667ms Passed
I cannot resent an invite to a portal user that has already accepted 222 29s 822ms Passed
I cannot see portal information if my subscription tier is essentials or growth 223 1min 0s Passed
I can add and delete a product attachment from product edit 50 28s 160ms Passed
Product attachments are visible from lifecycle product side panel 51 57s 688ms Passed
The product walkthrough only starts when requested 66 29s 430ms Passed
The product walkthrough restarts with fresh practice data 67 48s 323ms Passed
The product walkthrough validates configuration and uses temporary practice data 68 1min 19s Passed
The product walkthrough hides the related-clients step without client management permission 69 1min 6s Passed
The product walkthrough only shows steps the user has permission to access 70 25s 406ms Passed
I can create a product 52 29s 726ms Passed
I can view related clients on products 53 35s 246ms Passed
I can view related test suites on products 54 30s 785ms Passed
I can search for a product 55 20s 996ms Passed
I can edit an existing product 56 35s 227ms Passed
I can delete a product 57 27s 549ms Passed
I can define an order of test method outputs on product specification 58 44s 464ms Passed
I can clone a product 59 1min 6s Passed
I can view a product 60 39s 425ms Passed
I can clone a product with an outdated spec and cannot publish my new product 61 1min 8s Passed
I can update a test method and set to draft, sync this to the product and be unable to publish the product 62 50s 036ms Passed
I can delete a test suite and the product requires resync 63 40s 705ms Passed
I can delete a test method and the product requires resync 64 43s 449ms Passed
I can add a 2D coordinate specification on a product 65 43s 011ms Passed
I can select a job and receive the samples for it 318 42s 892ms Passed
I can receive a sample and enter results 319 46s 890ms Passed
I can see the default specification is pre selected at receive samples 320 33s 264ms Passed
I can choose to set no specification on a sample 321 39s 866ms Passed
I can only see jobs associated with my assigned clients at receive samples 322 30s 693ms Passed
I can receive a batch of stock 22 37s 711ms Passed
I can see a job is automatically submitted when I receive a batch of stock that requires testing 23 36s 163ms Passed
I can see the status of my batch is updated to in testing when the sample is received 24 59s 234ms Passed
I can see the status of my batch is updated when the sample is approved 25 1min 28s Passed
Receive Stock works without Inventory or Stock Items Manage 26 40s 447ms Passed
Manage Inventory independently allows editing an existing batch 27 39s 711ms Passed
I can upload, download and delete a custom template 460 1min 34s Passed
I cannot upload a template in an unsupported format 461 1min 22s Passed
I can download the default template 462 1min 18s Passed
I can enter results and export these on the results export 189 41s 411ms Passed
I can change a submitted result and see this update on the results export 190 41s 882ms Passed
I can produce a results export for a specified job id 191 31s 269ms Passed
I can produce a results export using a given date range 192 28s 918ms Passed
I can see my custom job and sample fields on the results export 193 1min 7s Passed
I can export results for all clients in the system 194 41s 120ms Passed
I can see repeats when exporting results 195 35s 975ms Passed
I can set up the mappings for the results import and import results from 166 2min 1s Passed
I can create a custom sample field 463 1min 22s Passed
I can use a custom sample field on a sample 464 4min 5s Passed
Changing a custom sample field does not change it on an existing sample 465 1min 5s Passed
I can set a client specific custom sample field and see this on a sample 466 1min 3s Passed
I cannot change the spec on a sample without the correct permission 467 49s 584ms Passed
I cannot delete a sample without the correct permission 468 51s 163ms Passed
I cannot edit a sample without the correct permission 469 57s 418ms Passed
I cannot revert approval without correct permission 470 54s 682ms Passed
I cannot revert verification without correct permission 471 1min 2s Passed
I cannot add sample attachments without correct permission 472 1min 27s Passed
I cannot delete sample attachments without correct permission 473 1min 7s Passed
I cannot start an investigation without the correct permission 474 48s 109ms Passed
I can use templates to generate, download and delete a sample certificate across history, audit and attachments 196 2min 15s Passed
Preview sample certificates remain PDF only when DOCX certificate output is enabled 197 36s 176ms Passed
I can see the primary client is selected by default when opening sample certificate settings 198 31s 997ms Passed
Preview sample certificates only include selected test outputs 199 37s 281ms Passed
A regenerated DOCX sample certificate retains selected outputs and is recorded in the audit 200 1min 36s Passed
Multiple sample certificates identify the latest and appear in a secondary client's history and attachments 201 1min 1s Passed
I cannot generate a sample certificate on manage certificates until the sample is approved 202 26s 799ms Passed
I can select a default sample certificate template on a product and see this is used on generation from manage certificates 203 1min 14s Passed
Approved is the default disposition and is audited when a sample completes 323 34s 375ms Passed
A mixed batch uses one combined disposition-change reason and e-signature confirmation 324 51s 601ms Passed
Rejected completion without reason or e-signature completes without confirmation 325 28s 027ms Passed
Approved-only completion ignores the reason-for-change setting 326 35s 316ms Passed
Reason for change is required whenever a disposition is changed 327 49s 731ms Passed
Approved-only completion requests an e-signature but not a reason 328 41s 690ms Passed
A rejected sample uses the e-signature-only completion flow 329 40s 741ms Passed
The API defaults an omitted disposition to Approved 330 15s 446ms Passed
Disposition is displayed across sample views and filters rejected samples 331 1min 18s Passed
A reverted sample displays its retained disposition beside its incomplete status 332 39s 031ms Passed
Sample disposition follows the Growth subscription entitlement 333 52s 714ms Passed
I can produce sample labels for all my selected samples on receive 204 40s 503ms Passed
I can produce all sample labels for a job on the job viewer 205 51s 501ms Passed
Sample export retains separate samples and custom fields using the chosen combining mode 206 1min 35s Passed
Conflicting nonblank values remain in separate method columns 207 36s 796ms Passed
Deleted historical methods and certificate-hidden outputs remain exportable 208 34s 546ms Passed
Historical and recreated methods with identical displayed versions retain distinct headings 209 37s 314ms Passed
I can add correctly available test methods when editing an existing sample 334 34s 093ms Passed
The sample due date can be updated 335 35s 673ms Passed
I can use the arrows to move between samples on a job 336 59s 003ms Passed
I can delete a repeat test from a sample 337 47s 454ms Passed
I can add repeat tests to an existing sample 338 43s 019ms Passed
I cannot edit an approved job or samples when the setting is enabled 339 37s 955ms Passed
I can add a location list item and set it on a sample 340 1min 21s Passed
Usage Tracking allows recording from either viewer without Enter Results or Adjust Stock 341 1min 50s Passed
Other permissions do not allow recording stock used by a test 342 4min 22s Passed
I am prompted to give a reason for change in order to change a submitted test input 475 43s 923ms Passed
I am prompted to enter my password for submitting a result if require e-sig is enabled 476 47s 978ms Passed
Settings default to weekday working days and independent verification off 477 30s 442ms Passed
Certificate DOCX output is disabled by default and can be enabled 478 28s 077ms Passed
The test verification process is skipped if I have the setting enabled 479 1min 26s Passed
I cannot verify a sample if I entered the results with the independent verify setting on 480 1min 18s Passed
An administrator controls MCP access for their own organisation 481 1min 45s Passed
An administrator controls which MCP tools a connected assistant can use 482 1min 30s Passed
I cannot use MCP below the Advanced tier 484 42s 913ms Passed
Returning to System Settings reflects a tier change in the same session 485 24s 865ms Passed
An administrator can copy the read-only deployment URL from AI settings 486 29s 810ms Passed
AI settings leaves the URL selected when the clipboard rejects a write 487 13s 650ms Passed
The saved setting and subscription control both copy entry points 488 55s 142ms Passed
Deleting a test method does not affect the set spec or lifecycle data without sync 71 1min 33s Passed
I can see a list of test method outputs that have been removed after refreshing product specifications 72 1min 25s Passed
I can see my spec values are kept after refreshing product specifications 73 52s 795ms Passed
I can add a specification for a string output type 74 43s 519ms Passed
I can see a pass specification from a string output type on approve samples 75 49s 402ms Passed
I can see a fail specification from a string output type on approve samples 76 46s 118ms Passed
I can add a second specification to a product and use this on a sample 77 1min 6s Passed
I can see all added specifications to an existing product when product is saved 78 56s 838ms Passed
A deleted spec is still used on an already submitted job 79 1min 24s Passed
I change the spec on a sample and see the results change from fail to pass 80 1min 8s Passed
I can see a failed specification at enter results before submitting 81 58s 476ms Passed
I can change a test method output type and see this reflected on the spec when refreshed 82 1min 8s Passed
I can add a specification to a product 83 28s 760ms Passed
I can update a specification on a product 84 40s 103ms Passed
I can see a pass specification results on the approve samples page 85 3min 6s Passed
I can add a 2D coordinate specification on a product and see this fail at enter results 86 55s 374ms Passed
I can add a 2D coordinate specification on a product and see this pass at approve samples 87 47s 254ms Passed
I can see a pass specification when a default test method value is used 88 48s 062ms Passed
I can see a fail specification result on the verify tests page 89 53s 542ms Passed
I can see out of specs when entering results 90 52s 025ms Passed
I can see a fail specification results on the approve samples page 91 47s 484ms Passed
I can view the specification results on the test viewer page 92 59s 494ms Passed
I can see the spec change from fail to pass when results are changed 93 1min 15s Passed
Stock IDs are generated sequentially and remain unique for the same item and batch 1 47s 381ms Passed
A Stock ID is displayed in stock views and remains immutable 2 34s 614ms Passed
A Stock ID is traceable through adjustment and usage history 3 40s 409ms Passed
A Stock ID is displayed when expired stock is disposed 4 23s 365ms Passed
I can create a new stock item 28 51s 950ms Passed
I can edit a stock item and save the changes 29 50s 926ms Passed
I can delete a stock item 30 42s 408ms Passed
A storage location can be selected when stock is received and updated later 20 1min 23s Passed
Storage locations are visible for expired and expiring stock 21 23s 742ms Passed
I can submit a job 343 32s 184ms Passed
I can submit a job and see the details of this on the job viewer 349 51s 186ms Passed
I am taken to receive samples after submitting a job 350 30s 361ms Passed
I can only submit jobs for my assigned clients 352 25s 401ms Passed
Essentials tier restricts premium navigation features 490 2min 9s Passed
Growth tier restricts enterprise navigation features 491 1min 12s Passed
I cannot access trend report from approve samples if my subscription tier is Essentials 492 30s 490ms Passed
I cannot access investigations if my subscription tier is Essentials 493 35s 242ms Passed
I cannot print a sample label if my subscription tier is Essentials 494 33s 942ms Passed
I cannot create a new client if I am on the essentials tier 495 16s 894ms Passed
I cannot access the below widgets if I am on essentials tier 496 15s 316ms Passed
I cannot access the below widgets if I am on growth tier 497 14s 197ms Passed
I cannot control portal attachment visibility below the Advanced tier 498 1min 14s Passed
I can control portal attachment visibility on the Advanced tier 499 34s 595ms Passed
I cannot add new attachments if I am on Essentials tier 500 33s 088ms Passed
I cannot add product attachments if I am on Essentials tier 501 19s 983ms Passed
I can see the test method version change when I sync and publish after a change 94 37s 567ms Passed
I can see the test method version change to draft when I save after a change 95 30s 295ms Passed
When a test method/product version changes this does not change on existing lifecycle jobs 96 1min 14s Passed
I cannot use duplicate test method output names 97 36s 218ms Passed
I cannot add another input or output when limit reached 98 32s 946ms Passed
I cannot clone an input or add a matching output when limit reached 99 27s 063ms Passed
I cannot clone an output when limit reached 100 32s 873ms Passed
I cannot create a matching output for a new input when within 1 of the limit 101 30s 707ms Passed
I can assign a draft test method (Never published) to a test suite via test method setup 102 55s 769ms Passed
I can assign a draft test method (Previously published) to a test suite via test method setup 103 51s 589ms Passed
I can hide and unhide a test method output from certificates 104 32s 789ms Passed
I can set an input to electronic only on a test method 105 34s 317ms Passed
I can set an input to workbook only on a test method 106 30s 606ms Passed
I can set an input to display on all on a test method 107 32s 422ms Passed
Setup permissions allow related stock items without stock permissions 108 43s 348ms Passed
The test method walkthrough only starts when requested 124 26s 906ms Passed
The test method walkthrough starts from the beginning every time 125 28s 950ms Passed
Either test method walkthrough launcher guides me through a tested calculation and method creation 126 2min 19s Passed
The test method walkthrough only shows steps the user has permission to access 127 29s 366ms Passed
The test suite walkthrough only starts when requested 134 25s 320ms Passed
The test suite walkthrough restarts with fresh practice data 135 52s 263ms Passed
The test suite walkthrough validates required fields and uses temporary practice data 136 45s 204ms Passed
The test suite walkthrough only shows steps the user has permission to access 137 26s 039ms Passed
I can create a test method 109 41s 555ms Passed
I can view a test method 110 40s 813ms Passed
I can create a test method with a 2d coordinate input 111 31s 216ms Passed
I can delete a test method 112 31s 309ms Passed
I can view related test suites on test methods 113 31s 974ms Passed
I can view related products on test methods 114 34s 051ms Passed
I can remove a test suite from a test method and see the related products update 115 31s 317ms Passed
I can search for a test method 116 24s 194ms Passed
I can filter by draft test method 117 28s 786ms Passed
I can edit an existing test method 118 33s 955ms Passed
I can clone a test method 119 33s 830ms Passed
I can quick add the output from input on a test method 120 28s 134ms Passed
I can delete a test method that is attached to a suite and product 122 25s 001ms Passed
I can delete a test method that shows a conflict with the delete 123 23s 367ms Passed
Job and organisation-local date exports retain samples repeats and duplicate custom field headings 210 1min 9s Passed
Growth users combine outputs without treating different test rows as collisions 211 1min 25s Passed
Combining retains separate columns for different output names or units 212 48s 551ms Passed
Historical custom field titles at the same position remain separate ordered columns 213 53s 737ms Passed
Historical test versions retain their original outputs after publishing and deleting the method 214 48s 617ms Passed
Job selection includes unfinished persisted outputs while preserving zero precision and text results 215 43s 636ms Passed
Submitted date selection excludes unsubmitted tests with persisted outputs 216 44s 723ms Passed
Switching to jobs ignores an inactive submitted date range for a test export 217 43s 305ms Passed
Growth users export multiple jobs using either mutually exclusive filter 218 1min 39s Passed
A test export with no matching submissions contains one header row 219 31s 613ms Passed
I can create a test suite 128 28s 389ms Passed
I can view a test suite 129 33s 705ms Passed
I can view related test methods on test suites 130 35s 238ms Passed
I can search for a test suite 131 20s 423ms Passed
I can edit an existing test suite 132 37s 515ms Passed
I can delete a test suite 133 26s 380ms Passed
I can progress through trend wizard to view the trend graph 413 1min 2s Passed
I can see a message appear when there is no data to show on the trend graph 414 36s 914ms Passed
I can see the trend wizard prepopulate from approve samples page 415 25s 514ms Passed
Verified samples will link to trend chart from approve samples page 416 27s 987ms Passed
I can see the trend wizard prepopulate from test summary page 417 49s 529ms Passed
Samples with results entered will link to trend chart from the job viewer 418 40s 545ms Passed
I can import result data successfully 419 35s 744ms Passed
I can see manual adjustment appear on the usage tracking screen 31 45s 752ms Passed
I can record stock usage at enter results and access the same usage from the test viewer 32 1min 4s Passed
Only approved and not expired stock batches are available for selection at enter results 33 44s 646ms Passed
I cannot view settings if I do not have manage permissions 514 26s 685ms Passed
I cannot access manage certificates if I do not have permission 515 28s 683ms Passed
I cannot delete generated certificates without the correct permission 516 1min 22s Passed
I cannot view Organisation if I do not have manage permissions 517 27s 943ms Passed
I cannot access label settings if I do not have permission 518 32s 863ms Passed
I cannot view Custom fields if I do not have manage permissions 519 17s 422ms Passed
I cannot view Report settings if I do not have permission 520 29s 019ms Passed
I cannot view Lists if I do not have manage permissions 521 20s 074ms Passed
I cannot view the Audit if I do not have manage permissions 522 17s 731ms Passed
I cannot view clients if I do not have view permissions 523 19s 906ms Passed
I cannot view test methods/suites/products if I do not have view permissions 524 33s 839ms Passed
I cannot view submit job if I do not have manage permissions 525 14s 865ms Passed
I cannot view receive samples if I do not have manage permissions 526 15s 039ms Passed
I cannot view manage work if I do not have permission 527 14s 263ms Passed
I cannot download or redownload a workbook if I do not have permission 528 29s 936ms Passed
I cannot view enter results if I do not have manage permissions 529 15s 189ms Passed
I cannot view verify tests if I do not have manage permissions 530 12s 730ms Passed
I cannot view approve samples if I do not have manage permissions 531 12s 599ms Passed
I cannot view oos results if I do not have permissions 532 12s 293ms Passed
I cannot view trend reports if I do not have permissions 533 32s 441ms Passed
I cannot see the label download button if I do not have permission 535 23s 910ms Passed
I cannot view export results page if I do not have permission 536 10s 070ms Passed
I cannot update the company address without the correct permission 537 7s 176ms Passed
I can import results data without the correct permission 538 7s 559ms Passed
Each stock permission independently grants its own screen and shared data 539 3min 51s Passed
A user without stock permissions cannot navigate to stock screens or action URLs 540 56s 297ms Passed
Other stock permissions do not substitute for a missing screen permission 541 1min 11s Passed
A user with all other stock permissions can view batches but cannot receive stock 542 15s 307ms Passed
Admin automatically has every stock permission 543 17s 015ms Passed
User list search is retained through sorting paging and status filtering 502 1min 2s Passed
I cannot see the BSL Admin role on a non BSL company 503 29s 420ms Passed
I can disable a user account 504 33s 779ms Passed
I can archive a user account 505 28s 994ms Passed
I can edit an existing user account 506 32s 339ms Passed
I can grant a permission to an existing user account 507 54s 253ms Passed
I can only see user accounts associated with my organisation 508 17s 922ms Passed
User limit warning links to upgrade options in a new tab 509 25s 638ms Passed
Custom stock grants can be individually selected saved and used 510 1min 28s Passed
Subscriptions without Stock hide the stock permission controls and preserve grants 512 2min 49s Passed
Stock permission controls are available on subscriptions with Stock 513 37s 538ms Passed
Permission presets select exactly the agreed defaults and survive reopening 544 4min 18s Passed
Cancelling a role change preserves customisations and reset restores defaults 545 1min 6s Passed
Customised permissions retain the named role when saved 546 32s 706ms Passed
Presets exclude permissions unavailable in Essentials 547 19s 184ms Passed
Role account changes are audited without rewriting earlier history 548 23s 967ms Passed
Editing a user's role does not change their access in another organisation 549 1min 2s Passed
Stock role defaults are selected and persist in the permission editor 550 1min 6s Passed
Saved stock customisations determine access rather than the named role 551 1min 57s Passed
Changing and resetting a role while subscription hides Stock preserves saved stock grants 552 38s 037ms Passed
I can select a job and verify the tests for it 353 26s 020ms Passed
I can only see jobs on the verify tests page that have had results entered 354 17s 817ms Passed
I can only see jobs associated with my assigned clients at verify tests 355 31s 312ms Passed
I can add a warning limit to a specification 138 46s 289ms Passed
I can see the warning on approve samples when a sample is out of warning limits 139 47s 775ms Passed
I can see tests out of warning limits at enter results 140 53s 270ms Passed
I can see the warning on the verify tests page when a sample is out of warning limits 141 48s 002ms Passed
I can see the warning on the test viewer when the test is out of warning limit 142 54s 663ms Passed
I can set the warning operator to a different one to spec and see a failed warning on test viewer 143 48s 514ms Passed
I can set a warning limit with no set spec and see a warning on the test viewer 144 57s 625ms Passed
I can see the test change from failed spec to warn when results are changed 145 1min 7s Passed
A new user sees the welcome tutorial on first login 393 15s 555ms Passed
A new user can navigate and finish the welcome tutorial 394 27s 746ms Passed
A new user can skip the welcome tutorial and replay it later 395 14s 902ms Passed
A user who has already seen the tutorial is not shown it automatically 396 9s 688ms Passed
Step⇅ Usage⇅ Status⇅
Given I am logged in as user 'Adjuststockuser' 4 Passed
And I have created the following stock item: 41 Passed
And I have received the following stock batch: 32 Passed
When I click on the 'Stock' menu item 28 Passed
And I click on the 'Adjust stock' menu item 10 Passed
And I click the adjust stock button 30 Passed
And I populate the adjust stock form with the following: 15 Passed
And I can see the message of 'Stock availability updated successfully' 15 Passed
And I click on the 'Inventory' menu item 16 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: 3 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 6 Passed
And I can no longer see stock item 'ZeroModuleStock' showing here 1 Passed
Given I am logged in as user 'StockAdjustPermissionAdmin' 4 Passed
And in-date, expired and expiring-soon stock batches exist 39 Passed
And the stock permission user has only 'stock adjust' permissions 4 Passed
When I sign in as the stock permission user 43 Passed
And I open the 'Adjust Stock' stock screen 5 Passed
And I sign in as the stock fixture administrator 4 Passed
And I open the 'Inventory' stock screen 8 Passed
And I click on stock item 'PermissionStock' 6 Passed
Then stock batch 'PERM' has available quantity '<Quantity>' 4 Passed
Given I have created the user 'DeleteSetupPermissionsUser' without permissions 'setup data delete' 1 Passed
And I am logged in as user 'DeleteSetupPermissionsUserrm' 1 Passed
And I add the default client to both users 20 Passed
When I Log out of LabHQ 20 Passed
And I enter my credentials to log in to user 'DeleteSetupPermissionsUser' 1 Passed
And I click on the 'Setup' menu item 12 Passed
And I click on the 'Test methods' menu item 42 Passed
And I click on options for the test method 2 Passed
Then I cannot see the delete option 3 Passed
Given I have created the user 'PublishSetupPermissionsUser' without permissions 'setup data publish' 1 Passed
And I am logged in as the created user 'PublishSetupPermissionsUser' 1 Passed
When I click on the 'Setup' menu item 99 Passed
And I click the Create test method button 4 Passed
And I enter 'publishTM' in the name field 1 Passed
And I click the create input button 11 Passed
And I name the input 'createtminput' 1 Passed
And I set create output on the input edit pop up to true 7 Passed
And I click ok 55 Passed
And I click the save button 49 Passed
Then I can see the publish button is disabled 1 Passed
Given I have created the user 'ArchiveUserPermissionsUser' without permissions 'user accounts archive' 1 Passed
And I am logged in as user 'archiveuserpermissionsuserrm' 1 Passed
And I enter my credentials to log in to user 'ArchiveUserPermissionsUser' 1 Passed
And I click on the 'User accounts' menu item 4 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' without permissions 'user accounts manage' 1 Passed
And I am logged in as the created user 'ViewUserPermissionsUser' 1 Passed
When I click on the 'System settings' menu item 26 Passed
Then I can see the organisation configure button 3 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 'EquipmentPermissionUser' without permissions 'equipment items manage' 1 Passed
And I am logged in as the created user 'EquipmentPermissionUser' 1 Passed
When I click on the 'Equipment' menu item 11 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' without permissions 'equipment maintenance manage' 1 Passed
And I am logged in as the created 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 'ResultsImportConfigurationPermissionsUser' without permissions 'results import configuration manage' 1 Passed
And I am logged in as the created user 'ResultsImportConfigurationPermissionsUser' 1 Passed
When I click on the admin icon 22 Passed
And I click on the 'System settings' menu item 9 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 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 'StockSharedPermissionAdmin' 3 Passed
And stock permission usage history exists 3 Passed
And the stock permission user has only '<Permission>' permissions 9 Passed
And I open the '<Screen>' stock screen 3 Passed
And I open shared details for stock item '<Item>' from '<Screen>' 3 Passed
Then stock batch '<Batch>' cannot be opened from the item details 3 Passed
Given a disposable organisation is ready for trial creation 1 Passed
When a BSL administrator creates it through the Admin API with the default trial duration 1 Passed
And its initial administrator signs in 1 Passed
Then the organisation shows its persisted 30 day Advanced trial and Advanced access 1 Passed
Given a disposable organisation has an active Advanced trial 2 Passed
When its administrator views subscription information after the trial end date while expiry is pending 1 Passed
Then the trial is shown as ending shortly with its end date and upgrade route 1 Passed
When its administrator creates a second trial user 1 Passed
And creating a third trial user is refused 1 Passed
And the second trial user is archived and a replacement is created 1 Passed
And reinstating the original trial user is refused while the trial is full 1 Passed
And the replacement is archived and the original trial user is reinstated 1 Passed
Then the trial has two non-archived users with the original user reinstated 1 Passed
Given a disposable organisation has an active Advanced trial with two users 1 Passed
When a BSL administrator converts its active trial to Paid Advanced through the Admin API 1 Passed
And its administrator creates a third trial user 1 Passed
Then paid Advanced access and three users are available with the trial end date retained 1 Passed
Given a disposable expired trial has two users and retained Advanced equipment 1 Passed
When both trial users sign in and use Essentials while Advanced access is restricted 1 Passed
And a BSL administrator purchases Advanced after trial expiry through the Admin API 1 Passed
Then the retained equipment is accessible again and the trial end date is unchanged 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 7 Passed
And I search for the created job 47 Passed
And I tick then approve the results 7 Passed
Then I can see the message of 'Samples approved successfully' 5 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: 77 Passed
When I have submitted a job with the following data: 11 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 'completionuser' 2 Passed
When I progress a job through the lifecycle with batchNo 'Completion<Outcome>' and input value '<Input>' and spec 'Default specification' 2 Passed
And I open the created job directly on the job viewer 27 Passed
Then the job detail displays the final lifecycle status 5 Passed
And all '1' sample rows display the final lifecycle status 2 Passed
When I view the first sample on the job 7 Passed
Then the sample and its tests display the final lifecycle status 2 Passed
When I click on the default test method by name 2 Passed
Then the test detail displays the final lifecycle status 2 Passed
And the completed sample retains internal approval metadata and specification outcome '<Outcome>' 2 Passed
When I click on the 'job' menu item 2 Passed
Then the created job row displays the final lifecycle status 2 Passed
When I click on the 'sample' menu item 2 Passed
Then the created sample row displays the final lifecycle status 2 Passed
Given I am logged in as user 'mixedcompletionuser' 1 Passed
And I have a verified job with batch 'MixedCompletion' and sample input values: 1 Passed
When I approve the first prepared sample 1 Passed
Then the job detail lifecycle status is 'Results Verified' 4 Passed
When I approve all prepared samples 4 Passed
And I refresh the page 20 Passed
And all '2' sample rows display the final lifecycle status 1 Passed
Given I am logged in as user 'revertcompletionuser' 2 Passed
And I have a verified job with batch 'RevertCompletion<Surface>' and sample input values: 2 Passed
When I open the completion action menu on the '<Surface>' 2 Passed
And I choose the release-specific revert completion action 2 Passed
Then the revert success message uses the release-specific completion terminology 2 Passed
When I open the created job directly on the job viewer 26 Passed
Then the sample detail lifecycle status is 'Results Verified' 4 Passed
When I click on the sample audit button 3 Passed
Then the reverted completion audit retains its historical action key and uses the release-specific label 3 Passed
Given I am logged in as user 'completionaudituser' 1 Passed
When I progress a job through the lifecycle with batchNo 'CompletionAudit' and input value '11' and spec 'Default specification' 1 Passed
And I click on the job audit button 5 Passed
Then the completion audit retains its historical action key and uses the release-specific label 1 Passed
Given I am logged in as user 'revertcommanduser' 1 Passed
And I have a verified job with batch 'RevertCompletionCommand' and sample input values: 1 Passed
And I revert the first prepared sample through the lifecycle API 2 Passed
And only the reverted sample returns to Results Verified 1 Passed
Given I am logged in as user 'completioncertificateuser' 1 Passed
When I progress a job through the lifecycle with batchNo 'CompletionCertificate' and input value '11' and spec 'Default specification' 1 Passed
And I click on the Manage Certificates button 26 Passed
Then manage certificates displays the final job and sample lifecycle status 1 Passed
Given I have created the user 'completionpermissiontarget' 1 Passed
And I am logged in as user 'completionpermissionadmin' 1 Passed
And I search for user 'completionpermissiontarget' 1 Passed
And I click on user account 'completionpermissiontarget' 1 Passed
Then the revert completion permission retains its key and displays the release-specific terminology 1 Passed
Given I have created the user 'completionrestricted' without permissions 'lifecycle revert approval' 1 Passed
And I am logged in as user 'completionpermissionsetup' 1 Passed
When I progress a job through the lifecycle with batchNo 'CompletionPermission' and input value '5' and spec 'Default specification' 1 Passed
And I Log out of LabHQ 9 Passed
And I enter my credentials to log in to user 'completionrestricted' 1 Passed
And I open the completion action menu on the 'sample' 1 Passed
Then the completion action is unavailable without revert permission 1 Passed
Given I am logged in as user 'jobattachmentvisibilityuser' 1 Passed
When I submit a job with batchNo 'jobattachmentvisibility' 1 Passed
And I view the created job on the job viewer 61 Passed
And I click on attachments 18 Passed
And I upload attachment 'Logo.png' 13 Passed
Then I can see the attachment has successfully uploaded to the job 2 Passed
And the attachment visibility is 'Internal only' 2 Passed
When I change the attachment visibility to 'Visible on Portal' 3 Passed
Then the attachment visibility is 'Visible on Portal' 3 Passed
When I change the attachment visibility to 'Internal only' 1 Passed
Then the attachment visibility is 'Internal only' 1 Passed
Given I am logged in as user 'sampleattachmentvisibilityuser' 1 Passed
When I submit a job with batchNo 'sampleattachmentvisibility' 1 Passed
And I view the first sample on the job 78 Passed
Then I can see the attachment has successfully uploaded to the sample 2 Passed
Given I am logged in as user 'jobattachmentUser' 1 Passed
When I submit a job with batchNo 'jobattachment' 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 3 Passed
And I click on options for the added attachment 5 Passed
And I click on the delete button 12 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
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 3 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 49 Passed
And I click Create a new job 46 Passed
And I select the default client from the list 53 Passed
And I enter 'AutoTest' into the batch number 12 Passed
And I select the default product from the list and add a sample 41 Passed
And I submit the job 21 Passed
And I click on the 'Audit' menu item 15 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 5 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 7 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
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 82 Passed
And I can see the message of 'Test method updated successfully' 4 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 46 Passed
When I click on product 'UpdateAuditSpecProduct' on the products page 1 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 23 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 4 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 am on the audit page 3 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 23 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 close the product attachments 2 Passed
And the attachment audits for product 'AuditProductAttachmentProd' have arrived 1 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 'AuditSourceUser' 1 Passed
And I enter 'AuditSource' into the batch number 1 Passed
Then the audit Source column appears after User 1 Passed
And the submitted job audit source is 'LabHQ App' 1 Passed
Given I am logged in as user 'AuditSourceFilterUser' 1 Passed
And I enter 'AuditSourceFilter' into the batch number 1 Passed
And I select only 'LabHQ App' from the audit source filter 1 Passed
And I select only 'MCP' from the audit source filter 1 Passed
Then I can no longer see the submitted job action on the audit 1 Passed
Given a disposable pilot organisation with an authorised MCP client manager and a client with contact and product details 1 Passed
When the manager updates the client's notes through MCP with a reason for change 1 Passed
Then LabHQ saves only the intended change and records the manager and reason in the audit 1 Passed
Given I am logged in as user 'BarcodeScanDefaultUser' 1 Passed
When I click on the my account button 2 Passed
Then barcode scan mode is enabled by default 1 Passed
Given I am logged in as user 'BarcodeScanSampleUser' 1 Passed
And I submit a job with batchNo 'BarcodeScanSample' 1 Passed
And I have navigated to the 'products' page 1 Passed
And barcode scan mode is enabled 4 Passed
When I scan the created sample barcode 1 Passed
Then I am directed to the created sample viewer 3 Passed
Given I am logged in as user 'BarcodeScanInvalidUser' 2 Passed
When I scan barcode content '<Content>' 2 Passed
Then I can see the message of '<Message>' 2 Passed
Given I am logged in as user 'BarcodeScanToggleUser' 1 Passed
And I submit a job with batchNo 'BarcodeScanToggle' 1 Passed
When I disable barcode scan mode 1 Passed
And I scan the created sample barcode 2 Passed
Then I remain on the dashboard 1 Passed
When I enable barcode scan mode 1 Passed
Given I am logged in as user 'BarcodeScanUnsavedUser' 1 Passed
And I submit a job with batchNo 'BarcodeScanUnsaved' 1 Passed
And I click on the sample edit button 6 Passed
And I enter 'Unsaved barcode scan change' into the description 1 Passed
And I scan the created sample barcode and dismiss the unsaved changes prompt 1 Passed
Then I remain on the current sample viewer 1 Passed
When I scan the created sample barcode and accept the unsaved changes prompt 1 Passed
Given I am logged in as user 'BarcodeScanLabelUser' 1 Passed
And I click on the label settings configure button 5 Passed
And I show the advanced label settings 4 Passed
Then I can see 'Sample Lookup' 1 Passed
And the default sample label contains a QR barcode using the sample lookup token 1 Passed
Given I am logged in as user 'CalculationBuilderAdmin' 9 Passed
And the calculation builder is enabled for my organisation 11 Passed
Given I have created a test method called 'DesignerFormulas' with 1 numeric calculation input 1 Passed
When I open the Test Methods list from Setup 12 Passed
And I click on the edit test method button for test method 'DesignerFormulas' on the test method page 1 Passed
And I click the create output button 3 Passed
And I choose calculation input '$1' named 'AutoInput-0' 2 Passed
And I apply the 'multiply' calculation operation 1 Passed
And I open the value picker for formula slot '1' 3 Passed
And I enter number '2.5' from the value picker 1 Passed
And I select formula group 'root' 1 Passed
And I add the 'absolute' function from 'mathematics' 1 Passed
And formula groups 'root' and '0' have different colours 1 Passed
And the formula code is 'ABS(($1 * 2.5))' 2 Passed
And I select the 'display' formula tab 10 Passed
And I use the rounded result in the display formula 1 Passed
And I apply the 'add' calculation operation 1 Passed
And I enter text ' g (measured)' from the value picker 1 Passed
And the formula code is '($R + " g (measured)")' 1 Passed
And I name the output 'MeasuredMass' 1 Passed
And I change the output units to 'g' 1 Passed
And I set the decimals to 0 2 Passed
And I click to hide the output from reports 2 Passed
And changing formula tabs and modes keeps output 'MeasuredMass' with units 'g', decimals '0' and Show on report cleared 1 Passed
And I enter '1' in example input '$1' 3 Passed
And I run Try it out 10 Passed
And Try it out shows raw '2.5 g', rounded '3 g' and display '3 g (measured)' 1 Passed
And I can see test method 'DesignerFormulas' on the test method view page 1 Passed
And I click the edit test method button 6 Passed
And I click on output options for output '1' 2 Passed
And I click the edit output option 10 Passed
Then the formula code is '($R + " g (measured)")' 1 Passed
Given I have created a test method called 'FormulaTooltips' with 1 numeric calculation input 1 Passed
And I click on the edit test method button for test method 'FormulaTooltips' on the test method page 1 Passed
And I click on output options for output '0' 10 Passed
Then the 'multiply' operation is labelled 'Multiply' and explains 'Multiplies the two values together.' 1 Passed
Given I have created a test method called 'ConditionalDisplay' with 3 numeric calculation inputs 1 Passed
And I click on the edit test method button for test method 'ConditionalDisplay' on the test method page 1 Passed
And I name the output 'RangeDecision' 1 Passed
And I add the 'condition' condition 1 Passed
And I open the value picker for formula slot '0.0' 1 Passed
And I choose input '$1' named 'AutoInput-0' from the value picker 1 Passed
And I set the comparison at '0' to 'greaterThan' 1 Passed
And I open the value picker for formula slot '0.1' 3 Passed
And I enter number '1' from the value picker 1 Passed
And I select formula group '0' 2 Passed
And I add the 'and' condition 1 Passed
And I dismiss the value picker 4 Passed
And I add the 'lessThan' condition 1 Passed
And I open the value picker for formula slot '0.1.0' 2 Passed
And I choose input '$2' named 'AutoInput-1' from the value picker 1 Passed
And I open the value picker for formula slot '0.1.1' 2 Passed
And I enter number '5' from the value picker 1 Passed
And I add the 'or' condition 1 Passed
And I add the 'equal' condition 1 Passed
And I choose input '$3' named 'AutoInput-2' from the value picker 1 Passed
And I enter number '9' from the value picker 1 Passed
And I enter text 'In range' from the value picker 1 Passed
And I open the value picker for formula slot '2' 1 Passed
And I enter text 'Review' from the value picker 1 Passed
And formula slot '1' displays 'In range' as a text literal 1 Passed
And the formula code is '(((($1 > 1) && ($2 < 5)) || ($3 == 9)) ? "In range" : "Review")' 1 Passed
And I select the 'test' formula tab 6 Passed
And I enter '2' in example input '$1' 2 Passed
And I enter '3' in example input '$2' 1 Passed
And I enter '0' in example input '$3' 1 Passed
And Try it out displays 'In range' 2 Passed
And I enter '7' in example input '$2' 1 Passed
And Try it out displays 'Review' 1 Passed
And I enter '9' in example input '$3' 1 Passed
Then the conditional formula has If, When true and When false branches 1 Passed
Given I have created a test method called 'LongCalculationInputList' with 24 numeric calculation inputs 1 Passed
And I click on the edit test method button for test method 'LongCalculationInputList' on the test method page 1 Passed
And I open the value picker for formula slot 'root' 1 Passed
And I choose input '$24' named 'AutoInput-23' from the value picker 1 Passed
Then the formula code is '$24' 1 Passed
Given I have created a test method called 'MultiplicationChain' with 3 numeric calculation inputs 1 Passed
And I click on the edit test method button for test method 'MultiplicationChain' on the test method page 1 Passed
And I enter formula code '$1 * $2 * $3' 1 Passed
And I switch to the calculation Designer 3 Passed
And I select the multiplication at '0' and only 'AutoInput-0 g, AutoInput-1 g' are outlined 1 Passed
And I replace the selection with input '$3' named 'AutoInput-2' 1 Passed
And the formula code is '($3 * $3)' 2 Passed
And I undo in Designer 3 Passed
And the formula code is '$1 * $2 * $3' 2 Passed
And I redo in Designer 2 Passed
And I select the multiplication at 'root' and only 'AutoInput-0 g, AutoInput-1 g, AutoInput-2 g' are outlined 1 Passed
And I delete the selection in Designer 1 Passed
And the formula code is '' 1 Passed
Then the formula code is '' 1 Passed
Given I have created a test method called 'OriginalFormulaCode' with 3 numeric calculation inputs 1 Passed
And I click on the edit test method button for test method 'OriginalFormulaCode' on the test method page 1 Passed
And I enter formula code 'Math.Round(SUM($1::$3, 5), 2)' 1 Passed
And I enter formula code 'string.Format("{0:0.00}", ROUND($R, 2, MidpointRounding.AwayFromZero))' 1 Passed
And I can see test method 'OriginalFormulaCode' on the test method view page 2 Passed
And Designer displays the formula without rewriting 'Math.Round(SUM($1::$3, 5), 2)' 1 Passed
And Designer displays the formula without rewriting 'string.Format("{0:0.00}", ROUND($R, 2, MidpointRounding.AwayFromZero))' 1 Passed
And I enter formula code '$R.ToString("F3")' 1 Passed
And Designer explains why the formula is unavailable and opens the exact code '$R.ToString("F3")' 1 Passed
Then the copy is confirmed and the formula documentation is linked 1 Passed
Given I have created a test method called 'TryCalculation' with 1 numeric calculation input 1 Passed
And I click on the edit test method button for test method 'TryCalculation' on the test method page 1 Passed
And I enter formula code '$1 * 2.5' 2 Passed
And Try it out shows raw '2.5 g', rounded '3 g' and display '3 g' 1 Passed
And Try it out clears the previous results 3 Passed
And Try it out shows raw '5 g', rounded '5 g' and display '5 g' 1 Passed
And I set the decimals to 1 1 Passed
And Try it out shows raw '5 g', rounded '5.0 g' and display '5.0 g' 1 Passed
And I enter formula code 'NUM("not a number")' 2 Passed
And Try it out shows a 'display' error 'Could not format the result. Check the display formula.' 1 Passed
And I select the 'result' formula tab 3 Passed
And Try it out shows a 'result' error 'Could not calculate the result. Check the calculation and test values.' 1 Passed
And I enter formula code '$R' 1 Passed
Then Try it out shows raw '2.5 g', rounded '2.5 g' and display '2.5 g' 1 Passed
Given I have created a test method called 'LargeCalculation' with 1 numeric calculation input 1 Passed
And I click on the edit test method button for test method 'LargeCalculation' on the test method page 1 Passed
And I enter a large formula that adds forty terms 1 Passed
And I expand the calculation editor 1 Passed
And I fit, zoom and drag the calculation canvas 1 Passed
And the large formula is still intact 1 Passed
And I expand the oversized result preview for output 'AutoOutput-0' 1 Passed
Then the expanded viewer keeps the large formula and supports View, Code, copy, fit, zoom, drag and collapse 1 Passed
Given I create the following setup data: 1 Passed
And I click on the edit test method button for test method 'PreviewCalculation' on the test method page 1 Passed
And I open the test method's inputs and outputs 1 Passed
And I hover over 'result' for output 'output-1' and see a read-only diagram containing 'AutoInput' 2 Passed
And I click the 'result' formula link for output 'output-1' and it opens that formula for editing 1 Passed
And the formula code is '$1' 1 Passed
And I click the cancel button 4 Passed
And I hover over 'display' for output 'output-1' and see a read-only diagram containing 'Rounded result' 3 Passed
And I click the 'display' formula link for output 'output-1' and it opens that formula for editing 1 Passed
And the formula code is '$R' 1 Passed
And I click on the test method 'PreviewCalculation' on the test method page 1 Passed
And I have progressed a job up to verify with batchNo 'preview-calculation' and input value '2' and spec '' 1 Passed
And I view the test method 'PreviewCalculation' on the sample details page 1 Passed
Then I hover over 'result' for output 'output-1' and see a read-only diagram containing 'AutoInput' 1 Passed
Given I am logged in as user 'createclientuser' 1 Passed
And I click on the 'Clients' menu item 12 Passed
And I click on the create client button 3 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 2 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 4 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 5 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 have created the user 'clientdetailseditor' without permissions 'user accounts manage' 1 Passed
And I am logged in as the created user 'clientdetailseditor' 1 Passed
And I have created a client called 'Client maintenance' 1 Passed
And I click on the default client on the clients page 4 Passed
And I enter 'Updated client maintenance' in the name field 1 Passed
And I save the client and wait for it to reload 1 Passed
Then the client details are saved as 'Updated client maintenance' without changing internal user assignments 1 Passed
Given I have created the user 'clientassignmenteditor' with permissions 'clients view, clients manage, setup data view, user accounts manage' 1 Passed
And I am logged in as the created user 'clientassignmenteditor' 1 Passed
And I have created the user 'clientassignmentcolleague' with permissions 'clients view' 1 Passed
And I enter 'Account assignment client' in the name field 1 Passed
And I assign internal user 'clientassignmenteditor' to the client 1 Passed
And I can see the message of 'Client created successfully' 1 Passed
And I click on client 'Account assignment client' on the clients page 1 Passed
And I can see internal user 'clientassignmenteditor' assigned to the client 1 Passed
And I remove internal user 'clientassignmenteditor' from the client 1 Passed
And I assign internal user 'clientassignmentcolleague' to the client 1 Passed
And I save the client assignments and wait for them to reload 1 Passed
Then the saved client assigns internal user 'clientassignmentcolleague' instead of 'clientassignmenteditor' 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 available product from the selected list 1 Passed
And I click the edit product button 10 Passed
Then I can see the default product on the products edit page 1 Passed
Given I am logged in as user 'welcomevideouser' 1 Passed
When I click the play button on the dashboard welcome widget 1 Passed
Then the new LabHQ welcome video starts playing in the introduction dialog 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 have updated the due date on sample with batch 'dueweek' to 'today' 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 navigate to the 'dashboard' page 2 Passed
And I click on the manage dashboard button 16 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
And I navigate to the 'dashboard' page 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
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
And the User Accounts onboarding task opens the user accounts page 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 3 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 2 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 3 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 3 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' on the stock expiring soon widget 1 Passed
Given I am logged in as user 'StockDashboardPermissionAdmin' 1 Passed
And the stock permission user has no permissions 11 Passed
Then all stock permission dashboard widgets show their data 1 Passed
And I cannot see the 'Stock' menu item 1 Passed
And I cannot manually navigate to the 'Expired Stock' page 1 Passed
And I cannot manually navigate to the 'Inventory' page 1 Passed
Given I am logged in as user '<user>' 10 Passed
And I click on the 'Receive stock' menu item 19 Passed
And I click the receive stock button 32 Passed
And I populate the receive stock form with the following: 16 Passed
And I can see the expiry date input is 'yesterday' 6 Passed
And I populate the testing details form with the default product and test suite 10 Passed
And recently received stock batch '<batchNo>' is displayed 4 Passed
And I receive the job with batch '<batchNo>' 4 Passed
And I click on the view sample link to be taken to the submitted sample for stock batch '<batchNo>' 4 Passed
And I enter due date 'yesterday' on the sample viewer 4 Passed
And I can see the sample due date value is 'yesterday' 8 Passed
And I click on the admin icon 10 Passed
And I select timezone '<timezone>' from the timezone drop down 10 Passed
And I can see the message of 'Settings updated successfully' 17 Passed
And I click on the 'Stock' menu item 16 Passed
And I click on stock item '<itemName>' 6 Passed
And I can see stock batch '<batchNo>' has expiry date 'yesterday' 6 Passed
And I enter 'yesterday' on the audit after date filter 4 Passed
Then I can see the audit after date filter is 'yesterday' 4 Passed
And I can see the header timezone is '<timezone>' 6 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 31 Passed
And I can see the job details displayed 1 Passed
And I click into the first input and enter '123' 2 Passed
And I press enter on the keyboard 13 Passed
Then I can submit the results 2 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 11 Passed
And I click the Receive button 18 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 the invalid numeric result is rejected 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 click into the first input and type '123' on the keyboard 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' 2 Passed
When I press enter on the keyboard 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 5 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
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
And I drop down the test method 'NewTestTestMethod' on the enter results page 1 Passed
And I enter '2' into the default input 2 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 confirm the test method associations 9 Passed
And I click to save test method 'ERSTockTM' 1 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 6 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.' 5 Passed
Given I am logged in as user 'StockResultsPermissionAdmin' 2 Passed
And a stock usage permission test is ready 10 Passed
And the stock permission user has only 'lifecycle results, stock usage tracking' permissions 1 Passed
And I open the stock permission test at 'enter results' 2 Passed
And I open the stock permission test usage dialog 3 Passed
And I choose stock batch 'PERM' for stock item 'PermissionStock' 3 Passed
And I enter a quantity of '5' 3 Passed
Then the stock permission usage history shows the recorded batch 1 Passed
And the stock permission user has only 'lifecycle results' permissions 1 Passed
Then the stock permission test has no usage action 7 Passed
Given I am logged in as user 'LatestResultsLinkUser' 1 Passed
When I open a received two-sample job from an existing results link 1 Passed
Then the linked job is shown in Enter Results 1 Passed
Given I am logged in as user 'ResultsCommitCancelUser' 1 Passed
When I open a received two-sample job from the results work queue 4 Passed
And I commit '12' and cancel '34' using the grid keyboard controls 1 Passed
And I reload the saved results job 3 Passed
Then the persisted results inputs are '12' and '' 1 Passed
Given I am logged in as user 'ResultsPasteCopyUser' 1 Passed
And I paste '12' and '34' into successive result inputs 1 Passed
And I can see '34.0' in the output field 1 Passed
Then the copied input range contains '12' and '34' 1 Passed
Given I am logged in as user 'ResultsPasteOutputUser' 1 Passed
And I paste '56' into the input and '999' into the adjoining output 1 Passed
And I can see '56.0' in the output field 1 Passed
Then I can see '56.0' in the output field 1 Passed
Given I am logged in as user 'ResultsShortcutsUser' 1 Passed
Then the workspace shortcuts open and focus their controls 1 Passed
Given I am logged in as user 'createequipmentuser' 1 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 save the new equipment item 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 'equipmentusageuser' 14 Passed
Given I have an equipment usage job with '1' tests 10 Passed
And the equipment usage subscription tier is '<Tier>' 6 Passed
When I open equipment for test '1' from 'Enter Results' 8 Passed
And unchanged equipment cannot be saved 4 Passed
And I search equipment using the mixed-case name of 'Balance' 2 Passed
And I search equipment by the reference of 'Centrifuge' 2 Passed
And equipment search 'no-such-equipment-usage-item' shows no results 2 Passed
And I record equipment 'Centrifuge,Balance' 4 Passed
And the equipment used list is 'Centrifuge,Balance' 2 Passed
And equipment 'Balance' is already selected and cannot be recorded again 2 Passed
And I remove recorded equipment 'Balance' 6 Passed
And I search equipment by the reference of 'Balance' 2 Passed
And I record equipment 'Balance' 6 Passed
And I save the equipment usage 15 Passed
And I open equipment for test '1' from 'Test Details' 8 Passed
Then the equipment used list is 'Balance,Centrifuge' 2 Passed
And I record equipment 'Balance,Centrifuge' 3 Passed
And there are '1' equipment usage audit entries 4 Passed
And I record equipment 'Oven' 2 Passed
And I discard equipment changes using '<Exit>' 2 Passed
And I open equipment for test '1' from 'Enter Results' 3 Passed
And the equipment used list is 'Balance,Centrifuge' 4 Passed
And I discard equipment changes using 'Cancel' 8 Passed
Then there are '1' equipment usage audit entries 3 Passed
And an equipment audit records 'Linked' items 'Balance,Centrifuge' for test '1' with reason 'none' 2 Passed
And the equipment usage audit count remains '1' 3 Passed
Given I have an equipment usage job with '2' tests 4 Passed
And I open equipment for test '2' from 'Enter Results' 2 Passed
And the equipment used list is 'none' 3 Passed
And I open equipment for test '2' from 'Test Details' 8 Passed
And the equipment used list is 'Balance' 2 Passed
And I submit the equipment job results without requiring equipment on every test 1 Passed
And I verify and approve the equipment job 1 Passed
And equipment test '2' has final lifecycle status 1 Passed
And I record equipment 'Centrifuge' 2 Passed
And the equipment used list is 'Centrifuge' 1 Passed
And I remove recorded equipment 'Centrifuge' 1 Passed
Then equipment test '2' has final lifecycle status 1 Passed
And the equipment removal reason setting is '<Setting>' 2 Passed
When I open equipment for test '2' from 'Enter Results' 2 Passed
And I remove recorded equipment 'Centrifuge,Balance' 2 Passed
And I record equipment 'Meter,Oven' 2 Passed
And <Save> 2 Passed
And the equipment used list is 'Meter,Oven' 2 Passed
And there are '3' equipment usage audit entries 2 Passed
Then an equipment audit records 'Removed' items 'Balance,Centrifuge' for test '2' with reason '<Reason>' 2 Passed
And an equipment audit records 'Linked' items 'Oven,Meter' for test '2' with reason 'none' 2 Passed
And an equipment audit records 'Linked' items 'Balance,Centrifuge' for test '2' with reason 'none' 2 Passed
And the equipment removal reason setting is 'enabled' 1 Passed
And I cancel the equipment removal reason and edit 1 Passed
Then an equipment audit records 'Linked' items 'Balance' for test '1' with reason 'none' 1 Passed
And I decommission usage equipment 'Balance' 1 Passed
And decommissioned usage equipment 'Balance' cannot be selected 1 Passed
Then the equipment used list is 'none' 1 Passed
When I open the equipment job in Enter Results 4 Passed
Then the equipment entry points are '<Visibility>' 4 Passed
Given I am logged in as user 'Expiredstockuser' 1 Passed
Then I can see the following batch of expired stock showing here: 3 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' 2 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 2 Passed
Given I am logged in as user 'StockExpiredPermissionAdmin' 3 Passed
And the stock permission user has only 'stock expired' permissions 2 Passed
And I open the 'Expired Stock' stock screen 4 Passed
Then the expiry tab shows item 'PermissionSoon' and batch 'PERM-SOON' 1 Passed
Then stock batch 'PERM-EXPIRED' cannot be disposed 1 Passed
And the stock permission user has only 'stock expired, stock adjust' permissions 1 Passed
And I click to dispose stock batch 'PERM-EXPIRED' 1 Passed
And I can see the message of 'Stock batch disposed successfully' 1 Passed
Then I can no longer see stock item 'PermissionExpired' showing here 1 Passed
Given I am logged in as user 'ExportJobValidationUser' 1 Passed
And I have progressed a job up to approval with batchNo 'Export selection' and input value '5' 1 Passed
When I click on the 'Reporting' menu item 25 Passed
And I click on the 'Export results' menu item 30 Passed
And I choose the 'results' export format 3 Passed
And the export defaults to the previous month in UTC 1 Passed
And I choose the selected jobs filter 1 Passed
And the export cannot start 3 Passed
And I type 'not a valid job!' into the export job search 1 Passed
And I cannot add the typed job to export 2 Passed
And I type '010100-999999' into the export job search 1 Passed
And I select the created job for export 20 Passed
And the export can start 1 Passed
And I cannot select the created job twice for export 1 Passed
And I remove the created job from export 1 Passed
Then the export cannot start 1 Passed
Given I am logged in as user 'ExportJobSwitchUser' 1 Passed
And I have progressed a job up to approval with batchNo 'First export job' and input value '5' 4 Passed
And I have a second submitted export job 3 Passed
And I enter the date range '01/01/2023' to '02/01/2023' on the export page 3 Passed
And I start the results export 30 Passed
And I download the export CSV 30 Passed
Then the CSV includes only the created job 2 Passed
Given I am logged in as user 'ExportDateSwitchUser' 1 Passed
And I choose the 'samples' export format 8 Passed
And I choose the submitted date filter 4 Passed
Then the CSV includes both created jobs 3 Passed
Given The organisation subscription tier is set to 'Growth' 8 Passed
And I am logged in as user 'ExportMultipleJobsUser' 1 Passed
And I select the second created job for export 2 Passed
And I am logged in as user 'ExportGrowthUser' 1 Passed
And I have progressed a job up to approval with batchNo 'Growth export' and input value '5' 1 Passed
Given I am logged in as user 'ExportAllClientsUser' 1 Passed
And I have a second submitted export job for another client 1 Passed
When I select only the default client from the client filter 7 Passed
And I click on the 'Reporting' menu item 9 Passed
Given I am logged in as user 'GuidedSubmitJobIdUser' 1 Passed
Then the guided job ID is awaiting automatic assignment 1 Passed
When I select the default client from the list 3 Passed
And I enter 'GeneratedJobIdBatch' into the batch number 1 Passed
And I go to the next submission step 32 Passed
And I select the default product and set its sample count to '1' 8 Passed
And I select the default test suite for the active sample 10 Passed
And I submit the new job from the review 4 Passed
Then the submitted job has an automatically generated ID 1 Passed
And I customise the job ID using the generated job ID 1 Passed
Then I am warned that the job ID already exists 1 Passed
When I change the job ID to a unique value starting with 'GUIDED' 1 Passed
And I enter 'CustomJobIdBatch' into the batch number 1 Passed
And I select the default product and set its sample count to '3' 3 Passed
Then I can see 3 samples with IDs generated from the changed job ID 1 Passed
Given I am logged in as user 'GuidedSubmitUser' 1 Passed
And I enter 'GuidedJobBatch' into the batch number 1 Passed
And I enter 'Guided job description' into the new job description 1 Passed
And I enter sample batch 'GuidedSampleBatch', reference 'GuidedReference' and description 'Guided sample description' 1 Passed
And I copy the active sample details to all samples 2 Passed
And I go to the next sample 5 Passed
Then the active sample contains batch 'GuidedSampleBatch', reference 'GuidedReference' and description 'Guided sample description' 3 Passed
When I go to the previous sample 2 Passed
When I go to the next submission step 4 Passed
Then the job submission review displays 'GuidedJobBatch' 1 Passed
And the job submission review displays 'Guided job description' 1 Passed
And the job submission review displays 'GuidedSampleBatch' 1 Passed
And the job submission review displays 'GuidedReference' 1 Passed
And the job submission review displays 'Guided sample description' 1 Passed
When I edit the job details from the submission review 1 Passed
And I enter 'Edited guided job description' into the new job description 1 Passed
Then the job submission review displays 'Edited guided job description' 1 Passed
When I edit sample '2' for the default product from the submission review 1 Passed
Then I can see the job details on the job viewer 6 Passed
And I can see the job status is 'Submitted' on the job viewer 1 Passed
Given I am logged in as user 'GuidedSubmitValidationUser' 1 Passed
Then the guided submission next button is disabled 3 Passed
When I select the default product and set its sample count to '1' 2 Passed
And I search for the already selected default product 1 Passed
Then the already selected product cannot be selected again 1 Passed
And I clear the active sample batch number 2 Passed
Given I am logged in as user 'GuidedSubmitSampleValidationUser' 1 Passed
And I have submission data with multiple test suites 3 Passed
And I select the client with a product that has multiple test suites 3 Passed
And I enter 'ValidationBannerBatch' into the batch number 1 Passed
And I select the product with multiple test suites and set its sample count to '1' 2 Passed
Then the active sample validation displays 'A batch number is required' 1 Passed
And the active sample validation displays 'A test suite is required' 1 Passed
And the active sample validation displays 'At least one test method is required' 1 Passed
When I enter 'ValidSampleBatch' as the active sample batch number 1 Passed
Then the active sample validation confirms the sample is valid 1 Passed
Given I have configured the first custom sample field as '<title>' with type '<fieldType>' 2 Passed
And I am logged in as user '<username>' 2 Passed
And I enter 'CustomFieldValidationBatch' into the batch number 2 Passed
And I enter '<value>' in submit custom field '<title>' 2 Passed
Then the active sample validation displays '<message>' 2 Passed
Given I am logged in as user 'GuidedSubmitPendingChangesUser' 1 Passed
And I try to leave the dirty guided submission and dismiss the warning 1 Passed
Then I remain on the guided submission 1 Passed
Given I have set the first custom job field as 'Guided job field' 1 Passed
And I have set the first custom sample field as 'Guided sample field' 1 Passed
And I am logged in as user 'GuidedSubmitCustomFieldsUser' 1 Passed
And I enter 'CustomFieldsBatch' into the batch number 1 Passed
And I enter 'Job field value' in submit custom field 'Guided job field' 1 Passed
And I enter 'Sample field value' in submit custom field 'Guided sample field' 1 Passed
Then the job submission review displays 'Job field value' 1 Passed
And the job submission review displays 'Sample field value' 1 Passed
When I submit the new job from the review 3 Passed
And I can see the value 'Job field value' for the field 'Guided job field' 1 Passed
Then I can see the value 'Sample field value' for the field 'Guided sample field' 1 Passed
Given I am logged in as user 'GuidedSubmitTestsUser' 1 Passed
And I enter 'GuidedTestsBatch' into the batch number 1 Passed
And I select the product with multiple test suites and set its sample count to '2' 1 Passed
Then no test suite is selected for the active sample 1 Passed
When I select the default test suite for the active sample 2 Passed
Then the default test method is displayed as an assigned test 3 Passed
When I remove the default test method from the active sample 1 Passed
Then the active test suite is highlighted as customised 1 Passed
And the guided submission next button is disabled 1 Passed
When I add the additional test method to the active sample 1 Passed
And I add the default test method to the active sample 1 Passed
And the additional test method is displayed as an assigned test 2 Passed
And the active test suite is highlighted as customised 2 Passed
When I set the default test method total to '3' and copy it to the other methods 1 Passed
Then both assigned test methods have a total of '3' 1 Passed
When I copy the active test suite and tests to all product samples 1 Passed
And both assigned test methods have a total of '3' 1 Passed
Then I See 3 repeats for test method 'AutoTestMethod' 1 Passed
And I See 3 repeats for test method 'GuidedAdditionalTestMethod' 1 Passed
Given I am logged in as user 'GuidedSubmitTestMethodAvailabilityUser' 1 Passed
And I have created a test method called 'GuidedLinkedTestMethod' 1 Passed
And I have created an unlinked test method called 'GuidedUnlinkedTestMethod' 1 Passed
And I enter 'GuidedTestMethodAvailability' into the batch number 1 Passed
Then I can see test method 'GuidedLinkedTestMethod' when editing tests on the create job page 1 Passed
And I can see test method 'GuidedUnlinkedTestMethod' when editing tests on the create job page 1 Passed
Given I am logged in as user 'GuidedSubmitClientChangeUser' 1 Passed
And I have created a visible secondary customer client called 'GuidedSecondaryClient' 1 Passed
And I select the default product and set its sample count to '2' 1 Passed
And I go to the previous submission step 1 Passed
And I attempt to change to the visible secondary client 1 Passed
Then I am warned that changing client will clear dependent submission data 1 Passed
When I cancel changing the submission client 1 Passed
Then the default submission client remains selected 1 Passed
When I confirm changing to the visible secondary client 1 Passed
Then the selected products and samples are cleared for the new client 1 Passed
Given I am logged in as user 'GuidedSubmitSampleLimitsUser' 1 Passed
And I set the default product sample count to zero 1 Passed
Then the default product retains at least one sample 1 Passed
When I fill the default product to the sample limit and try to exceed it 1 Passed
Then the default product sample count remains at the configured limit 1 Passed
When I remove the default product from the submission 1 Passed
Then no products or samples remain selected 2 Passed
Given I am logged in as user 'GuidedSubmitDeleteSampleUser' 1 Passed
And I enter 'DeleteSampleJobBatch' into the batch number 1 Passed
And I enter 'KeepFirstSample' as the active sample batch number 1 Passed
And I enter 'RemoveMiddleSample' as the active sample batch number 1 Passed
And I enter 'KeepLastSample' as the active sample batch number 1 Passed
And I go to the previous sample 1 Passed
And I delete the active sample 1 Passed
Then the active sample batch number is 'KeepLastSample' 2 Passed
Then the active sample batch number is 'KeepFirstSample' 1 Passed
When I delete the active sample 2 Passed
Then the sample details show that a sample must be added 1 Passed
When I go to the previous submission step 1 Passed
Given I am logged in as user 'GuidedSubmitMultipleProductsUser' 1 Passed
And I enter 'MultiProductJobBatch' into the batch number 1 Passed
And I go directly to the 'Products & Samples' submission step 2 Passed
And I go directly to the 'Sample Details' submission step 2 Passed
Then the active sample batch number defaults to 'MultiProductJobBatch' 1 Passed
When I enter sample batch 'CopiedBatch', reference 'CopiedReference' and description 'Copied description' 1 Passed
Then the active sample contains batch 'CopiedBatch', reference 'CopiedReference' and description 'Copied description' 1 Passed
And I go directly to the 'Review & Submit' submission step 1 Passed
Then the job submission review displays both selected products 1 Passed
Given I am logged in as user 'GuidedSubmitFinalCoverageUser' 1 Passed
Then the guided submission steps have the following states: 5 Passed
When I go directly to the 'Review & Submit' submission step 2 Passed
And I enter 'OptionalJobFieldsSampleBatch' as the active sample batch number 1 Passed
When I submit the new job while attempting a duplicate submission and verify the success notification 1 Passed
Given I am logged in as user 'GuidedSubmitPermissionSetupUser' 1 Passed
And I have created the user 'GuidedSubmitWithoutReceiveUser' without permissions 'lifecycle receive' 1 Passed
Given I am logged in as the created user 'GuidedSubmitWithoutReceiveUser' 1 Passed
And I enter 'WithoutReceivePermissionBatch' into the batch number 1 Passed
Then the submission review only displays the standard submit action 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' 1 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 open batch 'BAT987' for editing 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 5 Passed
And I can see the message of 'Stock updated successfully' 4 Passed
And I return to the available batches for 'BatchStock' 1 Passed
Then I can see the following information on the batch pop up: 3 Passed
Given I am logged in as user 'StockInventoryPermissionAdmin' 2 Passed
And the stock permission user has only 'stock inventory' permissions 1 Passed
Then stock batch 'PERM' cannot be edited from inventory 1 Passed
And the stock permission user has only 'stock inventory, stock inventory manage' permissions 1 Passed
And I open batch 'PERM' for editing 2 Passed
And I enter 'PERM-EDITED' in the batch input 2 Passed
And I return to the available batches for 'PermissionStock' 1 Passed
Then stock batch 'PERM-EDITED' has available quantity '100' 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
And I click on the edit button 16 Passed
Then I can see the message of 'Investigation updated successfully' 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 can see the message of 'Job custom fields saved successfully' 7 Passed
And I click on the 'Submit job' menu item 13 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 '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 have created the user 'AddSamplePermissionsUser' without permissions 'jobs add samples' 1 Passed
And I am logged in as user 'AddSamplePermissionsUserem' 1 Passed
And I have progressed a job up to enter results with batchNo 'spec' 11 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' without permissions 'jobs delete' 1 Passed
And I am logged in as user 'DeleteJobPermissionsUserrm' 1 Passed
And I enter my credentials to log in to user 'DeleteJobPermissionsUser' 1 Passed
And I click the job options button 1 Passed
Given I have created the user 'EditJobPermissionsUser' without permissions 'jobs edit' 1 Passed
And I am logged in as user 'EditJobPermissionsUserrm' 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 'JobAAttachmentsPermissionsUser' without permissions 'jobs add attachments' 1 Passed
And I am logged in as user 'JobAAttachmentsPermissionsUserrm' 1 Passed
And I enter my credentials to log in to user 'JobAAttachmentsPermissionsUser' 1 Passed
Then I cannot add new attachments 4 Passed
And I cannot amend the attachment visibility 2 Passed
Given I have created the user 'JobDAttachmentsPermissionsUser' without permissions 'jobs delete attachments' 1 Passed
And I am logged in as user 'JobDAttachmentsPermissionsUserrm' 1 Passed
And I enter my credentials to log in to user 'JobDAttachmentsPermissionsUser' 1 Passed
Then I cannot see the option to delete the attachment 2 Passed
And I can amend the attachment visibility 2 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 5 Passed
And I open the filters panel on the 'job' viewer 5 Passed
And I search the 'job' viewer for 'NULL' 1 Passed
And I can see the message of 'No jobs found. Please refine your search' 3 Passed
And I search the 'job' viewer for 'SearchJob' 1 Passed
And The job 'SearchJob' shows on the job viewer 1 Passed
And I search the 'job' viewer for ' iN tE ' 1 Passed
And the created job has status search highlight 'In Te' 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 the final lifecycle status on the job 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 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 7 Passed
Then The sample 'SampleView' shows on the sample viewer 1 Passed
Given I am logged in as user 'SampleApprovalTerminologyUser' 1 Passed
When I progress a job through the lifecycle with batchNo 'SampleApprovalTerminology' and input value '5' and spec 'Default specification' 1 Passed
And the sample viewer shows the completed date column 1 Passed
And I open the filters panel on the 'sample' viewer 6 Passed
And the sample filters show completed date terminology 1 Passed
And I enter a sample approval date range 1 Passed
And the active sample filters show completed date terminology 1 Passed
And I open the created sample inspector 1 Passed
Then the sample inspector shows completed on and completed by 1 Passed
Given I am logged in as user 'SampleSearchUser' 4 Passed
And I have progressed a job up to enter results with batchNo 'SampleSearch' 1 Passed
And I search the 'sample' viewer for 'NULL' 1 Passed
And I can see the message of 'No samples found. ' 1 Passed
And I search the 'sample' viewer for 'SampleSearch' 1 Passed
And The sample 'SampleSearch' shows on the sample viewer 1 Passed
And I search the 'sample' viewer for ' In tE ' 1 Passed
And sample '1' has 'status' search highlight 'In Te' 1 Passed
And I search the 'sample' viewer for ' oPrOd ' 1 Passed
And sample '1' has 'product' search highlight 'oProd' 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
And I have progressed a job up to enter results with batchNo 'JobFilterOutBatch' 1 Passed
And I select 'clientFilterClient' in the job client filter 1 Passed
And I select 'clientFilterMethod1' in the job test method filter 1 Passed
Then I cannot see job with batch 'JobFilterOutBatch' on the job viewer 1 Passed
And I can see job with batch 'JobFilterInBatch' on the job viewer 1 Passed
And I have submitted a job with the following data: 1 Passed
And I progress the submitted job with batch 'SampleFinalBatch' to approval with input value '123' 1 Passed
And I select the final lifecycle status as the sample status from 1 Passed
And I select the final lifecycle status as the sample status to 1 Passed
And I search the sample viewer for the final lifecycle status 1 Passed
Then I cannot see sample with batch 'SampleInTestBatch' on the sample viewer 1 Passed
And The sample 'SampleFinalBatch' shows on the sample viewer 1 Passed
Given I am logged in as user 'DownloadJobCertManageCertificatesUser' 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 '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
And I click the job certificate generate button on manage certificates 5 Passed
Then I can see my new manage certificates template is selected by default 2 Passed
And I can select a custom manage certificates template 2 Passed
And I cannot see certificate output format options 1 Passed
When I confirm the certificate settings and wait for the pdf file download 2 Passed
Then I can see 1 job certificates on manage certificates 1 Passed
When I open the generated job certificates tab on manage certificates 1 Passed
Then I can see 1 certificates in the manage certificates history 1 Passed
And the first certificate uses the selected custom template 2 Passed
And I can see the first certificate is for the primary client 2 Passed
And I can see the first certificate is a pdf document in the manage certificates history 1 Passed
And I can see the first certificate details in the manage certificates history 2 Passed
And I can download the first certificate from the manage certificates history 2 Passed
When I click the close button 8 Passed
Then I can see the generated job certificate on the audit 1 Passed
And I click on certificates 6 Passed
Then I can see the job certificate attachment showing here 2 Passed
And I can download the first certificate from the certificates section 2 Passed
And I open the generated job certificates tab on manage certificates 6 Passed
And I delete the first certificate from the manage certificates history 2 Passed
Then I can see the message of 'Job certificate deleted successfully.' 1 Passed
And I can see 0 certificates in the manage certificates history 2 Passed
Then I can see the deleted job certificate on the audit 1 Passed
And I can no longer see the templates when I delete them 3 Passed
Given I am logged in as user 'PreviewPdfOnlyJobCertUser' 1 Passed
And I have enabled DOCX certificate output 4 Passed
And I have created a visible secondary customer client called 'SecondaryJobPreviewClient' 1 Passed
And I have progressed a job up to approval with batchNo 'previewpdfonlyjobcert' and input value '123' 1 Passed
And I click the job certificate preview button on manage certificates 2 Passed
Then I can see certificate output format options 4 Passed
And I cannot select DOCX as the certificate output format 2 Passed
When I select the secondary client in certificate settings 1 Passed
And I confirm the certificate settings and wait for the pdf file download 2 Passed
Then I can see the selected manage certificates job is the current job 7 Passed
And I can see 0 job certificates on manage certificates 1 Passed
Given I am logged in as user 'RegenerateDocxJobCertUser' 1 Passed
And I have progressed a job through the lifecycle process with batchNo 'regendocxjobcert' and input value '234' 1 Passed
When I select DOCX as the certificate output format 2 Passed
And I confirm the certificate settings and wait for the docx file download 2 Passed
Then I can see the first certificate is a docx document in the manage certificates history 2 Passed
When I regenerate the first certificate from the manage certificates history 2 Passed
Then I can see DOCX is selected as the certificate output format 2 Passed
And I can see the message of 'Job certificate regenerated successfully.' 1 Passed
And I can see 2 certificates in the manage certificates history 2 Passed
Then I can see 2 generated certificates in the certificates section 2 Passed
Then I can see the regenerated job certificate on the audit 1 Passed
Given I am logged in as user 'JobCertDefaultClientUser' 1 Passed
And I have progressed a job through the lifecycle process with batchNo 'defaultjobcertclient' and input value '234' 1 Passed
Then I can see the primary client is selected in certificate settings 2 Passed
Given I am logged in as user 'GenerateJobCertSecondaryClientUser' 1 Passed
And I have created a visible secondary customer client called 'SecondaryJobGenerateClient' 1 Passed
And I have progressed a job through the lifecycle process with batchNo 'generatesecondaryjobcert' and input value '234' 1 Passed
And I confirm the certificate settings and wait for the file download 5 Passed
And I select the secondary client in certificate settings 2 Passed
Then I can see 2 certificates in the manage certificates history 2 Passed
And I can see the first certificate is for the secondary client 2 Passed
And I can see the latest certificate is marked in the manage certificates history 2 Passed
And I regenerate the first certificate from the manage certificates history 1 Passed
Then I can see the secondary client is selected in certificate settings 1 Passed
Given I am logged in as user 'CannotGenerateJobCertManageCertificatesUser' 1 Passed
And I have progressed a job up to approval with batchNo 'nogeneratejobcert' and input value '123' 1 Passed
Then I cannot click the job certificate generate button on manage certificates 1 Passed
Given I am logged in as user 'PartialApprovalJobCertUser' 1 Passed
And I enter 'partialapprovaljobcert' into the batch number 1 Passed
And I click submit and go to next step to submit job with batch 'partialapprovaljobcert' 1 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
And I cannot click the job certificate generate button on manage certificates 1 Passed
Then I can see 0 job certificates on manage certificates 1 Passed
Given I am logged in as user 'CannotPreviewJobCertUser' 1 Passed
And I enter 'jobcert' into the batch number 1 Passed
And I click submit and go to next step to submit job with batch 'jobcert' 1 Passed
Then I cannot click the job certificate preview button on manage certificates 1 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
And I edit the template configuration with the following: 1 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 'labelpresetoptionsuser' 1 Passed
Then the advanced label settings are hidden 1 Passed
And I can see the following sample label presets: 1 Passed
Given I am logged in as user 'labelpresetapplyuser' 1 Passed
And I apply sample label preset '1' 1 Passed
Then the large container preset settings are loaded 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 4 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 6 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 4 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!AB' 1 Passed
And I enter username 'PassChangeUser' and password of 'NewDetails123!AB' 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 'short12' 1 Passed
Then I can see the message of 'Invalid password: minimum length 8.' 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 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
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 'ManageCertificatesUser1' 1 Passed
And I have progressed a job up to approval with batchNo 'ManageCertAccess' and input value '12.3' 1 Passed
And I click on the 'Manage Certificates' menu item 3 Passed
And I select the current job on manage certificates 2 Passed
And I can see the primary client is selected on manage certificates 1 Passed
Given I am logged in as user 'ManageCertificatesUser2' 1 Passed
And I have progressed a job up to approval with batchNo 'ManageCertJobDetails' and input value '8.2' 1 Passed
Given I am logged in as user 'ManageCertificatesUser3' 1 Passed
And I have progressed a job up to approval with batchNo 'ManageCertSampleDetails' and input value '7.4' 1 Passed
Given I am logged in as user 'ManageCertificatesUser4' 1 Passed
When I progress a job up to approval with batchNo 'ManageCertApproveSamples' and input value '5.1' and spec 'Default specification' 1 Passed
Given I am logged in as user 'ManageCertificatesUser5' 1 Passed
And I have progressed a job up to approval with batchNo 'ManageCertSearch' and input value '11.8' 1 Passed
And I search manage certificates by the current job identifier 1 Passed
And I search manage certificates by the default client name 1 Passed
And I can see sample status for the first sample on manage certificates 1 Passed
Given I am logged in as user 'ManageCertificatesUser6' 1 Passed
When I submit a job with batchNo 'ManageCertOlder' 1 Passed
And I store the current job id as the previous job id 1 Passed
And I submit a job with batchNo 'ManageCertLatest' 1 Passed
Then I can see the jobs list is paginated on manage certificates 1 Passed
And I can see the current job first and previous job second on manage certificates 1 Passed
Given I am logged in as user 'ManageWorkNotReceivedUser' 1 Passed
When I submit a job with batchNo 'ManageWorkNotReceived' 1 Passed
And I select only the default client from the client filter 5 Passed
And I click on the 'Resources' menu item 13 Passed
And I click on the 'Manage work' menu item 13 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
And I select the job with batch 'CreateWorkbook' at manage work 1 Passed
And I click on create workbook button 8 Passed
Then I can see the created message 5 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 can download the workbook using the re-download 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' 2 Passed
And I select the job with batch 'DownloadWorkbook' at manage work 2 Passed
And I can download the workbook using the download 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 a fresh MCP app and a user with access to seeded clients in North Lab and South Lab 1 Passed
When the user signs in to request read-only access 4 Passed
And the native picker shows the full names of both organisations 1 Passed
And the user chooses North Lab 9 Passed
And native consent shows the read-only access summary 1 Passed
And the user approves access 10 Passed
And the read-only connection can only read the North Lab client 1 Passed
And the user disconnects and signs in again for read-only access 1 Passed
And the user chooses South Lab 1 Passed
Then the new read-only connection can only read the South Lab client 1 Passed
Given a fresh MCP app and a user with authenticator MFA configured 1 Passed
And the user chooses North Lab and completes the required authenticator setup 1 Passed
Then the read-only connection is bound only to North Lab 1 Passed
Given an MCP reader with access to a seeded client in North Lab 3 Passed
When the reader approves a read-only connection and reads the client 3 Passed
And the reader loses '<access>' 3 Passed
Then the same connection denies reads after loss of '<access>' 3 Passed
Given a fresh MCP app and a user with access to North Lab and South Lab 4 Passed
When the user signs in to request '<grant>' access for the first time 2 Passed
And native consent explains '<grant>' access 2 Passed
Then the connection is bound only to North Lab with the approved access 5 Passed
Given a fresh MCP app registered for all MCP scopes and a user with access to North Lab and South Lab 1 Passed
When the user signs in to request all MCP scopes for the first time 2 Passed
And native consent explains 'read and write' access 1 Passed
And the read-only connection is bound only to North Lab 2 Passed
And the same user starts a read and write request for the same app 2 Passed
And fresh native consent explains the new write approval 2 Passed
And the user cancels on the native consent page 1 Passed
Then the app receives access_denied without an authorisation code 1 Passed
Given a fresh MCP app registered for all MCP scopes and offline access and a user with access to North Lab and South Lab 1 Passed
And native consent keeps the summary and adds the stay signed in line 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 an Advanced organisation with its MCP setting and rollout on 5 Passed
When a user without settings permission uses the keyboard to copy and paste the URL from Profile 1 Passed
Then the administrator can copy and paste the URL from Profile with the keyboard or mouse 1 Passed
When the administrator signs in to the disposable clipboard organisation 3 Passed
Then the administrator can select and copy the URL from the Profile fallback dialog 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
Given I am logged in as user 'EnforcedMfaUser' 1 Passed
And I enable the enforce MFA setting 2 Passed
And the enforce MFA setting is enabled 1 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 '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 select US from the locale drop down 1 Passed
Then I can see the submitted date in the US format 1 Passed
And I can see the header date matches organisation today 2 Passed
And I can see the receive stock expiry date defaults to organisation today 2 Passed
And I enter '<batchNo>' into the batch number 2 Passed
And I click submit and go to next step to submit job with batch '<batchNo>' 2 Passed
And I can see the sample due date defaults to the next organisation working day 2 Passed
Then I can see the header timezone is '<timezone>' 2 Passed
And I have progressed a job up to verify with batchNo '<batchNo>' and input value '1' and spec 'Default specification' 2 Passed
And I select <locale> from the locale drop down 2 Passed
Then I can see the submitted date in the <locale> format 2 Passed
And recently received stock batch '<batchNo>' has a submitted sample link 2 Passed
And I select 'Stock Batch' from the audit type filter 2 Passed
And I select 'Stock Batch Received' from the audit actions 2 Passed
Then the stock receipt audit for batch '<batchNo>' is dated organisation today 2 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 3 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 5 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 6 Passed
And I enter the email address for external user 'invite' 1 Passed
And I click on the menu for external user 'invite' 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
And I confirm revoking portal access and wait for the client to reload 1 Passed
And I can no longer see the external user 'invite' in the list 1 Passed
And I re-enter the email address for external user 'invite' 1 Passed
Then I can see the message of 'Client updated successfully' 1 Passed
And I can see the external user 'invite' 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 the email address for external user 'resend' 1 Passed
And I click on the menu for external user 'resend' 1 Passed
And I click on resend invite 2 Passed
Then I can see confirmation that the invitation email was resent to the external user 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 the email address for external user 'resendfail' 1 Passed
And I have accepted the invite for external user 'resendfail' 1 Passed
And I click on the menu for external user 'resendfail' 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>' 4 Passed
And I am logged in as user 'portaltier' 2 Passed
And I enter the email address for external user '<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 'ProductWalkthroughStartUser' 1 Passed
Then the product walkthrough is not automatically displayed 1 Passed
And I can start the product walkthrough 1 Passed
When I start the product walkthrough 1 Passed
Then the product walkthrough shows the 'Welcome to Products' step 2 Passed
Given I am logged in as user 'ProductWalkthroughRestartUser' 1 Passed
And I start the product walkthrough 5 Passed
And I continue the product walkthrough 19 Passed
Then the product walkthrough shows the 'Create a Product' step 4 Passed
When I click the Create product button 4 Passed
Then the product walkthrough shows the 'Creating a Product' step 4 Passed
When I continue the product walkthrough 20 Passed
Then the product walkthrough shows the 'Enter Product Details' step 2 Passed
When I enter 'Discarded Walkthrough Product' in the walkthrough product name field 1 Passed
And I close the product walkthrough 1 Passed
Then the walkthrough product name is empty 1 Passed
Given I am logged in as user 'ProductWalkthroughValidationUser' 1 Passed
Then the product walkthrough remains on the 'Enter Product Details' step 1 Passed
When I enter 'Walkthrough Product' in the walkthrough product name field 1 Passed
Then the product walkthrough shows the 'Assign Test Suites' step 2 Passed
When I open the walkthrough test-suite selector 2 Passed
Then the product walkthrough shows the 'Manage Test Suites' step 2 Passed
And the product walkthrough contains the practice test suite 1 Passed
Then the product walkthrough remains on the 'Manage Test Suites' step 1 Passed
When I add the practice test suite to the walkthrough product 2 Passed
Then the product walkthrough shows the 'Edit Test Suites' step 1 Passed
Then the product walkthrough shows the 'Confirm Test Suites' step 2 Passed
When I confirm the walkthrough dialog 4 Passed
Then the product walkthrough shows the 'Configure Specifications' step 1 Passed
And the product walkthrough contains the practice specification data 1 Passed
Then the product walkthrough shows the 'Complete New Specifications' step 1 Passed
Then the product walkthrough shows the 'Select the Text Output' step 3 Passed
When I select practice output 'Appearance' in the walkthrough product 3 Passed
Then the product walkthrough shows the 'Configure Text-Based Specifications' step 4 Passed
When I return to the previous product walkthrough step 3 Passed
Then the product walkthrough remains on the 'Configure Text-Based Specifications' step 1 Passed
When I configure the practice text specification to accept 'Pass' 2 Passed
Then the product walkthrough shows the 'Select the Numeric Output' step 4 Passed
When I select practice output 'Moisture Content' in the walkthrough product 3 Passed
Then the product walkthrough shows the 'Configure Numeric Specifications' step 3 Passed
When I configure the practice numeric specification between '10' and '20' 2 Passed
Then the product walkthrough shows the 'Configure Warning Limits' step 2 Passed
When I enable practice warning limits 2 Passed
And I configure the practice warning limits between '12' and '18' 2 Passed
Then the product walkthrough shows the 'Specification Menu' step 2 Passed
When I open the walkthrough specification menu 2 Passed
Then the product walkthrough shows the 'Create Additional Specifications' step 1 Passed
Then the product walkthrough shows the 'Certificate Display' step 2 Passed
When I open the walkthrough certificate ordering dialog 2 Passed
Then the product walkthrough shows the 'Certificate Display Order' step 1 Passed
Then the product walkthrough shows the 'Confirm Certificate Display Order' step 2 Passed
Then the product walkthrough shows the 'View Related Clients' step 1 Passed
Then the product walkthrough shows the 'Default Certificate Template' step 2 Passed
Then the product walkthrough shows the 'Attachments' step 1 Passed
Then the product walkthrough shows the 'Update Specifications' step 1 Passed
Then the product walkthrough shows the 'Your Product is Ready' step 1 Passed
And the product walkthrough links to the product user guides 1 Passed
Then the product walkthrough closes 3 Passed
And the walkthrough product 'Walkthrough Product' was not saved 1 Passed
Given I have created the user 'ProductWalkthroughNoClientManageUser' without permissions 'clients manage' 1 Passed
And I am logged in as the created user 'ProductWalkthroughNoClientManageUser' 1 Passed
And I enter 'Client Permission Walkthrough Product' in the walkthrough product name field 1 Passed
When I close the product walkthrough 1 Passed
Given I have created the user 'ProductWalkthroughViewUser' without permissions 'setup data manage, clients manage' 1 Passed
And I am logged in as the created user 'ProductWalkthroughViewUser' 1 Passed
Then the product walkthrough shows the 'Finding a Product' step 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
And I finish editing the product settings 2 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 open the product's related test suites 1 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 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 disabled 1 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 open the test method's related test suites 6 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
And I refresh the product specifications 3 Passed
And I can see test method 'unPublishedVersionTestMethod' showing as draft in the specification section 1 Passed
Then I can see the publish product button is disabled 1 Passed
Given I am logged in as user 'DeleteProductSuiteUser' 1 Passed
And I click on the 'Test suites' menu item 14 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 options and delete the test method 'DeleteTestMethod' 2 Passed
And I can see the message of 'Deleting test method DeleteTestMethod' 2 Passed
And I click on product 'DeleteTMProduct' on the products page 1 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
Then recently received stock batch 'Rec976' is displayed 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 recently received stock batch 'Sub976' has a submitted sample link 1 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 recently received stock batch 'SubRec876' has a submitted sample link 1 Passed
And I receive the job with batch 'SubRec876' 1 Passed
Then I can see the following in the list of recently received: 5 Passed
Given I am logged in as user 'approvesamplestockuser' 2 Passed
And recently received stock batch '<batch>' has a submitted sample link 2 Passed
And I progress the submitted job with batch '<batch>' to approval with input value '<value>' 2 Passed
And the stock batch '<batch>' reaches '<status>' 2 Passed
Given I am logged in as user 'StockReceivePermissionAdmin' 2 Passed
And the stock permission user has only 'stock receive' permissions 1 Passed
And I open the 'Receive Stock' stock screen 4 Passed
Then recently received stock batch 'PERM-RECEIVED' shows quantity '12' 1 Passed
And the stock permission user has only 'stock inventory manage' permissions 1 Passed
Then recently received stock batch 'PERM-EDITED' shows quantity '100' 1 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 open the results submission controls 4 Passed
And I click on the submit button 3 Passed
And I can see the message of 'Test submitted successfully' 2 Passed
Then the results CSV contains: 6 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
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 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
And 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
And the results CSV contains: 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 the results CSV contains exactly 3 repeats for the created job 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 with identifier 'resultimport' up to enter results with batchNo 'resultimport' and spec 'Default specification' 2 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 navigate to the 'Enter results' page 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
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 enter 'CustomSample' into the batch number 3 Passed
Then I can see the custom sample field 'autosamplefield' 3 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
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 '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 have created the user 'SampleSpecPermissionsUser' without permissions 'sample spec' 1 Passed
And I am logged in as user 'SampleSpecPermissionsUserrm' 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' without permissions 'samples delete' 1 Passed
And I am logged in as user 'DeleteSamplePermissionsUserrm' 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
Given I have created the user 'EditSamplePermissionsUser' without permissions 'samples edit' 1 Passed
And I am logged in as user 'EditSamplePermissionsUserrm' 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 'RevertApprovalPermissionsUser' without permissions 'lifecycle revert approval' 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 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' without permissions 'lifecycle revert verification' 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 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 'SampleAAttachmentsPermissionsUser' without permissions 'samples add attachments' 1 Passed
And I am logged in as user 'SampleAAttachmentsPermissionsUserrm' 1 Passed
And I enter my credentials to log in to user 'SampleAAttachmentsPermissionsUser' 1 Passed
Given I have created the user 'SampleDAttachmentsPermissionsUser' without permissions 'samples delete attachments' 1 Passed
And I am logged in as user 'SampleDAttachmentsPermissionsUserrm' 1 Passed
And I enter my credentials to log in to user 'SampleDAttachmentsPermissionsUser' 1 Passed
Given I have created the user 'InvestigationPermissionsUser' without permissions 'samples investigations' 1 Passed
And I am logged in as user 'InvestigationPermissionsUserrm' 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 am logged in as user 'DownloadSampleCertManageCertificatesUser' 1 Passed
And I have progressed a job through the lifecycle process with batchNo 'TestBatch123' and input value '123' 2 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 click the sample certificate generate button on manage certificates 6 Passed
When I confirm the certificate settings and wait for the file download 1 Passed
Then I can see 1 sample certificates on manage certificates 1 Passed
And I expand the first sample certificate history on manage certificates 5 Passed
And I can see 1 certificates in the manage certificates history 2 Passed
Then I can see the generated sample certificate on the audit 1 Passed
Then I can see the sample certificate for template 'SamCert' showing here 1 Passed
Then I can see the message of 'Sample certificate deleted successfully.' 1 Passed
Then I can see the deleted sample certificate on the audit 1 Passed
Given I am logged in as user 'PreviewPdfOnlySampleCertUser' 1 Passed
And I have progressed a job up to approval with batchNo 'PreviewPdfOnlySampleCert' and input value '123' 1 Passed
And I click the sample certificate preview button on manage certificates 2 Passed
Given I am logged in as user 'SampleCertDefaultClientUser' 1 Passed
And I have progressed a job through the lifecycle process with batchNo 'defaultsamplecertclient' and input value '123' 1 Passed
Given I am logged in as user 'PreviewSampleCertOutputsUser' 1 Passed
And I have progressed a job up to approval with batchNo 'previewoutputs' and input value '11' 1 Passed
And I open the test output settings tab in certificate settings 2 Passed
Then I can see 1 of 2 certificate outputs are selected 3 Passed
And I can see certificate output 'output-1' under test method 'CertOutputPreviewShownMethod' 1 Passed
And I can see certificate output 'output-2' under test method 'CertOutputPreviewHiddenMethod' 1 Passed
And I can see certificate output 'output-1' under test method 'CertOutputPreviewShownMethod' is selected 1 Passed
And I can see certificate output 'output-2' under test method 'CertOutputPreviewHiddenMethod' is not selected 1 Passed
When I deselect all certificate outputs 1 Passed
Then I can see 0 of 2 certificate outputs are selected 1 Passed
And I cannot confirm certificate settings 1 Passed
When I select certificate output 'output-1' under test method 'CertOutputPreviewShownMethod' 1 Passed
Then I can confirm certificate settings 1 Passed
When I confirm the certificate settings and capture the sample certificate request 2 Passed
Then the captured sample certificate request has selected outputs: 3 Passed
Given I am logged in as user 'RegenerateSampleCertOutputsUser' 1 Passed
And I have progressed a job through the lifecycle process with batchNo 'regenoutputs' and input value '12' 1 Passed
Then I can see 2 of 2 certificate outputs are selected 1 Passed
When I deselect certificate output 'output-2' under test method 'CertOutputRegenSecondMethod' 1 Passed
When I can see the message of 'Sample certificate generated successfully.' 1 Passed
When I open the test output settings tab in certificate settings 1 Passed
And I can see certificate output 'output-1' under test method 'CertOutputRegenFirstMethod' is selected 1 Passed
And I can see certificate output 'output-2' under test method 'CertOutputRegenSecondMethod' is not selected 1 Passed
When I deselect certificate output 'output-1' under test method 'CertOutputRegenFirstMethod' 1 Passed
And I select certificate output 'output-2' under test method 'CertOutputRegenSecondMethod' 1 Passed
And I confirm the certificate settings and capture the sample certificate regeneration request 1 Passed
And I can see the message of 'Sample certificate regenerated successfully.' 1 Passed
Then I can see the regenerated sample certificate on the audit 1 Passed
Given I am logged in as user 'SampleCertSecondaryClientUser' 1 Passed
And I have created a visible secondary customer client called 'SecondarySampleGenerateClient' 1 Passed
And I have progressed a job through the lifecycle process with batchNo 'secondarysamplecert' and input value '123' 1 Passed
And I can see the message of 'Sample certificate generated successfully.' 2 Passed
Then I can see the sample certificate for template 'SampleCertificateTemplate' showing here 1 Passed
Given I am logged in as user 'CannotGenerateSampleCertManageCertificatesUser' 1 Passed
And I have progressed a job up to approval with batchNo 'nogeneratesamplecert' and input value '123' 1 Passed
Then I cannot click the sample certificate generate button on manage certificates 1 Passed
Given I am logged in as user 'DefaultSampleCertTemplateManageCertificatesUser' 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 'AltCert.docx' as the product sample certificate template 1 Passed
And I can see the message of 'Report settings updated successfully' 1 Passed
Then I can see 'AltCert.docx' 1 Passed
And I can see 1 sample certificates on manage certificates 1 Passed
And I click the close button 2 Passed
Given I am logged in as user 'defaultdispositionuser' 1 Passed
When I progress a job up to approval with batchNo 'DefaultDisposition' and input value '5' and spec 'Default specification' 1 Passed
And I navigate to the approve samples page for the job 14 Passed
Then sample '1' has disposition 'Approved' selected 1 Passed
When I tick then approve the results 3 Passed
And the prepared samples are completed with dispositions: 3 Passed
And the sample completion audit records reason '' and dispositions: 1 Passed
Given I am logged in as user 'mixeddispositionuser' 1 Passed
And I have enabled the require E-signatures setting 3 Passed
And I have a verified job with batch 'MixedDisposition' and sample input values: 1 Passed
When I navigate to the approve samples page for the job 9 Passed
And I set sample '2' disposition to 'Rejected' 2 Passed
And I select all '2' prepared samples and open the completion confirmation 1 Passed
Then the disposition change reason message is 'One or more sample dispositions have changed. Provide a reason for changing these dispositions.' 3 Passed
And the confirmation requests a reason and an e-signature 1 Passed
When I confirm sample completion with reason 'Failed specification review' and my e-signature 1 Passed
And the sample completion audit records reason 'Failed specification review' and dispositions: 1 Passed
Given I am logged in as user 'rejecteddispositionuser' 1 Passed
And I have a verified job with batch 'RejectedDisposition' and sample input values: 1 Passed
And I set sample '1' disposition to 'Rejected' 4 Passed
Given I am logged in as user 'approvedreasonuser' 1 Passed
When I progress a job up to approval with batchNo 'ApprovedReason' and input value '5' and spec 'Default specification' 1 Passed
Given I am logged in as user 'rejectedreasonuser' 1 Passed
And I have a verified job with batch 'RejectedReason' and sample input values: 1 Passed
And I select all '1' prepared samples and open the completion confirmation 4 Passed
And the confirmation requests only a reason 2 Passed
When I confirm sample completion with reason 'Failed specification review' 1 Passed
Then the prepared samples are completed with dispositions: 7 Passed
When I revert the first prepared sample through the lifecycle API with reason 'Retesting rejected sample' 1 Passed
Then sample '1' has disposition 'Rejected' selected 1 Passed
When I set sample '1' disposition to 'Approved' 1 Passed
When I confirm sample completion with reason 'Disposition changed after review' 1 Passed
Given I am logged in as user 'approvedsignatureuser' 1 Passed
And I have a verified job with batch 'ApprovedSignature' and sample input values: 1 Passed
Then the confirmation requests only an e-signature 1 Passed
When I confirm sample completion with my e-signature 2 Passed
Given I am logged in as user 'rejectedsignatureuser' 1 Passed
And I have a verified job with batch 'RejectedSignature' and sample input values: 1 Passed
Then the sample completion confirmation title is 'Approve Samples' 1 Passed
And the confirmation requests only an e-signature 1 Passed
Given I am logged in as user 'apidefaultdispositionuser' 1 Passed
And I have a verified job with batch 'ApiDefaultDisposition' and sample input values: 1 Passed
When I complete the prepared sample through the API without specifying a disposition 1 Passed
Given I am logged in as user 'displaydispositionuser' 1 Passed
And I have a verified job with batch 'DisplayDisposition' and sample input values: 1 Passed
And I tick to approve all '2' 1 Passed
And the sample viewer shows sample '1' disposition 'Approved' 1 Passed
And the sample viewer shows sample '2' disposition 'Rejected' 2 Passed
And I search the 'sample' viewer for ' cOmPlEt ' 1 Passed
And sample '1' has 'status' search highlight 'Complet' 1 Passed
And sample '2' has 'status' search highlight 'Complet' 1 Passed
And I search the 'sample' viewer for ' aPpRoV ' 1 Passed
And sample '1' has 'disposition' search highlight 'Approv' 1 Passed
And the sample viewer does not show sample '2' 1 Passed
And I search the 'sample' viewer for ' rEjEc ' 1 Passed
And sample '2' has 'disposition' search highlight 'Rejec' 2 Passed
And the sample viewer does not show sample '1' 2 Passed
And the sample disposition filter defaults to All and provides every disposition 1 Passed
And I select 'Approved' in the sample disposition filter 1 Passed
And I can see the message of 'No samples found. Please refine your search' 1 Passed
And I select 'Rejected' in the sample disposition filter 1 Passed
And I clear the sample viewer search with disposition 'Rejected' selected 1 Passed
And I open sample '2' in the sample inspector 1 Passed
And the sample inspector shows disposition 'Rejected' 1 Passed
And the job sample summary shows sample '2' disposition 'Rejected' 1 Passed
And I view sample '2' on the job 1 Passed
And the sample details show disposition 'Rejected' 2 Passed
Then manage certificates shows sample '2' disposition 'Rejected' 1 Passed
Given I am logged in as user 'reverteddisplaydispositionuser' 1 Passed
And I have a verified job with batch 'RevertedDisplayDisposition' and sample input values: 1 Passed
Given The organisation subscription tier is set to '<Tier>' 2 Passed
And I am logged in as user 'dispositiontieruser<Tier>' 2 Passed
When I progress a job up to approval with batchNo 'DispositionTier<Tier>' and input value '5' and spec 'Default specification' 2 Passed
Then sample disposition selection is '<Visibility>' 2 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 'SampleExportUser' 2 Passed
And the sample export custom fields are configured as: 5 Passed
And I have configured these sample export methods: 13 Passed
And I have a submitted export job containing these samples: 2 Passed
And I turn output combining '<Combining>' for export 4 Passed
Then the sample CSV has ordered headings '<Headings>' 2 Passed
And the sample CSV retains these samples from the same job: 2 Passed
Given I am logged in as user 'SampleConflictUser' 1 Passed
And I have a submitted sample export job with these methods: 3 Passed
And I turn output combining 'on' for export 3 Passed
Then the sample CSV has ordered headings 'A v1: Value (mg);B v1: Value (mg)' 1 Passed
And the sample CSV contains exactly these result cells: 2 Passed
Given I am logged in as user 'SampleHistoricalUser' 1 Passed
And I have deleted the sample export method 'A' 3 Passed
Then the sample CSV has ordered headings 'A v1: Hidden' 1 Passed
Given I am logged in as user 'SampleRecreatedMethodUser' 1 Passed
And I have recreated sample export method 'A' with result '8' on the same sample 1 Passed
Then the sample CSV retains both identities of recreated method 'A' 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 'PreventEditApprovedUser' 1 Passed
And I have enabled the prevent editing approved jobs and samples setting 1 Passed
And I have progressed a job through the lifecycle process with batchNo 'PreventEditApproved' and input value '1' 1 Passed
Then the job edit button is disabled with message 'Cannot edit an approved job' 1 Passed
Then the sample edit button is disabled with message 'Cannot edit an approved sample' 1 Passed
Given I am logged in as user 'SampleLocationHappyPathUser' 1 Passed
And I select list 'Locations' from the drop down 2 Passed
And I add a first list entry with a name of 'over here' and description of 'Sample location for e2e test' 1 Passed
And the list update button becomes disabled 1 Passed
And I enter 'LOC-001' into the batch number 1 Passed
And I select sample location 'over here' 1 Passed
And I can see sample location 'over here' on the sample details 1 Passed
And I search the 'sample' viewer for ' Er hE ' 1 Passed
Then sample '1' has 'location' search highlight 'er he' 1 Passed
Given I am logged in as user 'StockViewerPermissionAdmin' 8 Passed
And the stock permission user has only 'stock usage tracking' permissions 2 Passed
And I open the stock permission test at '<Entry>' 8 Passed
Then recorded stock usage persists when reopened 2 Passed
And the stock permission user has only '<Permissions>' permissions 6 Passed
Given I am logged in as user 'GiveReasonTestInputUser' 1 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 can see the 'first' input contains '2' 1 Passed
And I confirm the result change with the reason 'Change control Test' 1 Passed
And I can see results for the created job 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 a 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 'DefaultSettingsUser' 1 Passed
Then the require independent verification setting is disabled by default 1 Passed
And the working days setting defaults to weekdays 1 Passed
Given I am logged in as user 'CertificateOutputSettingsUser' 1 Passed
Then the DOCX certificate output setting is disabled by default 1 Passed
When I enable DOCX certificate output in settings 1 Passed
Then I can see the message of 'Settings updated successfully' 1 Passed
And the DOCX certificate output setting is enabled 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 two disposable pilot organisations with MCP rollout enabled 1 Passed
When I open the AI settings in both pilot organisations 1 Passed
And Enable MCP defaults to on in both pilot organisations 1 Passed
And both pilot organisations can use their own MCP connection 1 Passed
And I save Enable MCP off and reload the AI settings 1 Passed
And a user without settings management cannot turn MCP back on directly 1 Passed
And fresh and existing MCP requests for the disabled organisation are denied 1 Passed
And the other pilot organisation can still use its MCP connection 1 Passed
And I save Enable MCP on and reload the AI settings 1 Passed
And an eligible user can use MCP again with their existing permissions 1 Passed
Then moving only that organisation to Quarterly turns off its rollout and blocks MCP 1 Passed
Given a new pilot organisation that requires a reason for settings changes 1 Passed
When I open its Admin Settings 1 Passed
And I open AI settings 3 Passed
And Tools assistants can use shows 'All tools' with the tool table hidden 1 Passed
And I choose 'Custom' for the tools assistants can use 2 Passed
And all MCP tools are on and grouped by area 1 Passed
And I connect an assistant that can import and update clients 1 Passed
And I turn off Import clients and Update clients 1 Passed
And I save the tool choices with a reason and reload the AI settings 3 Passed
And only Import clients and Update clients are off 3 Passed
And the connected assistant sees neither Import clients nor Update clients 1 Passed
And the connected assistant is refused when it tries to import two clients 2 Passed
And the connected assistant can find and create clients 1 Passed
And I choose 'Read only' for the tools assistants can use 1 Passed
And Tools assistants can use shows 'Read only' with the tool table hidden 1 Passed
And the connected assistant can find clients but is refused when it tries to create a client 1 Passed
And I save Enable MCP off with a reason and reload the AI settings 1 Passed
And the whole MCP tools section is hidden 1 Passed
And I save Enable MCP on with a reason and reload the AI settings 1 Passed
And I select and then clear the Create & edit column 1 Passed
Then every tool in the Create & edit column is off 1 Passed
And the MCP rollout and organisation setting are on for the '<tier>' tier 2 Passed
And I am logged in as the pilot organisation administrator 3 Passed
And I cannot see the AI menu or Enable MCP 5 Passed
And I open the AI settings page directly 2 Passed
And I authorize an MCP client for the pilot organisation 3 Passed
Then MCP initialization is denied 2 Passed
And the MCP connection cannot list tools 3 Passed
And the MCP connection cannot read the client 3 Passed
Given The organisation subscription tier is set to 'Advanced' 1 Passed
And the MCP rollout and organisation setting are on for the 'Advanced' tier 2 Passed
And I can see Enable MCP is on 1 Passed
And I initialize the MCP connection 1 Passed
And the MCP connection lists the permitted tools 1 Passed
And the MCP connection can read the client 1 Passed
And I click on the 'Dashboard' menu item 2 Passed
And I am logged into LabHQ 2 Passed
And The organisation subscription tier is set to 'Growth' 1 Passed
And the MCP rollout and organisation setting are on for the 'Growth' tier 1 Passed
And System Settings opens in the same browser document 2 Passed
And The organisation subscription tier is set to 'Advanced' 2 Passed
Then I can see Enable MCP is on 1 Passed
Then the administrator can copy and paste the same read-only URL from AI settings with the keyboard or mouse 1 Passed
Then clipboard failure leaves the URL selected for manual copy in AI settings 1 Passed
When the administrator saves Enable MCP off and both copy actions disappear 1 Passed
And the administrator saves Enable MCP on again and both copy actions return while Profile stays open 1 Passed
And the Essentials subscription hides both copy actions 1 Passed
Then the Growth subscription also hides both copy actions 1 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 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 '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 can see the warning that the test does not match specification on the test viewer 3 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
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 'RemoveOutputSpecUser' 1 Passed
And I have navigated to the 'Test methods' page 4 Passed
When I click on the edit test method button for test method 'RemoveOutputSpecTestMethod' on the test method page 1 Passed
And I name the input 'removeOutput' 1 Passed
And I set the type to 'numeric' 2 Passed
And I click publish test method to publish 'RemoveOutputSpecTestMethod' 1 Passed
And I can see the message of 'Test method published successfully' 3 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 publish test method to publish 'Create Test Method' 2 Passed
And I request a specification refresh 1 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 (inclusive). Warning Limit: Between 2 and 4 (inclusive)' 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 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: 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
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 '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
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 '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
Then I can see that the test has passed spec on the test viewer 3 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
Given I am logged in as user 'ManageEnterResultsSpecUser' 1 Passed
When I click on product 'EnterResultsSpecProduct' on the products page 2 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 publish product 'EnterResultsSpecProduct' for Enter Results 2 Passed
And I progress a job up to enter results with batchNo 'erspecjob' and spec 'FailSpec' 1 Passed
And I drop down the test method 'EnterResultsSpecTestMethod1' on the enter results page 2 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 'CreateSpecUser' 1 Passed
And the product has a draft with no specifications 1 Passed
When I click on product 'SpecProduct' on the products page 1 Passed
And I click the generate specifications button 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 can see 'Specification: Between 1 and 5 (inclusive)' 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
Given I am logged in as user '2dspecfailuser' 1 Passed
When I click on product 'Fail2DSpecProduct' on the products page 1 Passed
And I publish product 'Fail2DSpecProduct' for Enter Results 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 review the result limit details 'Specification: Within (0.355,0.355), (0.305,0.305), (0.285,0.325), (0.335,0.375)' 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' 1 Passed
And I progress a job up to enter results with batchNo 'TestBatch123' and spec 'Default specification' 1 Passed
And I click into the first input and enter '5.5' 1 Passed
And I can review the result limit details 'Specification: Between 1 and 5' 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
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
Given I am logged in as user 'ChangeResultSpecUser' 1 Passed
When I click on product 'ChangeResultSpecProduct' on the products page 1 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 update the test result of the created job with an input value of '2.0000001' 1 Passed
Given I am logged in as user 'StockIdGenerationUser' 1 Passed
Then recently received stock batch 'SAME-BATCH' has a valid Stock ID stored as 'first' 1 Passed
When I click the receive stock button 2 Passed
Then recently received stock batch 'SAME-BATCH' has a valid Stock ID stored as 'second' 1 Passed
And stored Stock IDs 'first' and 'second' are unique and sequential 1 Passed
And the 'STOCK_BATCH_RECEIVED' stock audit entry includes stored Stock ID 'second' 1 Passed
Given I am logged in as user 'StockIdInventoryUser' 1 Passed
And I click on stock item 'StockIdInventoryItem' 1 Passed
When I open batch 'INVENTORY-BATCH' for editing 1 Passed
Then stored Stock ID 'inventory' is displayed and cannot be edited 1 Passed
When I enter 'INVENTORY-EDITED' in the batch input 1 Passed
And I return to the available batches for 'StockIdInventoryItem' 1 Passed
When I close the available stock batches 1 Passed
Given I am logged in as user 'StockIdAdjustmentUser' 1 Passed
When I click on the 'Adjust stock' menu item 1 Passed
And the 'STOCK_BATCH_ADJUSTED' stock audit entry includes stored Stock ID 'adjustment' 1 Passed
When I click on the 'Usage tracking' menu item 1 Passed
Then I can see the following usage tracking showing here: 3 Passed
And I search usage tracking for stored Stock ID 'adjustment' and stock item 'StockIdAdjustmentItem' 1 Passed
Given I am logged in as user 'StockIdExpiredUser' 1 Passed
When I click to dispose stock batch 'EXPIRED-BATCH' 1 Passed
Then stored Stock ID 'expired' is shown with batch 'EXPIRED-BATCH' for disposal 1 Passed
When I click ok 1 Passed
Given I am logged in as user 'createstockuser' 1 Passed
And the stock permission user has only 'stock items manage' permissions 3 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 'StockLocationUpdateUser' 1 Passed
And I add a first list entry with a name of 'Room A / Shelf 1' and description of 'Initial stock location' 1 Passed
And I add a second list entry with a name of 'Room B / Bin 2' and description of 'Updated stock location' 1 Passed
And I can see the message of 'List has been updated successfully' 1 Passed
Then recently received stock batch 'OPTIONAL-LOC' is displayed 1 Passed
Then recently received stock batch 'UPDATED-LOC' is displayed 1 Passed
And recently received stock batch 'UPDATED-LOC' has a valid Stock ID stored as 'UpdatedStock' 1 Passed
When I click on the 'Inventory' menu item 1 Passed
And I click on stock item 'LocatedStockItem' 1 Passed
Then stock batch 'UPDATED-LOC' has storage location 'Room A / Shelf 1' on inventory 1 Passed
When I open batch 'UPDATED-LOC' for editing 1 Passed
And I select storage location 'Room B / Bin 2' 1 Passed
Then I can see the message of 'Stock updated successfully' 1 Passed
And the update audit for stored Stock ID 'UpdatedStock' records storage location changing from 'Room A / Shelf 1' to 'Room B / Bin 2' 1 Passed
When I return to the available batches for 'LocatedStockItem' 1 Passed
Then stock batch 'UPDATED-LOC' has storage location 'Room B / Bin 2' on inventory 1 Passed
Given I am logged in as user 'StockLocationExpiryUser' 1 Passed
And the Locations list contains the following stock locations: 1 Passed
Then stock batch 'EXPIRED-LOCATION' has storage location 'Cold Room / Shelf 3' on expired stock 1 Passed
When I click on expiring soon 1 Passed
Then stock batch 'EXPIRING-LOCATION' has storage location 'Store Room / Bin 4' on expired stock 1 Passed
Given I am logged in as user 'CreateJobUser' 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 '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' 9 Passed
And I log in without client access as 'essentialstieraccess' 1 Passed
Then I cannot access the following subscription features: 2 Passed
And I log in without client access as 'growthtieraccess' 1 Passed
And I am logged in as user 'trendtier' 2 Passed
And I have progressed a job up to approval with batchNo 'notrendlink' and input value '50.76' 1 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 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 log in without client access as 'clienttieruser' 1 Passed
Then I can see the create client button is disabled 1 Passed
And I log in without client access as 'essentialWidgetUser' 1 Passed
Then I can see the following widgets are showing the premium icon: 2 Passed
And I log in without client access as 'GrowthWidgetUser' 1 Passed
Given I have progressed a job up to enter results with batchNo 'visibilitytier<tier>' 2 Passed
And an internal job attachment named 'Logo.png' exists 3 Passed
And The organisation subscription tier is set to '<tier>' 2 Passed
And I am logged in as user 'attachmentvisibilitytieruser<tier>' 2 Passed
Then I cannot amend the attachment visibility 2 Passed
Given I have progressed a job up to enter results with batchNo 'visibilitytieradvanced' 1 Passed
And I am logged in as user 'attachmentvisibilitytieruseradvanced' 1 Passed
Then I can amend the attachment visibility 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
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 '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
Then I can see the message of 'Test method published successfully' 2 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 test method version number is 'Draft' '1.1' 1 Passed
Given I am logged in as user 'LifecycleVersionUser' 1 Passed
And I click on the default test method on the test method page 4 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 name the output 'AutoOutput-0' 1 Passed
And I enter '$1' in the results calculation field 1 Passed
And I can see an output called 'AutoOutput-0' 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 message of 'Test method created successfully' 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 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
Given I am logged in as user 'ConfigureTestMethodUser' 1 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 can see a tick on the output show on report column 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 the stock permission user has only 'setup data view, setup data manage, setup data publish' permissions 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 'StockTestMethod' 1 Passed
Then I can see related stock item 'TMStock' with quantity '12' 1 Passed
And I can see the test method version number is 'Published' '1' 1 Passed
Given I am logged in as user 'TestMethodWalkthroughStartUser' 1 Passed
Then the walkthrough is not automatically displayed 1 Passed
And I can start the test method walkthrough 1 Passed
When I start the test method walkthrough 1 Passed
Then the walkthrough shows the 'Welcome to Test Methods' step 3 Passed
Given I am logged in as user 'TestMethodWalkthroughRestartUser' 1 Passed
And I start the test method walkthrough 3 Passed
And I continue the walkthrough 11 Passed
Then the walkthrough shows the 'Finding a Test Method' step 2 Passed
When I close the walkthrough 1 Passed
Given I am logged in as user 'TestMethodWalkthroughValidationUser' 2 Passed
And I start the test method walkthrough from the <Launcher> 2 Passed
Then the walkthrough shows the 'Enter Test method Details' step 2 Passed
When I continue the walkthrough 30 Passed
Then the walkthrough remains on the 'Enter Test method Details' step 2 Passed
When I enter '<Method>' in the walkthrough test method name field 2 Passed
Then the walkthrough shows the 'Add a Test Input' step 2 Passed
When I click the highlighted create input button 2 Passed
Then the walkthrough shows the 'Configure your Input' step 2 Passed
Then the walkthrough shows the 'Name your Input' step 2 Passed
Then the walkthrough remains on the 'Name your Input' step 2 Passed
When I name the input 'Walkthrough Input' 2 Passed
Then the walkthrough shows the 'Create the output yourself' step 2 Passed
Then the walkthrough remains on the 'Create the output yourself' step 2 Passed
When I turn off matching output in the walkthrough 2 Passed
Then the walkthrough shows the 'Create your Input' step 2 Passed
When I click the highlighted ok button 4 Passed
Then the walkthrough shows the 'Add a Test Output' step 2 Passed
When I click the highlighted create output button 2 Passed
Then the walkthrough shows the 'Configure your output' step 2 Passed
Then the walkthrough shows the 'Name your Output' step 2 Passed
Then the walkthrough remains on the 'Name your Output' step 2 Passed
When I name the output 'Walkthrough Output' 2 Passed
Then the walkthrough shows the 'Choose your input' step 4 Passed
Then the walkthrough remains on the 'Choose your input' step 2 Passed
When I select input '$1' in the walkthrough designer 2 Passed
Then the walkthrough shows the 'Try your calculation' step 4 Passed
When I open Try it out in the walkthrough 2 Passed
Then the walkthrough shows the 'Check the result' step 4 Passed
Then the walkthrough remains on the 'Check the result' step 4 Passed
When I enter 'Passed' for walkthrough test input '$1' 2 Passed
And I run the walkthrough calculation 2 Passed
Then all walkthrough calculation results are 'Passed' 2 Passed
When I enter 'Rechecked' for walkthrough test input '$1' 2 Passed
Then the walkthrough calculation results are cleared 2 Passed
When I run the walkthrough calculation 2 Passed
Then all walkthrough calculation results are 'Rechecked' 2 Passed
When I go to the previous walkthrough step 4 Passed
And the walkthrough calculation is in Designer mode 2 Passed
And I open Try it out in the walkthrough 2 Passed
And all walkthrough calculation results are 'Rechecked' 2 Passed
Then the walkthrough shows the 'Create your Output' step 2 Passed
Then the walkthrough shows the 'Associate Test Suites' step 2 Passed
Then the walkthrough shows the 'View Related Products' step 2 Passed
Then the walkthrough shows the "You're ready to create your Test Method" step 2 Passed
And the walkthrough links to the test method user guides 2 Passed
Then the walkthrough closes 3 Passed
When I click save 2 Passed
Then I can see test method '<Method>' on the test method view page 2 Passed
And I hover over 'result' for output 'Walkthrough Output' and see a read-only diagram containing 'Walkthrough Input' 2 Passed
Given I have created the user 'TestMethodWalkthroughViewUser' without permissions 'setup data manage' 1 Passed
And I am logged in as the created user 'TestMethodWalkthroughViewUser' 1 Passed
Given I am logged in as user 'TestSuiteWalkthroughStartUser' 1 Passed
And I have navigated to the 'Test suites' page 4 Passed
Then the test suite walkthrough is not automatically displayed 1 Passed
And I can start the test suite walkthrough 1 Passed
When I start the test suite walkthrough 1 Passed
Then the test suite walkthrough shows the 'Welcome to Test Suites' step 2 Passed
Given I am logged in as user 'TestSuiteWalkthroughRestartUser' 1 Passed
And I start the test suite walkthrough 4 Passed
And I continue the test suite walkthrough 8 Passed
Then the test suite walkthrough shows the 'Create a New Test Suite' step 3 Passed
When I click the Create test suite button 3 Passed
Then the test suite walkthrough shows the 'Creating a Test Suite' step 3 Passed
When I continue the test suite walkthrough 9 Passed
And I enter 'Discarded Walkthrough Test Suite' in the walkthrough test suite name field 1 Passed
And I close the test suite walkthrough 1 Passed
Then the walkthrough test suite name is empty 1 Passed
Given I am logged in as user 'TestSuiteWalkthroughValidationUser' 1 Passed
Then the test suite walkthrough shows the 'Name Your Test Suite' step 1 Passed
Then the test suite walkthrough remains on the 'Name Your Test Suite' step 1 Passed
When I enter 'Walkthrough Test Suite' in the walkthrough test suite name field 1 Passed
Then the test suite walkthrough shows the 'Choose Your Test Methods' step 1 Passed
And the test suite walkthrough contains the practice test methods 1 Passed
Then the test suite walkthrough remains on the 'Choose Your Test Methods' step 1 Passed
When I add practice test method 'Moisture' to the walkthrough test suite 1 Passed
Then the test suite walkthrough shows the 'From Test Methods to Products' step 1 Passed
Then the test suite walkthrough shows the 'Your Test Suite is Ready' step 1 Passed
And the test suite walkthrough links to the test suite user guides 1 Passed
Then the test suite walkthrough closes 2 Passed
And the walkthrough test suite 'Walkthrough Test Suite' was not saved 1 Passed
Given I have created the user 'TestSuiteWalkthroughViewUser' without permissions 'setup data manage' 1 Passed
And I am logged in as the created user 'TestSuiteWalkthroughViewUser' 1 Passed
Then the test suite walkthrough shows the 'Your Test Suites' step 1 Passed
Given I am logged in as user 'CreateTestMethodUser' 1 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
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
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 open the related product on the product view 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 the test method has 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' 1 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 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 '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 the test export organisation timezone is 'Pacific/Kiritimati' 1 Passed
And I am logged in as user 'TestExportSamplesUser' 1 Passed
And I have a test export job containing: 11 Passed
And the export formats are Sample level, Test level and Result level in order 1 Passed
And I choose the 'tests' export format 13 Passed
And I turn output combining 'off' for export 3 Passed
And I remember the test export CSV 1 Passed
And I start another export 1 Passed
And I choose the fixture submission dates in the organisation timezone 2 Passed
Then the test CSV matches the previous download 1 Passed
And the test CSV has ordered data headings 'Tag;Tag;Value (mg);Value (mg)' 1 Passed
And the test CSV contains exactly these tests: 10 Passed
And I am logged in as user 'TestExportCombiningUser' 2 Passed
Then the test CSV has ordered data headings '<Headings>' 2 Passed
Given I am logged in as user 'TestExportExactNamesUser' 1 Passed
Then the test CSV has ordered data headings 'Value (mg);value (mg);Value (MG)' 1 Passed
Given I am logged in as user 'TestExportFieldHistoryUser' 1 Passed
And I have a second test export job containing: 3 Passed
Then the test CSV has ordered data headings 'Alpha;Zulu;Tag;Value (mg)' 1 Passed
Given I am logged in as user 'TestExportHistoryUser' 1 Passed
And I publish a new version of export method 'A' with output 'Changed' and result '8' on sample 'Sample' 1 Passed
Then the test CSV has ordered data headings 'Original (mg);Changed (mg)' 1 Passed
Given I am logged in as user 'TestExportDisplayUser' 1 Passed
Then the test CSV has ordered data headings 'Numeric (mg);Qualified' 1 Passed
Given I am logged in as user 'TestExportUnsubmittedUser' 1 Passed
Then the test CSV has ordered data headings 'Value (mg)' 3 Passed
Given I am logged in as user 'TestExportFilterSwitchUser' 1 Passed
Then the test CSV contains exactly these tests: 1 Passed
And I am logged in as user 'TestExportMultipleJobsUser' 2 Passed
And I include both test export jobs using '<Filter>' 2 Passed
Given I am logged in as user 'TestExportEmptyUser' 1 Passed
And I have progressed a job up to approval with batchNo 'New export job' and input value '5' 1 Passed
Then the test CSV contains only the metadata header 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 2 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 'system settings' 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
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 select the Stock ID for batch 'UT987' stored as 'usage' from stock item 'UTStock' 1 Passed
When I click on 'View test' 1 Passed
And I click on 'Stock Usage' 1 Passed
Then I select the Stock ID for batch 'UT987' stored as 'usage' from 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' without permissions 'settings manage' 1 Passed
And I am logged in as the created user 'SettingsPermissionUser' 1 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 'ManageCertificatesPermissionUser' without permissions 'manage certificates' 1 Passed
And I am logged in as the created user 'ManageCertificatesPermissionUser' 1 Passed
Then I can see the 'Export Results' menu item 1 Passed
And I cannot see the 'Manage Certificates' menu item 1 Passed
And I cannot manually navigate to the 'Manage certificates' page 1 Passed
Given I have created the user 'DeleteCertificatePermissionsUser' without permissions 'delete certificates' 1 Passed
And I am logged in as user 'DeleteCertificatePermissionsUserrm' 1 Passed
And I have progressed a job through the lifecycle process with batchNo 'deletecertpermission' and input value '123' 1 Passed
And I generate a job certificate from manage certificates 1 Passed
And I enter my credentials to log in to user 'DeleteCertificatePermissionsUser' 1 Passed
Then I cannot see the certificate delete button in the manage certificates history 1 Passed
Given I have created the user 'OrgPermissionUser' without permissions 'organisation view, organisation manage' 1 Passed
And I am logged in as the created user 'OrgPermissionUser' 1 Passed
Then I can see the report settings configure button 2 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' without permissions 'label settings' 1 Passed
And I am logged in as the created user 'labelsettingpermissionsuser' 1 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' without permissions 'custom fields manage' 1 Passed
And I am logged in as the created 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
And I cannot manually navigate to the 'Custom fields' page 1 Passed
Given I have created the user 'reportsettingpermissionsuser' without permissions 'report settings' 1 Passed
And I am logged in as the created 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
And I cannot manually navigate to the 'Report settings' page 1 Passed
Given I have created the user 'ListPermissionUser' without permissions 'lists manage' 1 Passed
And I am logged in as the created 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' without permissions 'audit view' 1 Passed
And I am logged in as the created 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' without permissions 'clients view' 1 Passed
And I am logged in as the created user 'ClientsPermissionUser' 1 Passed
Then I can see the 'test methods' menu item 2 Passed
And I cannot see the 'Clients' menu item 2 Passed
And I cannot manually navigate to the 'Clients' page 2 Passed
Given I have created the user 'TestMethodsPermissionUser' without permissions 'setup data view' 1 Passed
And I am logged in as the created 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' without permissions 'lifecycle submit' 1 Passed
And I am logged in as the created 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' without permissions 'lifecycle receive' 1 Passed
And I am logged in as the created 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' without permissions 'resources manage work' 1 Passed
And I am logged in as the created 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
And I cannot manually navigate to the 'Manage work' page 1 Passed
Given I have created the user 'DLViewWorkPermissionUser' without permissions 'resources download workbook' 1 Passed
And I am logged in as user 'DLViewWorkPermissionUserrm' 1 Passed
And I enter my credentials to log in to user 'DLViewWorkPermissionUser' 1 Passed
And I cannot see the download workbook button 1 Passed
And I cannot see the re-download workbook button 1 Passed
Given I have created the user 'EnterResultsPermissionUser' without permissions 'lifecycle results' 1 Passed
And I am logged in as the created 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' without permissions 'lifecycle verify' 1 Passed
And I am logged in as the created 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' without permissions 'lifecycle approve' 1 Passed
And I am logged in as the created 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 'OOSResultsPermissionsUser' without permissions 'analytics oos results' 1 Passed
And I am logged in as the created 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' without permissions 'analytics trend' 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 enter my credentials to log in to user 'TrendSampleViewerPermissionsUser' 1 Passed
Then I cannot see the 'Trend' menu item 1 Passed
And I cannot manually navigate to the 'Trend' page 1 Passed
Then The trend icon does not show for the job on the approve samples page 1 Passed
Then The trend icon does not show on the job 1 Passed
Given I have created the user 'LabelDownloadPermissionsUser' without permissions 'samples label' 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 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' without permissions 'results export' 1 Passed
And I am logged in as the created 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' without permissions 'organisation manage' 1 Passed
And I am logged in as the created user 'CompanyAddressPermissionsUser' 1 Passed
Then I cannot see the edit address fields 1 Passed
Given I have created the user 'ResultsImportPermissionsUser' without permissions 'reports import' 1 Passed
And I am logged in as the created user 'ResultsImportPermissionsUser' 1 Passed
And I cannot see the import results data menu item 1 Passed
Given I am logged in as user 'StockPermissionAdmin' 14 Passed
Then only the '<Screen>' stock screen is accessible 6 Passed
Then no stock screens or actions are accessible 1 Passed
And the stock permission user lacks only '<Permission>' 5 Passed
Then the '<Screen>' stock screen remains inaccessible 5 Passed
And the stock permission user lacks only 'stock receive' 1 Passed
Then recently received stock batch 'PERM' shows quantity '100' 1 Passed
And the receive stock button is hidden 1 Passed
And direct access to the receive stock form is denied 1 Passed
And the stock permission user is an administrator 1 Passed
And I open the 'Stock Items' stock screen 1 Passed
And I open the 'Usage Tracking' stock screen 1 Passed
Then the expiry tab shows item 'PermissionExpired' and batch 'PERM-EXPIRED' 1 Passed
Given I am logged in as user 'role-list-admin' 1 Passed
When I create enough unverified accounts to page the user list 1 Passed
Then user account sorting paging and status filtering preserve the search 1 Passed
Given I am logged in as user 'bslAdminRoleUser' 1 Passed
When I click on the 'User accounts' menu item 7 Passed
And I click on the create user account button 2 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' 2 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
And I can see the message of 'User updated successfully' 2 Passed
Then I can see the name for account 'editthisuser' shows as 'John Smith' 1 Passed
Given I have created the user 'grantpermissionuser' without permissions 'report settings' 1 Passed
And I search for user 'grantpermissionuser' 1 Passed
And I click on user account 'grantpermissionuser' 1 Passed
And I grant 'report settings' permission 1 Passed
And I enter my credentials to log in to user 'grantpermissionuser' 1 Passed
Given I am logged in as user 'OnlyOrgUser' 1 Passed
Then I cannot see the BSL admin default user 1 Passed
And I am logged in as user 'userlimitupgrade' 1 Passed
Then the upgrade options link opens the LabHQ upgrade page in a new tab 1 Passed
Given I am logged in as user 'StockAccountPermissionAdmin' 5 Passed
When I open the stock permission user in the permission editor 7 Passed
And I select the 'Custom' permission preset 2 Passed
And I grant 'stock inventory' permission 1 Passed
And I grant 'stock receive' permission 1 Passed
And I save and reopen the stock permission user 15 Passed
And only 'stock inventory, stock receive' stock permissions are selected 1 Passed
And I remove 'stock receive' permission 1 Passed
And I sign in as the stock permission user 6 Passed
Then I cannot manually navigate to the 'Receive Stock' page 1 Passed
And the stock permission user has only 'stock inventory, clients view' permissions 2 Passed
When The organisation subscription tier is set to '<Tier>' 4 Passed
And I open the stock permission user in the permission editor 6 Passed
And the stock permission controls are 'hidden' 3 Passed
And I change the stock permission user's first name 5 Passed
And The organisation subscription tier is set to 'Enterprise' 3 Passed
Then I can see the 'Clients' menu item 2 Passed
And the saved stock permissions allow only 'Inventory' screens 2 Passed
Then the stock permission controls are 'visible' 2 Passed
Given permission presets have the following defaults: 16 Passed
Given I am logged in as user 'role-preset-admin' 4 Passed
When I open a new user account 5 Passed
And I enter the details for a new role test user 4 Passed
And I select the '<Role>' permission preset 10 Passed
And only the '<Role>' preset permissions are selected 4 Passed
And I save and reopen the role test user 10 Passed
And the selected permission preset is '<Role>' 4 Passed
Then only the '<Role>' preset permissions are selected 4 Passed
Given I am logged in as user 'role-change-admin' 1 Passed
And I select the 'Analyst' permission preset 5 Passed
And I remove 'clients view' permission 4 Passed
And the selected permission preset is 'Analyst' 4 Passed
And I select the 'Quality' permission preset 2 Passed
And only the 'Analyst' preset permissions with these changes are selected: 2 Passed
And only the 'Quality' preset permissions are selected 2 Passed
And I remove 'audit view' permission 1 Passed
And reset to role defaults is 'enabled' 1 Passed
And I reset permissions to the selected role defaults 3 Passed
And only the 'Custom' preset permissions are selected 1 Passed
And I grant 'clients view' permission 1 Passed
Then only the 'Custom' preset permissions are selected 1 Passed
Given I am logged in as user 'role-customise-admin' 1 Passed
When I open the unassigned role test user 4 Passed
And I grant 'audit view' permission 2 Passed
And I sign in as the role test user 1 Passed
And I can see the 'audit' menu item 1 Passed
Given I am logged in as user 'role-subscription-admin' 1 Passed
And The organisation subscription tier is set to 'Essentials' 1 Passed
And I select the 'LabManager' permission preset 2 Passed
Then only the Essentials Lab Manager preset permissions are selected 1 Passed
Given I am logged in as user 'role-audit-admin' 1 Passed
And I remember the role test user's creation audit 1 Passed
And I change the role test account type to 'Admin' 1 Passed
Then the role test user's audit records account type role and permission changes 1 Passed
And the role test user's earlier creation audit is unchanged 1 Passed
Given I am logged in as user 'role-isolation-admin' 1 Passed
And I assign the role test user the 'Quality' preset in another organisation 1 Passed
And I return to the role test user in the original organisation 1 Passed
And only the 'Analyst' preset permissions are selected 1 Passed
Then the selected permission preset is 'LabManager' 1 Passed
And only the 'LabManager' preset permissions are selected 1 Passed
And the role test user's access in the other organisation is unchanged 1 Passed
Given I am logged in as user 'StockRolePermissionAdmin' 7 Passed
And the stock permission controls are 'visible' 3 Passed
And only '<Permissions>' stock permissions are selected 3 Passed
Then only '<Permissions>' stock permissions are selected 3 Passed
And I remove 'stock inventory' permission 3 Passed
Then I cannot manually navigate to the 'Inventory' page 3 Passed
And the stock permission user has only 'stock inventory, stock receive' permissions 1 Passed
When The organisation subscription tier is set to 'Essentials' 1 Passed
Then only 'stock inventory, stock receive' stock permissions are selected 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 (inclusive). Warning Limit: Between 2 and 4 (inclusive)' 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 publish product 'EnterResultsWarnProduct' for Enter Results 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 review the result limit details 'Warning limit: Between 2 and 4' 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
Given I have created a new user 'WelcomeTutorialNewUser' who has not seen the welcome tutorial 1 Passed
When I am logged in as the created user 'WelcomeTutorialNewUser' 1 Passed
Then the welcome tutorial is displayed 1 Passed
And the welcome tutorial displays screen '1' of '6' 1 Passed
Given I have created a new user 'WelcomeTutorialNavigationUser' who has not seen the welcome tutorial 1 Passed
And I am logged in as the created user 'WelcomeTutorialNavigationUser' 1 Passed
When I navigate through and finish the welcome tutorial 1 Passed
Then the welcome tutorial closes 2 Passed
And I can continue using LabHQ from the dashboard 3 Passed
Given I have created a new user 'WelcomeTutorialSkipUser' who has not seen the welcome tutorial 1 Passed
And I am logged in as the created user 'WelcomeTutorialSkipUser' 1 Passed
When I skip and later exit the welcome tutorial 1 Passed
Given I have created the user 'WelcomeTutorialExistingTestUser' 1 Passed
When I am logged in as the created user 'WelcomeTutorialExistingTestUser' 1 Passed
Then the welcome tutorial is not displayed 1 Passed
@SetupData
Feature: AdjustStock

Feature: Administration data permissions

@AdvancedTrial @LatestOnly
Feature: AdvancedTrial
  • New organisations can evaluate Advanced while retaining a simple path to Essentials or a paid subscription.
  • These scenarios require free-trials enabled and do not change hosted feature flags.

@SetupData
Feature: ApproveSamples

@SetupData
Feature: Attachments

Feature: Audit

@LatestOnly @McpClientWrites
Feature: Audited MCP client writes

@SetupData
Feature: BarcodeScanning

@LatestOnly @SetupData @DeleteSetupData
Feature: Calculation builder

Background:
  • Given I am logged in as user 'CalculationBuilderAdmin'
  • And the calculation builder is enabled for my organisation

@SetupData
Feature: Clients

@SetupData
Feature: Dashboard

@SetupData @ChangesSettings
Feature: Date-only values

Feature: EnterResults

@SetupData
Feature: EnterResultsKeyboard

@SetupData
Feature: EquipmentItems

@SetupData
Feature: EquipmentMaintenance

@EquipmentUsage @SetupData
Feature: EquipmentUsage

Background:
  • Given I am logged in as user 'equipmentusageuser'

@SetupData
Feature: ExpiredStock

@SetupData @LatestOnly
Feature: ExportResultsFilters

@SetupData @LatestOnly
Feature: Guided Submit

@SetupData
Feature: Inventory

@SetupData @DeleteSetupData
Feature: Investigations

@SetupData @ClearCustomFields
Feature: Job custom fields

Feature: Job data permissions

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: ManageCertificates

@SetupData
Feature: ManageWork

@LatestOnly @McpConsent
Feature: MCP organisation choice and consent

Feature: MenuNavigation

@SetupData
Feature: Organisation

Feature: Organisation MFA settings

@SetupData @ChangesSettings
Feature: Organisation timezone settings

Feature: OutOfSpecResults

@SetupData
Feature: Portal

@DeleteSetupData
Feature: Product Attachments

@SetupData
Feature: Product walkthrough

@DeleteSetupData
Feature: Products

@SetupData
Feature: ReceiveSamples

@SetupData
Feature: ReceiveStock

@SetupData
Feature: ReportSettings

@SetupData @LatestOnly
Feature: ResultsExport

@DeleteSetupData
Feature: ResultsImport

@SetupData @ClearCustomFields
Feature: Sample custom fields

Feature: Sample data permissions

Feature: SampleCertificate

@SetupData @LatestOnly
Feature: SampleDisposition

@SetupData
Feature: SampleLabel

@SetupData @LatestOnly @DeleteSetupData
Feature: SampleResultsExport

@SetupData @DeleteSetupData
Feature: SampleViewer

Feature: Settings

@DeleteSetupData
Feature: Specification Management

@DeleteSetupData
Feature: Specifications

@SetupData
Feature: StockIds

@SetupData @StockPermissions
Feature: StockItems

@SetupData
Feature: StockStorageLocations

@SetupData
Feature: Submit

@ChangesSubscriptionTier
Feature: SubscriptionTier

@SetupData @DeleteSetupData
Feature: Test Method Configuration

@SetupData
Feature: Test method walkthrough

@SetupData
Feature: Test suite walkthrough

@DeleteSetupData
Feature: TestMethods

@SetupData @LatestOnly @DeleteSetupData
Feature: TestResultsExport

@DeleteSetupData
Feature: TestSuites

@SetupData
Feature: Trending

Feature: UsageTracking

Feature: User Permissions

@SetupData
Feature: UserAccounts

@LatestOnly
Feature: UserRoles

Background:
  • Given permission presets have the following defaults:

@SetupData
Feature: VerifyTests

@DeleteSetupData
Feature: Warning Limits

@LatestOnly
Feature: Welcome tutorial

Scenario: I can manually adjust a batch of stock and see this reflected on the inventory page 1 48s 706ms
  • ✓ Given I am logged in as user 'Adjuststockuser'
  • ✓ And I have created the following stock item:
    | Key | Value |
    | Item Name | <item> |
    | Item Code | C123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • ✓ And I have received the following stock batch:
    | Key | Value |
    | Item Name | <item> |
    | Batch | <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 | <item> |
    | Stock Batch | <batch> |
    | Quantity | 45 |
    | Reason | Expired |
    | Type | <type> |
    | Correction | <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> |
    | Item Code | C123 |
    | Available Quantity | <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 35s 807ms
  • ✓ Given I am logged in as user 'Adjuststockuser'
  • ✓ And I have created the following stock item:
    | Key | Value |
    | Item Name | <item> |
    | Item Code | C123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • ✓ And I have received the following stock batch:
    | Key | Value |
    | Item Name | <item> |
    | Batch | <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 | <item> |
    | Stock Batch | <batch> |
    | Quantity | 45 |
    | Reason | Expired |
    | Type | <type> |
    | Correction | <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> |
    | Item Code | C123 |
    | Available Quantity | <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 33s 391ms
  • ✓ Given I am logged in as user 'Adjuststockuser'
  • ✓ And I have created the following stock item:
    | Key | Value |
    | Item Name | <item> |
    | Item Code | C123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • ✓ And I have received the following stock batch:
    | Key | Value |
    | Item Name | <item> |
    | Batch | <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 | <item> |
    | Stock Batch | <batch> |
    | Quantity | 45 |
    | Reason | Expired |
    | Type | <type> |
    | Correction | <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> |
    | Item Code | C123 |
    | Available Quantity | <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 32s 935ms
  • ✓ Given I am logged in as user 'Adjuststockuser'
  • ✓ And I have created the following stock item:
    | Key | Value |
    | Item Name | <item> |
    | Item Code | C123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • ✓ And I have received the following stock batch:
    | Key | Value |
    | Item Name | <item> |
    | Batch | <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 | <item> |
    | Stock Batch | <batch> |
    | Quantity | 45 |
    | Reason | Expired |
    | Type | <type> |
    | Correction | <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> |
    | Item Code | C123 |
    | Available Quantity | <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 29s 765ms
  • ✓ 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 | less than a minute ago |
    | User | adjustviewstockuser |

Scenario: A stock batch is removed from inventory view when adjusted to zero 40s 218ms
  • ✓ 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 37s 780ms
  • ✓ 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 42s 769ms
  • ✓ 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 | less than a minute 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

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Adjust Stock works without Inventory Receive or Usage Tracking 1 1min 6s
  • ✓ Given I am logged in as user 'StockAdjustPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user has only 'stock adjust' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the 'Adjust Stock' stock screen
  • ✓ And I click the adjust stock button
  • ✓ And I populate the adjust stock form with the following:
    | Key | Value |
    | Stock Item | PermissionStock |
    | Stock Batch | PERM |
    | Quantity | 5 |
    | Reason | Expired |
    | Type | <Type> |
    | Correction | <Correction> |
  • ✓ And I click the adjust stock button
  • ✓ And I can see the message of 'Stock availability updated successfully'
  • ✓ And I sign in as the stock fixture administrator
  • ✓ And I open the 'Inventory' stock screen
  • ✓ And I click on stock item 'PermissionStock'
  • ✓ Then stock batch 'PERM' has available quantity '<Quantity>'
Examples:
| Type | Correction | Quantity |
| Consumption | | 95 |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Adjust Stock works without Inventory Receive or Usage Tracking 2 1min 4s
  • ✓ Given I am logged in as user 'StockAdjustPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user has only 'stock adjust' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the 'Adjust Stock' stock screen
  • ✓ And I click the adjust stock button
  • ✓ And I populate the adjust stock form with the following:
    | Key | Value |
    | Stock Item | PermissionStock |
    | Stock Batch | PERM |
    | Quantity | 5 |
    | Reason | Expired |
    | Type | <Type> |
    | Correction | <Correction> |
  • ✓ And I click the adjust stock button
  • ✓ And I can see the message of 'Stock availability updated successfully'
  • ✓ And I sign in as the stock fixture administrator
  • ✓ And I open the 'Inventory' stock screen
  • ✓ And I click on stock item 'PermissionStock'
  • ✓ Then stock batch 'PERM' has available quantity '<Quantity>'
Examples:
| Type | Correction | Quantity |
| Disposal | | 95 |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Adjust Stock works without Inventory Receive or Usage Tracking 3 1min 5s
  • ✓ Given I am logged in as user 'StockAdjustPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user has only 'stock adjust' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the 'Adjust Stock' stock screen
  • ✓ And I click the adjust stock button
  • ✓ And I populate the adjust stock form with the following:
    | Key | Value |
    | Stock Item | PermissionStock |
    | Stock Batch | PERM |
    | Quantity | 5 |
    | Reason | Expired |
    | Type | <Type> |
    | Correction | <Correction> |
  • ✓ And I click the adjust stock button
  • ✓ And I can see the message of 'Stock availability updated successfully'
  • ✓ And I sign in as the stock fixture administrator
  • ✓ And I open the 'Inventory' stock screen
  • ✓ And I click on stock item 'PermissionStock'
  • ✓ Then stock batch 'PERM' has available quantity '<Quantity>'
Examples:
| Type | Correction | Quantity |
| Correction | Add | 105 |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Adjust Stock works without Inventory Receive or Usage Tracking 4 56s 231ms
  • ✓ Given I am logged in as user 'StockAdjustPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user has only 'stock adjust' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the 'Adjust Stock' stock screen
  • ✓ And I click the adjust stock button
  • ✓ And I populate the adjust stock form with the following:
    | Key | Value |
    | Stock Item | PermissionStock |
    | Stock Batch | PERM |
    | Quantity | 5 |
    | Reason | Expired |
    | Type | <Type> |
    | Correction | <Correction> |
  • ✓ And I click the adjust stock button
  • ✓ And I can see the message of 'Stock availability updated successfully'
  • ✓ And I sign in as the stock fixture administrator
  • ✓ And I open the 'Inventory' stock screen
  • ✓ And I click on stock item 'PermissionStock'
  • ✓ Then stock batch 'PERM' has available quantity '<Quantity>'
Examples:
| Type | Correction | Quantity |
| Correction | Remove | 95 |

@SetupData
Scenario: I cannot delete a setup item without correct permission 36s 746ms
  • ✓ Given I have created the user 'DeleteSetupPermissionsUser' without permissions 'setup data delete'
  • ✓ And I am logged in as user 'DeleteSetupPermissionsUserrm'
  • ✓ And I add the default client to both users
  • ✓ When 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 28s 699ms
  • ✓ Given I have created the user 'PublishSetupPermissionsUser' without permissions 'setup data publish'
  • ✓ And I am logged in as the created user 'PublishSetupPermissionsUser'
  • ✓ 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 '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

@SetupData
Scenario: I cannot archive user accounts without correct permission 37s 012ms
  • ✓ Given I have created the user 'ArchiveUserPermissionsUser' without permissions 'user accounts archive'
  • ✓ And I am logged in as user 'archiveuserpermissionsuserrm'
  • ✓ When I Log out of LabHQ
  • ✓ 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

Scenario: I cannot see user accounts without correct permission 24s 665ms
  • ✓ Given I have created the user 'ViewUserPermissionsUser' without permissions 'user accounts manage'
  • ✓ And I am logged in as the created user 'ViewUserPermissionsUser'
  • ✓ When I click on the 'System settings' menu item
  • ✓ Then I can see the organisation configure button
  • ✓ And I cannot see the 'user accounts' menu item
  • ✓ And I cannot manually navigate to the 'User accounts' page

Scenario: I cannot access equipment items without the correct permission 21s 541ms
  • ✓ Given I have created the user 'EquipmentPermissionUser' without permissions 'equipment items manage'
  • ✓ And I am logged in as the created user 'EquipmentPermissionUser'
  • ✓ When 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 26s 716ms
  • ✓ Given I have created the user 'EquipmentMainPermissionUser' without permissions 'equipment maintenance manage'
  • ✓ And I am logged in as the created user 'EquipmentMainPermissionUser'
  • ✓ When 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 31s 673ms
  • ✓ Given I have created the user 'ResultsImportConfigurationPermissionsUser' without permissions 'results import configuration manage'
  • ✓ And I am logged in as the created user 'ResultsImportConfigurationPermissionsUser'
  • ✓ When I click on the admin icon
  • ✓ And I click on the 'System settings' 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

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Shared stock item details do not require Inventory or Receive Stock 1 38s 657ms
  • ✓ Given I am logged in as user 'StockSharedPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And stock permission usage history exists
  • ✓ And the stock permission user has only '<Permission>' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the '<Screen>' stock screen
  • ✓ And I open shared details for stock item '<Item>' from '<Screen>'
  • ✓ Then stock batch '<Batch>' cannot be opened from the item details
Examples:
| Permission | Screen | Item | Batch |
| stock items manage | Stock Items | PermissionStock | PERM |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Shared stock item details do not require Inventory or Receive Stock 2 39s 911ms
  • ✓ Given I am logged in as user 'StockSharedPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And stock permission usage history exists
  • ✓ And the stock permission user has only '<Permission>' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the '<Screen>' stock screen
  • ✓ And I open shared details for stock item '<Item>' from '<Screen>'
  • ✓ Then stock batch '<Batch>' cannot be opened from the item details
Examples:
| Permission | Screen | Item | Batch |
| stock usage tracking | Usage Tracking | PermissionStock | PERM |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Shared stock item details do not require Inventory or Receive Stock 3 36s 748ms
  • ✓ Given I am logged in as user 'StockSharedPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And stock permission usage history exists
  • ✓ And the stock permission user has only '<Permission>' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the '<Screen>' stock screen
  • ✓ And I open shared details for stock item '<Item>' from '<Screen>'
  • ✓ Then stock batch '<Batch>' cannot be opened from the item details
Examples:
| Permission | Screen | Item | Batch |
| stock expired | Expired Stock | PermissionExpired | PERM-EXPIRED |

Scenario: Creating an organisation starts and persists the default Advanced trial 33s 877ms
  • ✓ Given a disposable organisation is ready for trial creation
  • ✓ When a BSL administrator creates it through the Admin API with the default trial duration
  • ✓ And its initial administrator signs in
  • ✓ Then the organisation shows its persisted 30 day Advanced trial and Advanced access

Scenario: An overdue trial awaiting automation shows that Advanced access is ending shortly 27s 851ms
  • ✓ Given a disposable organisation has an active Advanced trial
  • ✓ When its administrator views subscription information after the trial end date while expiry is pending
  • ✓ Then the trial is shown as ending shortly with its end date and upgrade route

Scenario: Trial account management respects the two user limit and archived places 2min 52s
  • ✓ Given a disposable organisation has an active Advanced trial
  • ✓ When its administrator creates a second trial user
  • ✓ And creating a third trial user is refused
  • ✓ And the second trial user is archived and a replacement is created
  • ✓ And reinstating the original trial user is refused while the trial is full
  • ✓ And the replacement is archived and the original trial user is reinstated
  • ✓ Then the trial has two non-archived users with the original user reinstated

Scenario: Converting Free Advanced to Paid Advanced releases the trial user limit 1min 4s
  • ✓ Given a disposable organisation has an active Advanced trial with two users
  • ✓ When a BSL administrator converts its active trial to Paid Advanced through the Admin API
  • ✓ And its administrator creates a third trial user
  • ✓ Then paid Advanced access and three users are available with the trial end date retained

Scenario: An expired trial remains usable on Essentials and can recover Advanced data after purchase 1min 53s
  • ✓ Given a disposable expired trial has two users and retained Advanced equipment
  • ✓ When both trial users sign in and use Essentials while Advanced access is restricted
  • ✓ And a BSL administrator purchases Advanced after trial expiry through the Admin API
  • ✓ Then the retained equipment is accessible again and the trial end date is unchanged

Scenario: I can select a job and approve the samples for it 29s 473ms
  • ✓ 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 19s 431ms
  • ✓ 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 31s 824ms
  • ✓ 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: Final lifecycle status is consistent for passing and failing results 1 42s 641ms
  • ✓ Given I am logged in as user 'completionuser'
  • ✓ When I progress a job through the lifecycle with batchNo 'Completion<Outcome>' and input value '<Input>' and spec 'Default specification'
  • ✓ And I open the created job directly on the job viewer
  • ✓ Then the job detail displays the final lifecycle status
  • ✓ And all '1' sample rows display the final lifecycle status
  • ✓ When I view the first sample on the job
  • ✓ Then the sample and its tests display the final lifecycle status
  • ✓ When I click on the default test method by name
  • ✓ Then the test detail displays the final lifecycle status
  • ✓ And the completed sample retains internal approval metadata and specification outcome '<Outcome>'
  • ✓ When I click on the 'job' menu item
  • ✓ Then the created job row displays the final lifecycle status
  • ✓ When I click on the 'sample' menu item
  • ✓ Then the created sample row displays the final lifecycle status
Examples:
| Outcome | Input |
| Pass | 5 |

Scenario: Final lifecycle status is consistent for passing and failing results 2 40s 137ms
  • ✓ Given I am logged in as user 'completionuser'
  • ✓ When I progress a job through the lifecycle with batchNo 'Completion<Outcome>' and input value '<Input>' and spec 'Default specification'
  • ✓ And I open the created job directly on the job viewer
  • ✓ Then the job detail displays the final lifecycle status
  • ✓ And all '1' sample rows display the final lifecycle status
  • ✓ When I view the first sample on the job
  • ✓ Then the sample and its tests display the final lifecycle status
  • ✓ When I click on the default test method by name
  • ✓ Then the test detail displays the final lifecycle status
  • ✓ And the completed sample retains internal approval metadata and specification outcome '<Outcome>'
  • ✓ When I click on the 'job' menu item
  • ✓ Then the created job row displays the final lifecycle status
  • ✓ When I click on the 'sample' menu item
  • ✓ Then the created sample row displays the final lifecycle status
Examples:
| Outcome | Input |
| Fail | 11 |

Scenario: A mixed outcome job completes only after every sample completes 35s 007ms
  • ✓ Given I am logged in as user 'mixedcompletionuser'
  • ✓ And I have a verified job with batch 'MixedCompletion' and sample input values:
    | Input | Outcome |
    | 5 | Pass |
    | 11 | Fail |
  • ✓ When I approve the first prepared sample
  • ✓ And I open the created job directly on the job viewer
  • ✓ Then the job detail lifecycle status is 'Results Verified'
  • ✓ When I approve all prepared samples
  • ✓ And I refresh the page
  • ✓ Then the job detail displays the final lifecycle status
  • ✓ And all '2' sample rows display the final lifecycle status

Scenario: Reverting completion restores the sample and recalculates the mixed job 1 59s 946ms
  • ✓ Given I am logged in as user 'revertcompletionuser'
  • ✓ And I have a verified job with batch 'RevertCompletion<Surface>' and sample input values:
    | Input | Outcome |
    | 5 | Pass |
    | 11 | Fail |
  • ✓ When I approve all prepared samples
  • ✓ And I open the created job directly on the job viewer
  • ✓ Then the job detail displays the final lifecycle status
  • ✓ When I open the completion action menu on the '<Surface>'
  • ✓ And I choose the release-specific revert completion action
  • ✓ Then the revert success message uses the release-specific completion terminology
  • ✓ When I open the created job directly on the job viewer
  • ✓ Then the job detail lifecycle status is 'Results Verified'
  • ✓ When I view the first sample on the job
  • ✓ Then the sample detail lifecycle status is 'Results Verified'
  • ✓ When I click on the sample audit button
  • ✓ Then the reverted completion audit retains its historical action key and uses the release-specific label
Examples:
| Surface |
| job |

Scenario: Reverting completion restores the sample and recalculates the mixed job 2 57s 058ms
  • ✓ Given I am logged in as user 'revertcompletionuser'
  • ✓ And I have a verified job with batch 'RevertCompletion<Surface>' and sample input values:
    | Input | Outcome |
    | 5 | Pass |
    | 11 | Fail |
  • ✓ When I approve all prepared samples
  • ✓ And I open the created job directly on the job viewer
  • ✓ Then the job detail displays the final lifecycle status
  • ✓ When I open the completion action menu on the '<Surface>'
  • ✓ And I choose the release-specific revert completion action
  • ✓ Then the revert success message uses the release-specific completion terminology
  • ✓ When I open the created job directly on the job viewer
  • ✓ Then the job detail lifecycle status is 'Results Verified'
  • ✓ When I view the first sample on the job
  • ✓ Then the sample detail lifecycle status is 'Results Verified'
  • ✓ When I click on the sample audit button
  • ✓ Then the reverted completion audit retains its historical action key and uses the release-specific label
Examples:
| Surface |
| sample |

Scenario: Completion audit labels preserve the historical filter key 42s 338ms
  • ✓ Given I am logged in as user 'completionaudituser'
  • ✓ When I progress a job through the lifecycle with batchNo 'CompletionAudit' and input value '11' and spec 'Default specification'
  • ✓ And I open the created job directly on the job viewer
  • ✓ And I click on the job audit button
  • ✓ Then the completion audit retains its historical action key and uses the release-specific label

Scenario: Reverting the lifecycle command recalculates a mixed job and preserves audit compatibility 42s 512ms
  • ✓ Given I am logged in as user 'revertcommanduser'
  • ✓ And I have a verified job with batch 'RevertCompletionCommand' and sample input values:
    | Input | Outcome |
    | 5 | Pass |
    | 11 | Fail |
  • ✓ When I approve all prepared samples
  • ✓ And I revert the first prepared sample through the lifecycle API
  • ✓ And I open the created job directly on the job viewer
  • ✓ Then the job detail lifecycle status is 'Results Verified'
  • ✓ And only the reverted sample returns to Results Verified
  • ✓ When I view the first sample on the job
  • ✓ Then the sample detail lifecycle status is 'Results Verified'
  • ✓ When I click on the sample audit button
  • ✓ Then the reverted completion audit retains its historical action key and uses the release-specific label

@LatestOnly
Scenario: Manage certificates displays Completed for a failing completed sample and its job 25s 538ms
  • ✓ Given I am logged in as user 'completioncertificateuser'
  • ✓ When I progress a job through the lifecycle with batchNo 'CompletionCertificate' and input value '11' and spec 'Default specification'
  • ✓ And I open the created job directly on the job viewer
  • ✓ And I click on the Manage Certificates button
  • ✓ Then manage certificates displays the final job and sample lifecycle status

Scenario: Revert completion permission keeps its compatibility key 31s 162ms
  • ✓ Given I have created the user 'completionpermissiontarget'
  • ✓ And I am logged in as user 'completionpermissionadmin'
  • ✓ When I click on the 'System settings' menu item
  • ✓ And I click on the 'User accounts' menu item
  • ✓ And I search for user 'completionpermissiontarget'
  • ✓ And I click on user account 'completionpermissiontarget'
  • ✓ Then the revert completion permission retains its key and displays the release-specific terminology

Scenario: Revert completion continues to require the existing permission 37s 510ms
  • ✓ Given I have created the user 'completionrestricted' without permissions 'lifecycle revert approval'
  • ✓ And I am logged in as user 'completionpermissionsetup'
  • ✓ And I add the default client to both users
  • ✓ When I progress a job through the lifecycle with batchNo 'CompletionPermission' and input value '5' and spec 'Default specification'
  • ✓ And I Log out of LabHQ
  • ✓ And I enter my credentials to log in to user 'completionrestricted'
  • ✓ And I open the created job directly on the job viewer
  • ✓ And I open the completion action menu on the 'sample'
  • ✓ Then the completion action is unavailable without revert permission

Scenario: Job attachments are internal by default and their portal visibility can be amended 40s 844ms
  • ✓ Given I am logged in as user 'jobattachmentvisibilityuser'
  • ✓ When I submit a job with batchNo 'jobattachmentvisibility'
  • ✓ 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
  • ✓ And the attachment visibility is 'Internal only'
  • ✓ When I change the attachment visibility to 'Visible on Portal'
  • ✓ Then the attachment visibility is 'Visible on Portal'
  • ✓ When I change the attachment visibility to 'Internal only'
  • ✓ Then the attachment visibility is 'Internal only'

Scenario: Sample attachments are internal by default and their portal visibility can be amended 41s 592ms
  • ✓ Given I am logged in as user 'sampleattachmentvisibilityuser'
  • ✓ When I submit a job with batchNo 'sampleattachmentvisibility'
  • ✓ 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
  • ✓ And the attachment visibility is 'Internal only'
  • ✓ When I change the attachment visibility to 'Visible on Portal'
  • ✓ Then the attachment visibility is 'Visible on Portal'

Scenario: I can add an attachment to a job 32s 783ms
  • ✓ 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 43s 965ms
  • ✓ 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 42s 287ms
  • ✓ 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 42s 462ms
  • ✓ 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'

@SetupData
Scenario: I can add a job and see this on the filtered audit 1min 7s
  • ✓ 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

@SetupData
Scenario: I can find audit data using the search box 1min 2s
  • ✓ 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 can see the submitted job action on the audit
  • ✓ 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

@SetupData
Scenario: I can edit a test method and see this on the audit 52s 037ms
  • ✓ 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 1min 15s
  • ✓ 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 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

@SetupData
Scenario: I am taken to the audit logs for a job when I click the job audit button 56s 814ms
  • ✓ 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

@SetupData
Scenario: I am taken to the audit logs for a job when I click the context menu audit logs button 44s 148ms
  • ✓ 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

@SetupData
Scenario: I am taken to the audit logs for a sample when I click the sample audit button 1min 0s
  • ✓ 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

@SetupData
Scenario: I am taken to the audit logs for a sample when I click the context menu audit logs button 42s 534ms
  • ✓ 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 @SetupData
Scenario: I can only see audit logs for my own organisation 1min 22s
  • ✓ 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 click on the 'Audit' menu item
  • ✓ And I am on the audit page
  • ✓ And I can see the submitted job action on the audit
  • ✓ 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 1min 2s
  • ✓ 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 close the product attachments
  • ✓ 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 the attachment audits for product 'AuditProductAttachmentProd' have arrived
  • ✓ And I can see 'Product attachment added'
  • ✓ And I can see 'Product attachment deleted'

@SetupData @LatestOnly
Scenario: A web app change shows its source on the audit 56s 513ms
  • ✓ Given I am logged in as user 'AuditSourceUser'
  • ✓ 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 'AuditSource' 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
  • ✓ And I am on the audit page
  • ✓ Then the audit Source column appears after User
  • ✓ And the submitted job audit source is 'LabHQ App'

@SetupData @LatestOnly
Scenario: I can filter audit history by source 1min 9s
  • ✓ Given I am logged in as user 'AuditSourceFilterUser'
  • ✓ 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 'AuditSourceFilter' 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
  • ✓ And I am on the audit page
  • ✓ And I select only 'LabHQ App' from the audit source filter
  • ✓ And I can see the submitted job action on the audit
  • ✓ And I select only 'MCP' from the audit source filter
  • ✓ Then I can no longer see the submitted job action on the audit

Scenario: Update client notes and preserve existing client details 7s 449ms
  • ✓ Given a disposable pilot organisation with an authorised MCP client manager and a client with contact and product details
  • ✓ When the manager updates the client's notes through MCP with a reason for change
  • ✓ Then LabHQ saves only the intended change and records the manager and reason in the audit

Scenario: Barcode scan mode is enabled by default for a user 17s 745ms
  • ✓ Given I am logged in as user 'BarcodeScanDefaultUser'
  • ✓ When I click on the my account button
  • ✓ Then barcode scan mode is enabled by default

Scenario: I can scan a sample barcode from another screen 25s 491ms
  • ✓ Given I am logged in as user 'BarcodeScanSampleUser'
  • ✓ And I submit a job with batchNo 'BarcodeScanSample'
  • ✓ And I have navigated to the 'products' page
  • ✓ And barcode scan mode is enabled
  • ✓ When I scan the created sample barcode
  • ✓ Then I am directed to the created sample viewer

Scenario: Invalid barcode content shows an error 1 15s 715ms
  • ✓ Given I am logged in as user 'BarcodeScanInvalidUser'
  • ✓ And barcode scan mode is enabled
  • ✓ When I scan barcode content '<Content>'
  • ✓ Then I can see the message of '<Message>'
Examples:
| Content | Message |
| %SL%invalid | Could not process barcode: Invalid Sample barcode format |

Scenario: Invalid barcode content shows an error 2 16s 335ms
  • ✓ Given I am logged in as user 'BarcodeScanInvalidUser'
  • ✓ And barcode scan mode is enabled
  • ✓ When I scan barcode content '<Content>'
  • ✓ Then I can see the message of '<Message>'
Examples:
| Content | Message |
| %SL%123456789012 | Sample not found |

Scenario: A user can disable and re-enable barcode scan mode 23s 989ms
  • ✓ Given I am logged in as user 'BarcodeScanToggleUser'
  • ✓ And I submit a job with batchNo 'BarcodeScanToggle'
  • ✓ When I disable barcode scan mode
  • ✓ And I scan the created sample barcode
  • ✓ Then I remain on the dashboard
  • ✓ When I enable barcode scan mode
  • ✓ And I scan the created sample barcode
  • ✓ Then I am directed to the created sample viewer

Scenario: Scanning continues to respect an unsaved changes prompt 43s 645ms
  • ✓ Given I am logged in as user 'BarcodeScanUnsavedUser'
  • ✓ And I submit a job with batchNo 'BarcodeScanUnsaved'
  • ✓ And barcode scan mode is enabled
  • ✓ 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 edit button
  • ✓ And I enter 'Unsaved barcode scan change' into the description
  • ✓ And I scan the created sample barcode and dismiss the unsaved changes prompt
  • ✓ Then I remain on the current sample viewer
  • ✓ When I scan the created sample barcode and accept the unsaved changes prompt
  • ✓ Then I am directed to the created sample viewer

Scenario: The existing default sample label supports barcode scanning 20s 223ms
  • ✓ Given I am logged in as user 'BarcodeScanLabelUser'
  • ✓ When I click on the 'System settings' menu item
  • ✓ And I click on the label settings configure button
  • ✓ And I show the advanced label settings
  • ✓ Then I can see 'Sample Lookup'
  • ✓ And the default sample label contains a QR barcode using the sample lookup token

Scenario: I can build and save result and display formulas with the output settings 1min 7s
  • ✓ Given I am logged in as user 'CalculationBuilderAdmin'
  • ✓ And the calculation builder is enabled for my organisation
  • ✓ Given I have created a test method called 'DesignerFormulas' with 1 numeric calculation input
  • ✓ When I open the Test Methods list from Setup
  • ✓ And I click on the edit test method button for test method 'DesignerFormulas' on the test method page
  • ✓ And I click the create output button
  • ✓ And I choose calculation input '$1' named 'AutoInput-0'
  • ✓ And I apply the 'multiply' calculation operation
  • ✓ And I open the value picker for formula slot '1'
  • ✓ And I enter number '2.5' from the value picker
  • ✓ And I select formula group 'root'
  • ✓ And I add the 'absolute' function from 'mathematics'
  • ✓ And formula groups 'root' and '0' have different colours
  • ✓ And the formula code is 'ABS(($1 * 2.5))'
  • ✓ And I select the 'display' formula tab
  • ✓ And I use the rounded result in the display formula
  • ✓ And I apply the 'add' calculation operation
  • ✓ And I open the value picker for formula slot '1'
  • ✓ And I enter text ' g (measured)' from the value picker
  • ✓ And the formula code is '($R + " g (measured)")'
  • ✓ And I name the output 'MeasuredMass'
  • ✓ And I change the output units to 'g'
  • ✓ And I set the decimals to 0
  • ✓ And I click to hide the output from reports
  • ✓ And changing formula tabs and modes keeps output 'MeasuredMass' with units 'g', decimals '0' and Show on report cleared
  • ✓ And I enter '1' in example input '$1'
  • ✓ And I run Try it out
  • ✓ And Try it out shows raw '2.5 g', rounded '3 g' and display '3 g (measured)'
  • ✓ And I click ok
  • ✓ And I click save
  • ✓ And I can see test method 'DesignerFormulas' on the test method view page
  • ✓ And I click the edit test method button
  • ✓ And I click on output options for output '1'
  • ✓ And I click the edit output option
  • ✓ And the formula code is 'ABS(($1 * 2.5))'
  • ✓ And I select the 'display' formula tab
  • ✓ Then the formula code is '($R + " g (measured)")'

Scenario: Calculation operations have tooltips that explain them 34s 571ms
  • ✓ Given I am logged in as user 'CalculationBuilderAdmin'
  • ✓ And the calculation builder is enabled for my organisation
  • ✓ Given I have created a test method called 'FormulaTooltips' with 1 numeric calculation input
  • ✓ When I open the Test Methods list from Setup
  • ✓ And I click on the edit test method button for test method 'FormulaTooltips' on the test method page
  • ✓ And I click on output options for output '0'
  • ✓ And I click the edit output option
  • ✓ Then the 'multiply' operation is labelled 'Multiply' and explains 'Multiplies the two values together.'

Scenario: I can combine comparisons with And and Or and return different text from an If formula 1min 16s
  • ✓ Given I am logged in as user 'CalculationBuilderAdmin'
  • ✓ And the calculation builder is enabled for my organisation
  • ✓ Given I have created a test method called 'ConditionalDisplay' with 3 numeric calculation inputs
  • ✓ When I open the Test Methods list from Setup
  • ✓ And I click on the edit test method button for test method 'ConditionalDisplay' on the test method page
  • ✓ And I click the create output button
  • ✓ And I name the output 'RangeDecision'
  • ✓ And I choose calculation input '$1' named 'AutoInput-0'
  • ✓ And I select the 'display' formula tab
  • ✓ And I add the 'condition' condition
  • ✓ And I open the value picker for formula slot '0.0'
  • ✓ And I choose input '$1' named 'AutoInput-0' from the value picker
  • ✓ And I set the comparison at '0' to 'greaterThan'
  • ✓ And I open the value picker for formula slot '0.1'
  • ✓ And I enter number '1' from the value picker
  • ✓ And I select formula group '0'
  • ✓ And I add the 'and' condition
  • ✓ And I open the value picker for formula slot '0.1'
  • ✓ And I dismiss the value picker
  • ✓ And I add the 'lessThan' condition
  • ✓ And I open the value picker for formula slot '0.1.0'
  • ✓ And I choose input '$2' named 'AutoInput-1' from the value picker
  • ✓ And I open the value picker for formula slot '0.1.1'
  • ✓ And I enter number '5' from the value picker
  • ✓ And I select formula group '0'
  • ✓ And I add the 'or' condition
  • ✓ And I open the value picker for formula slot '0.1'
  • ✓ And I dismiss the value picker
  • ✓ And I add the 'equal' condition
  • ✓ And I open the value picker for formula slot '0.1.0'
  • ✓ And I choose input '$3' named 'AutoInput-2' from the value picker
  • ✓ And I open the value picker for formula slot '0.1.1'
  • ✓ And I enter number '9' from the value picker
  • ✓ And I open the value picker for formula slot '1'
  • ✓ And I enter text 'In range' from the value picker
  • ✓ And I open the value picker for formula slot '2'
  • ✓ And I enter text 'Review' from the value picker
  • ✓ And formula slot '1' displays 'In range' as a text literal
  • ✓ And the formula code is '(((($1 > 1) && ($2 < 5)) || ($3 == 9)) ? "In range" : "Review")'
  • ✓ And I select the 'test' formula tab
  • ✓ And I enter '2' in example input '$1'
  • ✓ And I enter '3' in example input '$2'
  • ✓ And I enter '0' in example input '$3'
  • ✓ And I run Try it out
  • ✓ And Try it out displays 'In range'
  • ✓ And I enter '7' in example input '$2'
  • ✓ And I run Try it out
  • ✓ And Try it out displays 'Review'
  • ✓ And I enter '9' in example input '$3'
  • ✓ And I run Try it out
  • ✓ And Try it out displays 'In range'
  • ✓ And I select the 'display' formula tab
  • ✓ Then the conditional formula has If, When true and When false branches

Scenario: I can select an input from the end of a long list 32s 574ms
  • ✓ Given I am logged in as user 'CalculationBuilderAdmin'
  • ✓ And the calculation builder is enabled for my organisation
  • ✓ Given I have created a test method called 'LongCalculationInputList' with 24 numeric calculation inputs
  • ✓ When I open the Test Methods list from Setup
  • ✓ And I click on the edit test method button for test method 'LongCalculationInputList' on the test method page
  • ✓ And I click on output options for output '0'
  • ✓ And I click the edit output option
  • ✓ And I open the value picker for formula slot 'root'
  • ✓ And I choose input '$24' named 'AutoInput-23' from the value picker
  • ✓ Then the formula code is '$24'

Scenario: I can select either multiplication and undo or redo a replacement or deletion in one step 52s 898ms
  • ✓ Given I am logged in as user 'CalculationBuilderAdmin'
  • ✓ And the calculation builder is enabled for my organisation
  • ✓ Given I have created a test method called 'MultiplicationChain' with 3 numeric calculation inputs
  • ✓ When I open the Test Methods list from Setup
  • ✓ And I click on the edit test method button for test method 'MultiplicationChain' on the test method page
  • ✓ And I click on output options for output '0'
  • ✓ And I click the edit output option
  • ✓ And I enter formula code '$1 * $2 * $3'
  • ✓ And I switch to the calculation Designer
  • ✓ And I select the multiplication at '0' and only 'AutoInput-0 g, AutoInput-1 g' are outlined
  • ✓ And I replace the selection with input '$3' named 'AutoInput-2'
  • ✓ And the formula code is '($3 * $3)'
  • ✓ And I undo in Designer
  • ✓ And the formula code is '$1 * $2 * $3'
  • ✓ And I redo in Designer
  • ✓ And the formula code is '($3 * $3)'
  • ✓ And I undo in Designer
  • ✓ And I select the multiplication at 'root' and only 'AutoInput-0 g, AutoInput-1 g, AutoInput-2 g' are outlined
  • ✓ And I delete the selection in Designer
  • ✓ And I dismiss the value picker
  • ✓ And the formula code is ''
  • ✓ And I dismiss the value picker
  • ✓ And I undo in Designer
  • ✓ And the formula code is '$1 * $2 * $3'
  • ✓ And I redo in Designer
  • ✓ Then the formula code is ''

Scenario: I can reopen existing formulas without changing the original syntax 1min 9s
  • ✓ Given I am logged in as user 'CalculationBuilderAdmin'
  • ✓ And the calculation builder is enabled for my organisation
  • ✓ Given I have created a test method called 'OriginalFormulaCode' with 3 numeric calculation inputs
  • ✓ When I open the Test Methods list from Setup
  • ✓ And I click on the edit test method button for test method 'OriginalFormulaCode' on the test method page
  • ✓ And I click on output options for output '0'
  • ✓ And I click the edit output option
  • ✓ And I enter formula code 'Math.Round(SUM($1::$3, 5), 2)'
  • ✓ And I select the 'display' formula tab
  • ✓ And I enter formula code 'string.Format("{0:0.00}", ROUND($R, 2, MidpointRounding.AwayFromZero))'
  • ✓ And I click ok
  • ✓ And I click save
  • ✓ And I can see test method 'OriginalFormulaCode' on the test method view page
  • ✓ And I click the edit test method button
  • ✓ And I click on output options for output '0'
  • ✓ And I click the edit output option
  • ✓ And Designer displays the formula without rewriting 'Math.Round(SUM($1::$3, 5), 2)'
  • ✓ And I select the 'display' formula tab
  • ✓ And Designer displays the formula without rewriting 'string.Format("{0:0.00}", ROUND($R, 2, MidpointRounding.AwayFromZero))'
  • ✓ And I enter formula code '$R.ToString("F3")'
  • ✓ And I click ok
  • ✓ And I click save
  • ✓ And I can see test method 'OriginalFormulaCode' on the test method view page
  • ✓ And I click the edit test method button
  • ✓ And I click on output options for output '0'
  • ✓ And I click the edit output option
  • ✓ And I select the 'display' formula tab
  • ✓ And I switch to the calculation Designer
  • ✓ And Designer explains why the formula is unavailable and opens the exact code '$R.ToString("F3")'
  • ✓ Then the copy is confirmed and the formula documentation is linked

Scenario: Try it out discards stale values and distinguishes result errors from display errors 59s 794ms
  • ✓ Given I am logged in as user 'CalculationBuilderAdmin'
  • ✓ And the calculation builder is enabled for my organisation
  • ✓ Given I have created a test method called 'TryCalculation' with 1 numeric calculation input
  • ✓ When I open the Test Methods list from Setup
  • ✓ And I click on the edit test method button for test method 'TryCalculation' 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 formula code '$1 * 2.5'
  • ✓ And I select the 'test' formula tab
  • ✓ And I enter '1' in example input '$1'
  • ✓ And I run Try it out
  • ✓ And Try it out shows raw '2.5 g', rounded '3 g' and display '3 g'
  • ✓ And I enter '2' in example input '$1'
  • ✓ And Try it out clears the previous results
  • ✓ And I run Try it out
  • ✓ And Try it out shows raw '5 g', rounded '5 g' and display '5 g'
  • ✓ And I set the decimals to 1
  • ✓ And Try it out clears the previous results
  • ✓ And I run Try it out
  • ✓ And Try it out shows raw '5 g', rounded '5.0 g' and display '5.0 g'
  • ✓ And I select the 'display' formula tab
  • ✓ And I enter formula code 'NUM("not a number")'
  • ✓ And I select the 'test' formula tab
  • ✓ And Try it out clears the previous results
  • ✓ And I run Try it out
  • ✓ And Try it out shows a 'display' error 'Could not format the result. Check the display formula.'
  • ✓ And I select the 'result' formula tab
  • ✓ And I enter formula code 'NUM("not a number")'
  • ✓ And I select the 'test' formula tab
  • ✓ And I run Try it out
  • ✓ And Try it out shows a 'result' error 'Could not calculate the result. Check the calculation and test values.'
  • ✓ And I select the 'result' formula tab
  • ✓ And I enter formula code '$1 * 2.5'
  • ✓ And I select the 'display' formula tab
  • ✓ And I enter formula code '$R'
  • ✓ And I select the 'test' formula tab
  • ✓ And I enter '1' in example input '$1'
  • ✓ And I run Try it out
  • ✓ Then Try it out shows raw '2.5 g', rounded '2.5 g' and display '2.5 g'

Scenario: I can navigate a large formula without losing it 1min 0s
  • ✓ Given I am logged in as user 'CalculationBuilderAdmin'
  • ✓ And the calculation builder is enabled for my organisation
  • ✓ Given I have created a test method called 'LargeCalculation' with 1 numeric calculation input
  • ✓ When I open the Test Methods list from Setup
  • ✓ And I click on the edit test method button for test method 'LargeCalculation' on the test method page
  • ✓ And I click on output options for output '0'
  • ✓ And I click the edit output option
  • ✓ And I enter a large formula that adds forty terms
  • ✓ And I switch to the calculation Designer
  • ✓ And I expand the calculation editor
  • ✓ And I fit, zoom and drag the calculation canvas
  • ✓ And I select the 'display' formula tab
  • ✓ And I select the 'test' formula tab
  • ✓ And I select the 'result' formula tab
  • ✓ And the large formula is still intact
  • ✓ And I click ok
  • ✓ And I expand the oversized result preview for output 'AutoOutput-0'
  • ✓ Then the expanded viewer keeps the large formula and supports View, Code, copy, fit, zoom, drag and collapse

Scenario: I can preview both formulas in setup, Test Method View and a lifecycle test 1min 27s
  • ✓ Given I am logged in as user 'CalculationBuilderAdmin'
  • ✓ And the calculation builder is enabled for my organisation
  • ✓ Given I create the following setup data:
    | Key | Value |
    | Username | CalculationBuilderAdmin |
    | TestMethodName | PreviewCalculation |
    | TestMethod2Name | |
    | ClientName | PreviewClient |
    | ProductName | PreviewProduct |
    | TestSuiteName | PreviewSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • ✓ When I open the Test Methods list from Setup
  • ✓ And I click on the edit test method button for test method 'PreviewCalculation' on the test method page
  • ✓ And I open the test method's inputs and outputs
  • ✓ And I hover over 'result' for output 'output-1' and see a read-only diagram containing 'AutoInput'
  • ✓ And I click the 'result' formula link for output 'output-1' and it opens that formula for editing
  • ✓ And the formula code is '$1'
  • ✓ And I click the cancel button
  • ✓ And I hover over 'display' for output 'output-1' and see a read-only diagram containing 'Rounded result'
  • ✓ And I click the 'display' formula link for output 'output-1' and it opens that formula for editing
  • ✓ And the formula code is '$R'
  • ✓ And I click the cancel button
  • ✓ And I click on the 'Test methods' menu item
  • ✓ And I click on the test method 'PreviewCalculation' on the test method page
  • ✓ And I hover over 'result' for output 'output-1' and see a read-only diagram containing 'AutoInput'
  • ✓ And I hover over 'display' for output 'output-1' and see a read-only diagram containing 'Rounded result'
  • ✓ And I have progressed a job up to verify with batchNo 'preview-calculation' and input value '2' and 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 'PreviewCalculation' on the sample details page
  • ✓ Then I hover over 'result' for output 'output-1' and see a read-only diagram containing 'AutoInput'
  • ✓ And I hover over 'display' for output 'output-1' and see a read-only diagram containing 'Rounded result'

Scenario: I can create a client 27s 799ms
  • ✓ 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 19s 166ms
  • ✓ 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 31s 610ms
  • ✓ 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: Client details can be updated without changing internal user assignments 20s 411ms
  • ✓ Given I have created the user 'clientdetailseditor' without permissions 'user accounts manage'
  • ✓ And I am logged in as the created user 'clientdetailseditor'
  • ✓ And I have created a client called 'Client maintenance'
  • ✓ 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 enter 'Updated client maintenance' in the name field
  • ✓ And I press tab on the keyboard
  • ✓ And I save the client and wait for it to reload
  • ✓ Then the client details are saved as 'Updated client maintenance' without changing internal user assignments

Scenario: Authorised users can update internal user assignments for a client 40s 504ms
  • ✓ Given I have created the user 'clientassignmenteditor' with permissions 'clients view, clients manage, setup data view, user accounts manage'
  • ✓ And I am logged in as the created user 'clientassignmenteditor'
  • ✓ And I have created the user 'clientassignmentcolleague' with permissions 'clients view'
  • ✓ 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 'Account assignment client' in the name field
  • ✓ And I assign internal user 'clientassignmenteditor' to the client
  • ✓ And I click on the create button
  • ✓ And I can see the message of 'Client created successfully'
  • ✓ And I click the back button
  • ✓ And I click on client 'Account assignment client' on the clients page
  • ✓ And I can see internal user 'clientassignmenteditor' assigned to the client
  • ✓ And I remove internal user 'clientassignmenteditor' from the client
  • ✓ And I assign internal user 'clientassignmentcolleague' to the client
  • ✓ And I save the client assignments and wait for them to reload
  • ✓ Then the saved client assigns internal user 'clientassignmentcolleague' instead of 'clientassignmenteditor'

Scenario: I can add all filtered products to a new client 30s 610ms
  • ✓ 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 29s 841ms
  • ✓ 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: The new welcome video plays after one click on the dashboard 24s 659ms
  • ✓ Given I am logged in as user 'welcomevideouser'
  • ✓ When I click the play button on the dashboard welcome widget
  • ✓ Then the new LabHQ welcome video starts playing in the introduction dialog

Scenario: I can edit and save my dashboard 19s 531ms
  • ✓ 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 39s 478ms
  • ✓ 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 26s 634ms
  • ✓ 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 21s 224ms
  • ✓ Given I am logged in as user 'samplesdueweekuser'
  • ✓ And I have progressed a job up to enter results with batchNo 'dueweek'
  • ✓ And I have updated the due date on sample with batch 'dueweek' to 'today'
  • ✓ 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 42s 328ms
  • ✓ Given I am logged in as user 'companylogouser'
  • ✓ 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

Scenario: I can see the onboarding checklist is displayed when I add this to my dashboard 26s 579ms
  • ✓ 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'
  • ✓ And the User Accounts onboarding task opens the user accounts page

Scenario: I can see the samples completed on time widget shows the correct information 30s 003ms
  • ✓ 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 21s 180ms
  • ✓ 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 28s 909ms
  • ✓ 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 21s 872ms
  • ✓ 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 20s 197ms
  • ✓ 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 1min 5s
  • ✓ 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 1min 0s
  • ✓ 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 28s 327ms
  • ✓ 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 26s 981ms
  • ✓ 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 32s 510ms
  • ✓ 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 29s 710ms
  • ✓ 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 1min 0s
  • ✓ 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' on the stock expiring soon widget

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Stock widgets remain available and saved without granting Stock page access 1min 13s
  • ✓ Given I am logged in as user 'StockDashboardPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user has no permissions
  • ✓ When I sign in as the stock permission user
  • ✓ 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 health' widget from the widget gallery
  • ✓ 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 'stock expiring soon (next 48h)' widget from the widget gallery
  • ✓ And I refresh the page
  • ✓ Then all stock permission dashboard widgets show their data
  • ✓ And I cannot see the 'Stock' menu item
  • ✓ And I cannot manually navigate to the 'Expired Stock' page
  • ✓ And I cannot manually navigate to the 'Inventory' page

@DeleteSetupData @TimezoneReset
Scenario: Timezone extremes do not shift date on inputs for stock, sample viewer and audit 1 1min 49s
  • ✓ Given I am logged in as user '<user>'
  • ✓ And I have created the following stock item:
    | Key | Value |
    | Item Name | <itemName> |
    | Item Code | <itemCode> |
    | 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 | <itemName> |
    | Batch | <batchNo> |
    | Quantity | 27 |
    | Expiry | YESTERDAY |
    | Status | Requires Testing |
  • ✓ And I can see the expiry date input is 'yesterday'
  • ✓ And I populate the testing details form with the default product and test suite
  • ✓ And I click the receive stock button
  • ✓ And recently received stock batch '<batchNo>' is displayed
  • ✓ And I receive the job with batch '<batchNo>'
  • ✓ And I click on the view sample link to be taken to the submitted sample for stock batch '<batchNo>'
  • ✓ And I click on the sample edit button
  • ✓ And I enter due date 'yesterday' on the sample viewer
  • ✓ And I click save
  • ✓ And I can see the sample due date value is 'yesterday'
  • ✓ And I click on the admin icon
  • ✓ And I select timezone '<timezone>' from the timezone drop down
  • ✓ And I click save
  • ✓ And I can see the message of 'Settings updated successfully'
  • ✓ And I click on the 'Stock' menu item
  • ✓ And I click on the 'Inventory' menu item
  • ✓ And I click on stock item '<itemName>'
  • ✓ And I can see stock batch '<batchNo>' has expiry date 'yesterday'
  • ✓ And I view the created job on the job viewer
  • ✓ And I view the first sample on the job
  • ✓ And I can see the sample due date value is 'yesterday'
  • ✓ And I click on the 'Audit' menu item
  • ✓ And I enter 'yesterday' on the audit after date filter
  • ✓ Then I can see the audit after date filter is 'yesterday'
  • ✓ And I can see the header timezone is '<timezone>'
Examples:
| user | timezone | itemName | itemCode | batchNo |
| TimezoneBehindUtcUser | Pacific/Honolulu | TimezoneStockBehindUtcItem | TZB001 | TimezoneBehindUtc1 |

@DeleteSetupData @TimezoneReset
Scenario: Timezone extremes do not shift date on inputs for stock, sample viewer and audit 2 1min 56s
  • ✓ Given I am logged in as user '<user>'
  • ✓ And I have created the following stock item:
    | Key | Value |
    | Item Name | <itemName> |
    | Item Code | <itemCode> |
    | 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 | <itemName> |
    | Batch | <batchNo> |
    | Quantity | 27 |
    | Expiry | YESTERDAY |
    | Status | Requires Testing |
  • ✓ And I can see the expiry date input is 'yesterday'
  • ✓ And I populate the testing details form with the default product and test suite
  • ✓ And I click the receive stock button
  • ✓ And recently received stock batch '<batchNo>' is displayed
  • ✓ And I receive the job with batch '<batchNo>'
  • ✓ And I click on the view sample link to be taken to the submitted sample for stock batch '<batchNo>'
  • ✓ And I click on the sample edit button
  • ✓ And I enter due date 'yesterday' on the sample viewer
  • ✓ And I click save
  • ✓ And I can see the sample due date value is 'yesterday'
  • ✓ And I click on the admin icon
  • ✓ And I select timezone '<timezone>' from the timezone drop down
  • ✓ And I click save
  • ✓ And I can see the message of 'Settings updated successfully'
  • ✓ And I click on the 'Stock' menu item
  • ✓ And I click on the 'Inventory' menu item
  • ✓ And I click on stock item '<itemName>'
  • ✓ And I can see stock batch '<batchNo>' has expiry date 'yesterday'
  • ✓ And I view the created job on the job viewer
  • ✓ And I view the first sample on the job
  • ✓ And I can see the sample due date value is 'yesterday'
  • ✓ And I click on the 'Audit' menu item
  • ✓ And I enter 'yesterday' on the audit after date filter
  • ✓ Then I can see the audit after date filter is 'yesterday'
  • ✓ And I can see the header timezone is '<timezone>'
Examples:
| user | timezone | itemName | itemCode | batchNo |
| TimezoneAheadUtcUser | Pacific/Kiritimati | TimezoneStockAheadUtcItem | TZA001 | TimezoneAheadUtc1 |

@DeleteSetupData @TimezoneReset
Scenario: DST boundary timezones do not shift date-only values 1 1min 51s
  • ✓ Given I am logged in as user '<user>'
  • ✓ And I have created the following stock item:
    | Key | Value |
    | Item Name | <itemName> |
    | Item Code | <itemCode> |
    | 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 | <itemName> |
    | Batch | <batchNo> |
    | Quantity | 27 |
    | Expiry | YESTERDAY |
    | Status | Requires Testing |
  • ✓ And I can see the expiry date input is 'yesterday'
  • ✓ And I populate the testing details form with the default product and test suite
  • ✓ And I click the receive stock button
  • ✓ And recently received stock batch '<batchNo>' is displayed
  • ✓ And I receive the job with batch '<batchNo>'
  • ✓ And I click on the view sample link to be taken to the submitted sample for stock batch '<batchNo>'
  • ✓ And I click on the sample edit button
  • ✓ And I enter due date 'yesterday' on the sample viewer
  • ✓ And I click save
  • ✓ And I can see the sample due date value is 'yesterday'
  • ✓ And I click on the admin icon
  • ✓ And I select timezone '<timezone>' from the timezone drop down
  • ✓ And I click save
  • ✓ And I can see the message of 'Settings updated successfully'
  • ✓ And I click on the 'Stock' menu item
  • ✓ And I click on the 'Inventory' menu item
  • ✓ And I click on stock item '<itemName>'
  • ✓ And I can see stock batch '<batchNo>' has expiry date 'yesterday'
  • ✓ And I view the created job on the job viewer
  • ✓ And I view the first sample on the job
  • ✓ And I can see the sample due date value is 'yesterday'
  • ✓ And I click on the 'Audit' menu item
  • ✓ And I enter 'yesterday' on the audit after date filter
  • ✓ Then I can see the audit after date filter is 'yesterday'
  • ✓ And I can see the header timezone is '<timezone>'
Examples:
| user | timezone | itemName | itemCode | batchNo |
| DstLondonUser | Europe/London | DstLondonStockItem | DST001 | DstLondonBatch1 |

@DeleteSetupData @TimezoneReset
Scenario: DST boundary timezones do not shift date-only values 2 1min 43s
  • ✓ Given I am logged in as user '<user>'
  • ✓ And I have created the following stock item:
    | Key | Value |
    | Item Name | <itemName> |
    | Item Code | <itemCode> |
    | 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 | <itemName> |
    | Batch | <batchNo> |
    | Quantity | 27 |
    | Expiry | YESTERDAY |
    | Status | Requires Testing |
  • ✓ And I can see the expiry date input is 'yesterday'
  • ✓ And I populate the testing details form with the default product and test suite
  • ✓ And I click the receive stock button
  • ✓ And recently received stock batch '<batchNo>' is displayed
  • ✓ And I receive the job with batch '<batchNo>'
  • ✓ And I click on the view sample link to be taken to the submitted sample for stock batch '<batchNo>'
  • ✓ And I click on the sample edit button
  • ✓ And I enter due date 'yesterday' on the sample viewer
  • ✓ And I click save
  • ✓ And I can see the sample due date value is 'yesterday'
  • ✓ And I click on the admin icon
  • ✓ And I select timezone '<timezone>' from the timezone drop down
  • ✓ And I click save
  • ✓ And I can see the message of 'Settings updated successfully'
  • ✓ And I click on the 'Stock' menu item
  • ✓ And I click on the 'Inventory' menu item
  • ✓ And I click on stock item '<itemName>'
  • ✓ And I can see stock batch '<batchNo>' has expiry date 'yesterday'
  • ✓ And I view the created job on the job viewer
  • ✓ And I view the first sample on the job
  • ✓ And I can see the sample due date value is 'yesterday'
  • ✓ And I click on the 'Audit' menu item
  • ✓ And I enter 'yesterday' on the audit after date filter
  • ✓ Then I can see the audit after date filter is 'yesterday'
  • ✓ And I can see the header timezone is '<timezone>'
Examples:
| user | timezone | itemName | itemCode | batchNo |
| DstNewYorkUser | America/New_York | DstNewYorkStockItem | DST002 | DstNewYorkBatch1 |

@SetupData
Scenario: I can select a job and enter results for it 35s 142ms
  • ✓ 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

@SetupData
Scenario: I can progress a job through enter results with a mandatory and default input 1min 3s
  • ✓ 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

@SetupData
Scenario: I can submit a test which has rounding set and see that they have trailing zeros 49s 514ms
  • ✓ 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

@SetupData
Scenario: I can submit tests without rounding and see no trailing zeros 53s 651ms
  • ✓ 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 44s 389ms
  • ✓ 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'

@SetupData
Scenario: I can see the job details from the enter results page 28s 519ms
  • ✓ 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 1min 2s
  • ✓ 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 the invalid numeric result is rejected

@SetupData
Scenario: I can go to the next test for the same input after pressing enter 42s 334ms
  • ✓ 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'

@SetupData
Scenario: I can use the arrow keys to navigate between cells while editing cells 52s 116ms
  • ✓ 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 type '123' on the keyboard
  • ✓ 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 58s 999ms
  • ✓ 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
  • ✓ Then I can see the first list input contains 'False'
  • ✓ When 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 @ChangesSettings @SetupData
Scenario: I can revert back to the previous test input when reason for change dialog is cancelled 38s 289ms
  • ✓ 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'

@SetupData
Scenario: I can see the test output calculates correctly when an input value is changed 52s 040ms
  • ✓ 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

@SetupData
Scenario: I can only see jobs on the enter results page that have been received 20s 674ms
  • ✓ 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

@SetupData
Scenario: I can add a new test to an existing job and enter results for this test 59s 350ms
  • ✓ 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
  • ✓ And I drop down the test method 'NewTestTestMethod' on the enter results page
  • ✓ And I enter '2' into the default input
  • ✓ Then I can submit the results

@DeleteSetupData @SetupData
Scenario: I can only see jobs associated with my assigned clients at enter results 33s 464ms
  • ✓ 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 53s 335ms
  • ✓ 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 confirm the test method associations
  • ✓ And I click to save test method 'ERSTockTM'
  • ✓ 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 |

@StockPermissions @DeleteAllStockItems @SetupData @LatestOnly
Scenario: Enter Results and Usage Tracking together allow test consumption without Inventory 55s 520ms
  • ✓ Given I am logged in as user 'StockResultsPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And a stock usage permission test is ready
  • ✓ And the stock permission user has only 'lifecycle results, stock usage tracking' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the stock permission test at 'enter results'
  • ✓ And I open the stock permission test usage dialog
  • ✓ And I choose stock batch 'PERM' for stock item 'PermissionStock'
  • ✓ And I enter a quantity of '5'
  • ✓ And I click the add button
  • ✓ And I click ok
  • ✓ And I can see the message of 'Batches saved successfully.'
  • ✓ Then the stock permission usage history shows the recorded batch

@StockPermissions @DeleteAllStockItems @SetupData @LatestOnly
Scenario: Enter Results without Usage Tracking does not allow recording stock used by a test 44s 380ms
  • ✓ Given I am logged in as user 'StockResultsPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And a stock usage permission test is ready
  • ✓ And the stock permission user has only 'lifecycle results' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the stock permission test at 'enter results'
  • ✓ Then the stock permission test has no usage action

@LatestOnly
Scenario: An existing job link opens Enter Results in Latest 27s 618ms
  • ✓ Given I am logged in as user 'LatestResultsLinkUser'
  • ✓ When I open a received two-sample job from an existing results link
  • ✓ Then the linked job is shown in Enter Results

@LatestOnly
Scenario: Enter saves an edit and Escape cancels the next edit 37s 997ms
  • ✓ Given I am logged in as user 'ResultsCommitCancelUser'
  • ✓ When I open a received two-sample job from the results work queue
  • ✓ And I commit '12' and cancel '34' using the grid keyboard controls
  • ✓ And I reload the saved results job
  • ✓ Then the persisted results inputs are '12' and ''

@LatestOnly
Scenario: A pasted input range is saved and can be copied back 37s 446ms
  • ✓ Given I am logged in as user 'ResultsPasteCopyUser'
  • ✓ When I open a received two-sample job from the results work queue
  • ✓ And I paste '12' and '34' into successive result inputs
  • ✓ And I can see '34.0' in the output field
  • ✓ And I reload the saved results job
  • ✓ Then the copied input range contains '12' and '34'

@LatestOnly
Scenario: Pasting across a calculated output preserves its formula 33s 934ms
  • ✓ Given I am logged in as user 'ResultsPasteOutputUser'
  • ✓ When I open a received two-sample job from the results work queue
  • ✓ And I paste '56' into the input and '999' into the adjoining output
  • ✓ And I can see '56.0' in the output field
  • ✓ And I reload the saved results job
  • ✓ Then I can see '56.0' in the output field

@LatestOnly
Scenario: Workspace shortcuts reach the dialog, queue, method picker and input grid 28s 130ms
  • ✓ Given I am logged in as user 'ResultsShortcutsUser'
  • ✓ When I open a received two-sample job from the results work queue
  • ✓ Then the workspace shortcuts open and focus their controls

Scenario: I can create a new equipment item 27s 387ms
  • ✓ 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 38s 535ms
  • ✓ 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 save the new equipment item
  • ✓ 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 33s 374ms
  • ✓ 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 30s 098ms
  • ✓ 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 39s 339ms
  • ✓ 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 36s 803ms
  • ✓ 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 33s 961ms
  • ✓ 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 28s 354ms
  • ✓ 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 26s 320ms
  • ✓ 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 |

@LatestOnly @ChangesSubscriptionTier
Scenario: Equipment persists independently of results across both entry points 1 51s 507ms
  • ✓ Given I am logged in as user 'equipmentusageuser'
  • ✓ Given I have an equipment usage job with '1' tests
  • ✓ And the equipment usage subscription tier is '<Tier>'
  • ✓ When I open equipment for test '1' from 'Enter Results'
  • ✓ And unchanged equipment cannot be saved
  • ✓ And I search equipment using the mixed-case name of 'Balance'
  • ✓ And I search equipment by the reference of 'Centrifuge'
  • ✓ And equipment search 'no-such-equipment-usage-item' shows no results
  • ✓ And I record equipment 'Centrifuge,Balance'
  • ✓ And the equipment used list is 'Centrifuge,Balance'
  • ✓ And equipment 'Balance' is already selected and cannot be recorded again
  • ✓ And I remove recorded equipment 'Balance'
  • ✓ And I search equipment by the reference of 'Balance'
  • ✓ And I record equipment 'Balance'
  • ✓ And I save the equipment usage
  • ✓ And I open equipment for test '1' from 'Test Details'
  • ✓ Then the equipment used list is 'Balance,Centrifuge'
Examples:
| Tier |
| Advanced |

@LatestOnly @ChangesSubscriptionTier
Scenario: Equipment persists independently of results across both entry points 2 53s 507ms
  • ✓ Given I am logged in as user 'equipmentusageuser'
  • ✓ Given I have an equipment usage job with '1' tests
  • ✓ And the equipment usage subscription tier is '<Tier>'
  • ✓ When I open equipment for test '1' from 'Enter Results'
  • ✓ And unchanged equipment cannot be saved
  • ✓ And I search equipment using the mixed-case name of 'Balance'
  • ✓ And I search equipment by the reference of 'Centrifuge'
  • ✓ And equipment search 'no-such-equipment-usage-item' shows no results
  • ✓ And I record equipment 'Centrifuge,Balance'
  • ✓ And the equipment used list is 'Centrifuge,Balance'
  • ✓ And equipment 'Balance' is already selected and cannot be recorded again
  • ✓ And I remove recorded equipment 'Balance'
  • ✓ And I search equipment by the reference of 'Balance'
  • ✓ And I record equipment 'Balance'
  • ✓ And I save the equipment usage
  • ✓ And I open equipment for test '1' from 'Test Details'
  • ✓ Then the equipment used list is 'Balance,Centrifuge'
Examples:
| Tier |
| Enterprise |

@LatestOnly
Scenario: Discarding equipment edits preserves the saved list and audit 1 2min 2s
  • ✓ Given I am logged in as user 'equipmentusageuser'
  • ✓ Given I have an equipment usage job with '1' tests
  • ✓ When I open equipment for test '1' from 'Enter Results'
  • ✓ And I record equipment 'Balance,Centrifuge'
  • ✓ And I save the equipment usage
  • ✓ And there are '1' equipment usage audit entries
  • ✓ And I open equipment for test '1' from 'Test Details'
  • ✓ And unchanged equipment cannot be saved
  • ✓ And I remove recorded equipment 'Balance'
  • ✓ And I record equipment 'Oven'
  • ✓ And I discard equipment changes using '<Exit>'
  • ✓ And I open equipment for test '1' from 'Enter Results'
  • ✓ And the equipment used list is 'Balance,Centrifuge'
  • ✓ And I discard equipment changes using 'Cancel'
  • ✓ Then there are '1' equipment usage audit entries
  • ✓ And an equipment audit records 'Linked' items 'Balance,Centrifuge' for test '1' with reason 'none'
  • ✓ And the equipment usage audit count remains '1'
Examples:
| Exit |
| Cancel |

@LatestOnly
Scenario: Discarding equipment edits preserves the saved list and audit 2 2min 25s
  • ✓ Given I am logged in as user 'equipmentusageuser'
  • ✓ Given I have an equipment usage job with '1' tests
  • ✓ When I open equipment for test '1' from 'Enter Results'
  • ✓ And I record equipment 'Balance,Centrifuge'
  • ✓ And I save the equipment usage
  • ✓ And there are '1' equipment usage audit entries
  • ✓ And I open equipment for test '1' from 'Test Details'
  • ✓ And unchanged equipment cannot be saved
  • ✓ And I remove recorded equipment 'Balance'
  • ✓ And I record equipment 'Oven'
  • ✓ And I discard equipment changes using '<Exit>'
  • ✓ And I open equipment for test '1' from 'Enter Results'
  • ✓ And the equipment used list is 'Balance,Centrifuge'
  • ✓ And I discard equipment changes using 'Cancel'
  • ✓ Then there are '1' equipment usage audit entries
  • ✓ And an equipment audit records 'Linked' items 'Balance,Centrifuge' for test '1' with reason 'none'
  • ✓ And the equipment usage audit count remains '1'
Examples:
| Exit |
| Close |

@LatestOnly
Scenario: Equipment remains independent across repeats and optional at results submission 2min 40s
  • ✓ Given I am logged in as user 'equipmentusageuser'
  • ✓ Given I have an equipment usage job with '2' tests
  • ✓ When I open equipment for test '1' from 'Enter Results'
  • ✓ And I record equipment 'Balance'
  • ✓ And I save the equipment usage
  • ✓ And I open equipment for test '2' from 'Enter Results'
  • ✓ And the equipment used list is 'none'
  • ✓ And I record equipment 'Balance'
  • ✓ And I save the equipment usage
  • ✓ And I open equipment for test '2' from 'Test Details'
  • ✓ And I remove recorded equipment 'Balance'
  • ✓ And I save the equipment usage
  • ✓ And I open equipment for test '1' from 'Test Details'
  • ✓ And the equipment used list is 'Balance'
  • ✓ And I discard equipment changes using 'Cancel'
  • ✓ And I submit the equipment job results without requiring equipment on every test
  • ✓ And I verify and approve the equipment job
  • ✓ And equipment test '2' has final lifecycle status
  • ✓ And I open equipment for test '2' from 'Test Details'
  • ✓ And the equipment used list is 'none'
  • ✓ And I record equipment 'Centrifuge'
  • ✓ And I save the equipment usage
  • ✓ And I open equipment for test '2' from 'Test Details'
  • ✓ And the equipment used list is 'Centrifuge'
  • ✓ And I remove recorded equipment 'Centrifuge'
  • ✓ And I save the equipment usage
  • ✓ And I open equipment for test '2' from 'Test Details'
  • ✓ And the equipment used list is 'none'
  • ✓ And I discard equipment changes using 'Cancel'
  • ✓ Then equipment test '2' has final lifecycle status

@LatestOnly @ChangesSettings
Scenario: Saved equipment removals respect reason settings and grouped audit rules 1 1min 41s
  • ✓ Given I am logged in as user 'equipmentusageuser'
  • ✓ Given I have an equipment usage job with '2' tests
  • ✓ And the equipment removal reason setting is '<Setting>'
  • ✓ When I open equipment for test '2' from 'Enter Results'
  • ✓ And I record equipment 'Centrifuge,Balance'
  • ✓ And I save the equipment usage
  • ✓ And I open equipment for test '2' from 'Test Details'
  • ✓ And I remove recorded equipment 'Centrifuge,Balance'
  • ✓ And I record equipment 'Meter,Oven'
  • ✓ And <Save>
  • ✓ And I open equipment for test '2' from 'Test Details'
  • ✓ And the equipment used list is 'Meter,Oven'
  • ✓ And I discard equipment changes using 'Cancel'
  • ✓ And there are '3' equipment usage audit entries
  • ✓ Then an equipment audit records 'Removed' items 'Balance,Centrifuge' for test '2' with reason '<Reason>'
  • ✓ And an equipment audit records 'Linked' items 'Oven,Meter' for test '2' with reason 'none'
  • ✓ And an equipment audit records 'Linked' items 'Balance,Centrifuge' for test '2' with reason 'none'
Examples:
| Setting | Save | Reason |
| enabled | I save equipment usage with reason 'Correct equipment selection' | Correct equipment selection |

@LatestOnly @ChangesSettings
Scenario: Saved equipment removals respect reason settings and grouped audit rules 2 1min 29s
  • ✓ Given I am logged in as user 'equipmentusageuser'
  • ✓ Given I have an equipment usage job with '2' tests
  • ✓ And the equipment removal reason setting is '<Setting>'
  • ✓ When I open equipment for test '2' from 'Enter Results'
  • ✓ And I record equipment 'Centrifuge,Balance'
  • ✓ And I save the equipment usage
  • ✓ And I open equipment for test '2' from 'Test Details'
  • ✓ And I remove recorded equipment 'Centrifuge,Balance'
  • ✓ And I record equipment 'Meter,Oven'
  • ✓ And <Save>
  • ✓ And I open equipment for test '2' from 'Test Details'
  • ✓ And the equipment used list is 'Meter,Oven'
  • ✓ And I discard equipment changes using 'Cancel'
  • ✓ And there are '3' equipment usage audit entries
  • ✓ Then an equipment audit records 'Removed' items 'Balance,Centrifuge' for test '2' with reason '<Reason>'
  • ✓ And an equipment audit records 'Linked' items 'Oven,Meter' for test '2' with reason 'none'
  • ✓ And an equipment audit records 'Linked' items 'Balance,Centrifuge' for test '2' with reason 'none'
Examples:
| Setting | Save | Reason |
| disabled | I save the equipment usage | none |

@LatestOnly @ChangesSettings
Scenario: Cancelling a saved removal reason leaves equipment and audits unchanged 2min 23s
  • ✓ Given I am logged in as user 'equipmentusageuser'
  • ✓ Given I have an equipment usage job with '1' tests
  • ✓ And the equipment removal reason setting is 'enabled'
  • ✓ When I open equipment for test '1' from 'Enter Results'
  • ✓ And I record equipment 'Balance,Centrifuge'
  • ✓ And I save the equipment usage
  • ✓ And there are '1' equipment usage audit entries
  • ✓ And I open equipment for test '1' from 'Test Details'
  • ✓ And I remove recorded equipment 'Balance'
  • ✓ And I cancel the equipment removal reason and edit
  • ✓ And I open equipment for test '1' from 'Test Details'
  • ✓ And the equipment used list is 'Balance,Centrifuge'
  • ✓ And I discard equipment changes using 'Cancel'
  • ✓ Then there are '1' equipment usage audit entries
  • ✓ And the equipment usage audit count remains '1'

@LatestOnly
Scenario: Single-item equipment audits follow the agreed summary template 1min 1s
  • ✓ Given I am logged in as user 'equipmentusageuser'
  • ✓ Given I have an equipment usage job with '1' tests
  • ✓ When I open equipment for test '1' from 'Enter Results'
  • ✓ And I record equipment 'Balance'
  • ✓ And I save the equipment usage
  • ✓ And there are '1' equipment usage audit entries
  • ✓ Then an equipment audit records 'Linked' items 'Balance' for test '1' with reason 'none'

@LatestOnly
Scenario: Decommissioning preserves historical usage and prevents new selection 1min 36s
  • ✓ Given I am logged in as user 'equipmentusageuser'
  • ✓ Given I have an equipment usage job with '2' tests
  • ✓ When I open equipment for test '1' from 'Enter Results'
  • ✓ And I record equipment 'Balance'
  • ✓ And I save the equipment usage
  • ✓ And I decommission usage equipment 'Balance'
  • ✓ And I open equipment for test '1' from 'Test Details'
  • ✓ And the equipment used list is 'Balance'
  • ✓ And I record equipment 'Centrifuge'
  • ✓ And I save the equipment usage
  • ✓ And I open equipment for test '1' from 'Enter Results'
  • ✓ And the equipment used list is 'Balance,Centrifuge'
  • ✓ And I discard equipment changes using 'Cancel'
  • ✓ And I open equipment for test '2' from 'Enter Results'
  • ✓ And decommissioned usage equipment 'Balance' cannot be selected
  • ✓ Then the equipment used list is 'none'

@LatestOnly @ChangesSubscriptionTier
Scenario: Equipment usage entry points follow the organisation entitlement 1 39s 290ms
  • ✓ Given I am logged in as user 'equipmentusageuser'
  • ✓ Given I have an equipment usage job with '1' tests
  • ✓ And the equipment usage subscription tier is '<Tier>'
  • ✓ When I open the equipment job in Enter Results
  • ✓ Then the equipment entry points are '<Visibility>'
Examples:
| Tier | Visibility |
| Essentials | unavailable |

@LatestOnly @ChangesSubscriptionTier
Scenario: Equipment usage entry points follow the organisation entitlement 2 37s 288ms
  • ✓ Given I am logged in as user 'equipmentusageuser'
  • ✓ Given I have an equipment usage job with '1' tests
  • ✓ And the equipment usage subscription tier is '<Tier>'
  • ✓ When I open the equipment job in Enter Results
  • ✓ Then the equipment entry points are '<Visibility>'
Examples:
| Tier | Visibility |
| Growth | unavailable |

@LatestOnly @ChangesSubscriptionTier
Scenario: Equipment usage entry points follow the organisation entitlement 3 33s 127ms
  • ✓ Given I am logged in as user 'equipmentusageuser'
  • ✓ Given I have an equipment usage job with '1' tests
  • ✓ And the equipment usage subscription tier is '<Tier>'
  • ✓ When I open the equipment job in Enter Results
  • ✓ Then the equipment entry points are '<Visibility>'
Examples:
| Tier | Visibility |
| Advanced | available |

@LatestOnly @ChangesSubscriptionTier
Scenario: Equipment usage entry points follow the organisation entitlement 4 34s 837ms
  • ✓ Given I am logged in as user 'equipmentusageuser'
  • ✓ Given I have an equipment usage job with '1' tests
  • ✓ And the equipment usage subscription tier is '<Tier>'
  • ✓ When I open the equipment job in Enter Results
  • ✓ Then the equipment entry points are '<Visibility>'
Examples:
| Tier | Visibility |
| Enterprise | available |

Scenario: I can see an expired batch of stock on the expired stock page 28s 737ms
  • ✓ 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 22s 196ms
  • ✓ 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 22s 101ms
  • ✓ 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 |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Expired Stock independently allows both expired and expiring soon views 35s 535ms
  • ✓ Given I am logged in as user 'StockExpiredPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user has only 'stock expired' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the 'Expired Stock' stock screen
  • ✓ And I click on expiring soon
  • ✓ Then the expiry tab shows item 'PermissionSoon' and batch 'PERM-SOON'

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Expired Stock alone does not permit disposal 32s 391ms
  • ✓ Given I am logged in as user 'StockExpiredPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user has only 'stock expired' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the 'Expired Stock' stock screen
  • ✓ Then stock batch 'PERM-EXPIRED' cannot be disposed

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Disposal from expired stock additionally requires Adjust Stock 30s 016ms
  • ✓ Given I am logged in as user 'StockExpiredPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user has only 'stock expired, stock adjust' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the 'Expired Stock' stock screen
  • ✓ And I click to dispose stock batch 'PERM-EXPIRED'
  • ✓ And I click ok
  • ✓ And I can see the message of 'Stock batch disposed successfully'
  • ✓ Then I can no longer see stock item 'PermissionExpired' showing here

Scenario: Job selection rejects free text and requires a selected job 32s 019ms
  • ✓ Given I am logged in as user 'ExportJobValidationUser'
  • ✓ And I have progressed a job up to approval with batchNo 'Export selection' and input value '5'
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And I choose the 'results' export format
  • ✓ And the export defaults to the previous month in UTC
  • ✓ And I choose the selected jobs filter
  • ✓ And the export cannot start
  • ✓ And I type 'not a valid job!' into the export job search
  • ✓ And I cannot add the typed job to export
  • ✓ And the export cannot start
  • ✓ And I type '010100-999999' into the export job search
  • ✓ And I cannot add the typed job to export
  • ✓ And the export cannot start
  • ✓ And I select the created job for export
  • ✓ And the export can start
  • ✓ And I cannot select the created job twice for export
  • ✓ And I remove the created job from export
  • ✓ Then the export cannot start

Scenario: Switching to jobs ignores an inactive submitted date range 31s 344ms
  • ✓ Given I am logged in as user 'ExportJobSwitchUser'
  • ✓ And I have progressed a job up to approval with batchNo 'First export job' and input value '5'
  • ✓ And I have a second submitted export job
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And I choose the 'results' export format
  • ✓ And I enter the date range '01/01/2023' to '02/01/2023' on the export page
  • ✓ And I select the created job for export
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the CSV includes only the created job

Scenario: Switching to submitted dates ignores the inactive job selection 37s 355ms
  • ✓ Given I am logged in as user 'ExportDateSwitchUser'
  • ✓ And I have progressed a job up to approval with batchNo 'First export job' and input value '5'
  • ✓ And I have a second submitted export job
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And I choose the 'samples' export format
  • ✓ And I select the created job for export
  • ✓ And I choose the submitted date filter
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the CSV includes both created jobs

@ChangesSubscriptionTier
Scenario: Growth users can export samples from multiple selected jobs 42s 042ms
  • ✓ Given The organisation subscription tier is set to 'Growth'
  • ✓ And I am logged in as user 'ExportMultipleJobsUser'
  • ✓ And I have progressed a job up to approval with batchNo 'First export job' and input value '5'
  • ✓ And I have a second submitted export job
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And I choose the 'samples' export format
  • ✓ And I select the created job for export
  • ✓ And I select the second created job for export
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the CSV includes both created jobs

@ChangesSubscriptionTier
Scenario: Growth users can download results 33s 197ms
  • ✓ Given The organisation subscription tier is set to 'Growth'
  • ✓ And I am logged in as user 'ExportGrowthUser'
  • ✓ And I have progressed a job up to approval with batchNo 'Growth export' and input value '5'
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And I choose the 'results' export format
  • ✓ And I select the created job for export
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the CSV includes only the created job

@DeleteSetupData
Scenario: The application client filter does not limit exports 44s 047ms
  • ✓ Given I am logged in as user 'ExportAllClientsUser'
  • ✓ And I have progressed a job up to approval with batchNo 'First export job' and input value '5'
  • ✓ And I have a second submitted export job for another client
  • ✓ When I select only the default client from the client filter
  • ✓ And I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And I choose the 'samples' export format
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the CSV includes both created jobs

Scenario: Job IDs are generated by default and can be customised when unique 56s 985ms
  • ✓ Given I am logged in as user 'GuidedSubmitJobIdUser'
  • ✓ When I click on the 'Submit job' menu item
  • ✓ Then the guided job ID is awaiting automatic assignment
  • ✓ When I select the default client from the list
  • ✓ And I enter 'GeneratedJobIdBatch' into the batch number
  • ✓ And I go to the next submission step
  • ✓ And I select the default product and set its sample count to '1'
  • ✓ And I go to the next submission step
  • ✓ And I select the default test suite for the active sample
  • ✓ And I go to the next submission step
  • ✓ And I submit the new job from the review
  • ✓ Then the submitted job has an automatically generated ID
  • ✓ When I click on the 'Submit job' menu item
  • ✓ And I customise the job ID using the generated job ID
  • ✓ Then I am warned that the job ID already exists
  • ✓ When I change the job ID to a unique value starting with 'GUIDED'
  • ✓ And I select the default client from the list
  • ✓ And I enter 'CustomJobIdBatch' into the batch number
  • ✓ And I go to the next submission step
  • ✓ And I select the default product and set its sample count to '3'
  • ✓ And I go to the next submission step
  • ✓ And I select the default test suite for the active sample
  • ✓ And I go to the next submission step
  • ✓ And I submit the new job from the review
  • ✓ Then I can see 3 samples with IDs generated from the changed job ID

Scenario: I can complete, review and edit a guided job submission with multiple samples 43s 545ms
  • ✓ Given I am logged in as user 'GuidedSubmitUser'
  • ✓ When I click on the 'Submit job' menu item
  • ✓ And I select the default client from the list
  • ✓ And I enter 'GuidedJobBatch' into the batch number
  • ✓ And I enter 'Guided job description' into the new job description
  • ✓ And I go to the next submission step
  • ✓ And I select the default product and set its sample count to '3'
  • ✓ And I go to the next submission step
  • ✓ And I enter sample batch 'GuidedSampleBatch', reference 'GuidedReference' and description 'Guided sample description'
  • ✓ And I copy the active sample details to all samples
  • ✓ And I select the default test suite for the active sample
  • ✓ And I go to the next sample
  • ✓ Then the active sample contains batch 'GuidedSampleBatch', reference 'GuidedReference' and description 'Guided sample description'
  • ✓ When I go to the previous sample
  • ✓ Then the active sample contains batch 'GuidedSampleBatch', reference 'GuidedReference' and description 'Guided sample description'
  • ✓ When I go to the next submission step
  • ✓ Then the job submission review displays 'GuidedJobBatch'
  • ✓ And the job submission review displays 'Guided job description'
  • ✓ And the job submission review displays 'GuidedSampleBatch'
  • ✓ And the job submission review displays 'GuidedReference'
  • ✓ And the job submission review displays 'Guided sample description'
  • ✓ When I edit the job details from the submission review
  • ✓ And I enter 'Edited guided job description' into the new job description
  • ✓ And I go to the next submission step
  • ✓ And I go to the next submission step
  • ✓ And I go to the next submission step
  • ✓ Then the job submission review displays 'Edited guided job description'
  • ✓ When I edit sample '2' for the default product from the submission review
  • ✓ Then the active sample contains batch 'GuidedSampleBatch', reference 'GuidedReference' and description 'Guided sample description'
  • ✓ When I go to the next submission step
  • ✓ And I submit the new job from the review
  • ✓ Then I can see the job details on the job viewer
  • ✓ And I can see the job status is 'Submitted' on the job viewer

Scenario: Submission steps remain disabled until their prerequisite details are complete 26s 466ms
  • ✓ Given I am logged in as user 'GuidedSubmitValidationUser'
  • ✓ When I click on the 'Submit job' menu item
  • ✓ Then the guided submission next button is disabled
  • ✓ When I select the default client from the list
  • ✓ And I go to the next submission step
  • ✓ Then the guided submission next button is disabled
  • ✓ When I select the default product and set its sample count to '1'
  • ✓ And I search for the already selected default product
  • ✓ Then the already selected product cannot be selected again
  • ✓ When I go to the next submission step
  • ✓ And I clear the active sample batch number
  • ✓ Then the guided submission next button is disabled

Scenario: Active sample validation guides the user until required details are complete 30s 816ms
  • ✓ Given I am logged in as user 'GuidedSubmitSampleValidationUser'
  • ✓ And I have submission data with multiple test suites
  • ✓ When I click on the 'Submit job' menu item
  • ✓ And I select the client with a product that has multiple test suites
  • ✓ And I enter 'ValidationBannerBatch' into the batch number
  • ✓ And I go to the next submission step
  • ✓ And I select the product with multiple test suites and set its sample count to '1'
  • ✓ And I go to the next submission step
  • ✓ And I clear the active sample batch number
  • ✓ Then the active sample validation displays 'A batch number is required'
  • ✓ And the active sample validation displays 'A test suite is required'
  • ✓ And the active sample validation displays 'At least one test method is required'
  • ✓ When I enter 'ValidSampleBatch' as the active sample batch number
  • ✓ And I select the default test suite for the active sample
  • ✓ Then the active sample validation confirms the sample is valid

@ClearCustomFields
Scenario: Active sample validation identifies invalid custom fields 1 33s 666ms
  • ✓ Given I have configured the first custom sample field as '<title>' with type '<fieldType>'
  • ✓ And I am logged in as user '<username>'
  • ✓ When I click on the 'Submit job' menu item
  • ✓ And I select the default client from the list
  • ✓ And I enter 'CustomFieldValidationBatch' into the batch number
  • ✓ And I go to the next submission step
  • ✓ And I select the default product and set its sample count to '1'
  • ✓ And I go to the next submission step
  • ✓ And I select the default test suite for the active sample
  • ✓ And I enter '<value>' in submit custom field '<title>'
  • ✓ Then the active sample validation displays '<message>'
Examples:
| fieldType | title | value | message | username |
| Number | Guided sample number | NotANumber | Guided sample number must be a whole number | GuidedSubmitNumberValidationUser |

@ClearCustomFields
Scenario: Active sample validation identifies invalid custom fields 2 30s 907ms
  • ✓ Given I have configured the first custom sample field as '<title>' with type '<fieldType>'
  • ✓ And I am logged in as user '<username>'
  • ✓ When I click on the 'Submit job' menu item
  • ✓ And I select the default client from the list
  • ✓ And I enter 'CustomFieldValidationBatch' into the batch number
  • ✓ And I go to the next submission step
  • ✓ And I select the default product and set its sample count to '1'
  • ✓ And I go to the next submission step
  • ✓ And I select the default test suite for the active sample
  • ✓ And I enter '<value>' in submit custom field '<title>'
  • ✓ Then the active sample validation displays '<message>'
Examples:
| fieldType | title | value | message | username |
| Date | Guided sample date | NotADate | Guided sample date must be a valid date | GuidedSubmitDateValidationUser |

Scenario: I am warned before leaving a dirty guided submission 16s 657ms
  • ✓ Given I am logged in as user 'GuidedSubmitPendingChangesUser'
  • ✓ When I click on the 'Submit job' menu item
  • ✓ And I select the default client from the list
  • ✓ And I try to leave the dirty guided submission and dismiss the warning
  • ✓ Then I remain on the guided submission

@ClearCustomFields
Scenario: I can populate custom job and sample fields during guided submission 45s 799ms
  • ✓ Given I have set the first custom job field as 'Guided job field'
  • ✓ And I have set the first custom sample field as 'Guided sample field'
  • ✓ And I am logged in as user 'GuidedSubmitCustomFieldsUser'
  • ✓ When I click on the 'Submit job' menu item
  • ✓ And I select the default client from the list
  • ✓ And I enter 'CustomFieldsBatch' into the batch number
  • ✓ And I enter 'Job field value' in submit custom field 'Guided job field'
  • ✓ And I go to the next submission step
  • ✓ And I select the default product and set its sample count to '1'
  • ✓ And I go to the next submission step
  • ✓ And I enter 'Sample field value' in submit custom field 'Guided sample field'
  • ✓ And I select the default test suite for the active sample
  • ✓ And I go to the next submission step
  • ✓ Then the job submission review displays 'Job field value'
  • ✓ And the job submission review displays 'Sample field value'
  • ✓ When I submit the new job from the review
  • ✓ Then I can see the job details on the job viewer
  • ✓ And I can see the value 'Job field value' for the field 'Guided job field'
  • ✓ When I view the first sample on the job
  • ✓ Then I can see the value 'Sample field value' for the field 'Guided sample field'

Scenario: I can customise assigned tests and copy repeats during guided submission 49s 215ms
  • ✓ Given I am logged in as user 'GuidedSubmitTestsUser'
  • ✓ And I have submission data with multiple test suites
  • ✓ When I click on the 'Submit job' menu item
  • ✓ And I select the client with a product that has multiple test suites
  • ✓ And I enter 'GuidedTestsBatch' into the batch number
  • ✓ And I go to the next submission step
  • ✓ And I select the product with multiple test suites and set its sample count to '2'
  • ✓ And I go to the next submission step
  • ✓ Then no test suite is selected for the active sample
  • ✓ When I select the default test suite for the active sample
  • ✓ Then the default test method is displayed as an assigned test
  • ✓ When I remove the default test method from the active sample
  • ✓ Then the active test suite is highlighted as customised
  • ✓ And the guided submission next button is disabled
  • ✓ When I add the additional test method to the active sample
  • ✓ And I add the default test method to the active sample
  • ✓ Then the default test method is displayed as an assigned test
  • ✓ And the additional test method is displayed as an assigned test
  • ✓ And the active test suite is highlighted as customised
  • ✓ When I set the default test method total to '3' and copy it to the other methods
  • ✓ Then both assigned test methods have a total of '3'
  • ✓ When I copy the active test suite and tests to all product samples
  • ✓ And I go to the next sample
  • ✓ Then the default test method is displayed as an assigned test
  • ✓ And the additional test method is displayed as an assigned test
  • ✓ And both assigned test methods have a total of '3'
  • ✓ And the active test suite is highlighted as customised
  • ✓ When I go to the next submission step
  • ✓ And I submit the new job from the review
  • ✓ And I view the first sample on the job
  • ✓ Then I See 3 repeats for test method 'AutoTestMethod'
  • ✓ And I See 3 repeats for test method 'GuidedAdditionalTestMethod'

Scenario: Published test methods remain available when they are not linked to the selected client 29s 084ms
  • ✓ Given I am logged in as user 'GuidedSubmitTestMethodAvailabilityUser'
  • ✓ And I have created a test method called 'GuidedLinkedTestMethod'
  • ✓ And I have created an unlinked test method called 'GuidedUnlinkedTestMethod'
  • ✓ When I click on the 'Submit job' menu item
  • ✓ And I select the default client from the list
  • ✓ And I enter 'GuidedTestMethodAvailability' into the batch number
  • ✓ And I go to the next submission step
  • ✓ And I select the default product and set its sample count to '1'
  • ✓ And I go to the next submission step
  • ✓ And I select the default test suite for the active sample
  • ✓ Then I can see test method 'GuidedLinkedTestMethod' when editing tests on the create job page
  • ✓ And I can see test method 'GuidedUnlinkedTestMethod' when editing tests on the create job page

Scenario: Changing client requires confirmation and clears dependent submission data 30s 305ms
  • ✓ Given I am logged in as user 'GuidedSubmitClientChangeUser'
  • ✓ And I have created a visible secondary customer client called 'GuidedSecondaryClient'
  • ✓ When I click on the 'Submit job' menu item
  • ✓ And I select the default client from the list
  • ✓ And I go to the next submission step
  • ✓ And I select the default product and set its sample count to '2'
  • ✓ And I go to the previous submission step
  • ✓ And I attempt to change to the visible secondary client
  • ✓ Then I am warned that changing client will clear dependent submission data
  • ✓ When I cancel changing the submission client
  • ✓ Then the default submission client remains selected
  • ✓ When I confirm changing to the visible secondary client
  • ✓ Then the selected products and samples are cleared for the new client

Scenario: Product sample counts respect their minimum and maximum boundaries 23s 854ms
  • ✓ Given I am logged in as user 'GuidedSubmitSampleLimitsUser'
  • ✓ When I click on the 'Submit job' menu item
  • ✓ And I select the default client from the list
  • ✓ And I go to the next submission step
  • ✓ And I select the default product and set its sample count to '1'
  • ✓ And I set the default product sample count to zero
  • ✓ Then the default product retains at least one sample
  • ✓ When I fill the default product to the sample limit and try to exceed it
  • ✓ Then the default product sample count remains at the configured limit
  • ✓ When I remove the default product from the submission
  • ✓ Then no products or samples remain selected

Scenario: I can delete a specific sample and remove the product with its final sample 36s 187ms
  • ✓ Given I am logged in as user 'GuidedSubmitDeleteSampleUser'
  • ✓ When I click on the 'Submit job' menu item
  • ✓ And I select the default client from the list
  • ✓ And I enter 'DeleteSampleJobBatch' into the batch number
  • ✓ And I go to the next submission step
  • ✓ And I select the default product and set its sample count to '3'
  • ✓ And I go to the next submission step
  • ✓ And I enter 'KeepFirstSample' as the active sample batch number
  • ✓ And I go to the next sample
  • ✓ And I enter 'RemoveMiddleSample' as the active sample batch number
  • ✓ And I go to the next sample
  • ✓ And I enter 'KeepLastSample' as the active sample batch number
  • ✓ And I go to the previous sample
  • ✓ And I delete the active sample
  • ✓ Then the active sample batch number is 'KeepLastSample'
  • ✓ When I go to the previous sample
  • ✓ Then the active sample batch number is 'KeepFirstSample'
  • ✓ When I delete the active sample
  • ✓ Then the active sample batch number is 'KeepLastSample'
  • ✓ When I delete the active sample
  • ✓ Then the sample details show that a sample must be added
  • ✓ When I go to the previous submission step
  • ✓ Then no products or samples remain selected

Scenario: I can submit multiple products and copy sample details between them 50s 718ms
  • ✓ Given I am logged in as user 'GuidedSubmitMultipleProductsUser'
  • ✓ And I have submission data with multiple test suites
  • ✓ When I click on the 'Submit job' menu item
  • ✓ And I select the client with a product that has multiple test suites
  • ✓ And I enter 'MultiProductJobBatch' into the batch number
  • ✓ And I go directly to the 'Products & Samples' submission step
  • ✓ And I select the default product and set its sample count to '1'
  • ✓ And I select the product with multiple test suites and set its sample count to '1'
  • ✓ And I go directly to the 'Sample Details' submission step
  • ✓ Then the active sample batch number defaults to 'MultiProductJobBatch'
  • ✓ When I enter sample batch 'CopiedBatch', reference 'CopiedReference' and description 'Copied description'
  • ✓ And I copy the active sample details to all samples
  • ✓ And I go to the next sample
  • ✓ Then the active sample contains batch 'CopiedBatch', reference 'CopiedReference' and description 'Copied description'
  • ✓ When I select the default test suite for the active sample
  • ✓ And I go directly to the 'Review & Submit' submission step
  • ✓ Then the job submission review displays both selected products
  • ✓ When I submit the new job from the review
  • ✓ Then I can see the job details on the job viewer

Scenario: Guided step states, optional job fields and duplicate submission protection work together 38s 115ms
  • ✓ Given I am logged in as user 'GuidedSubmitFinalCoverageUser'
  • ✓ When I click on the 'Submit job' menu item
  • ✓ Then the guided submission steps have the following states:
    | Step | Current | Completed | Disabled |
    | Job Details | true | false | false |
    | Products & Samples | false | false | true |
    | Sample Details | false | false | true |
    | Review & Submit | false | false | true |
  • ✓ When I go directly to the 'Review & Submit' submission step
  • ✓ Then the guided submission steps have the following states:
    | Step | Current | Completed | Disabled |
    | Job Details | true | false | false |
    | Products & Samples | false | false | true |
    | Sample Details | false | false | true |
    | Review & Submit | false | false | true |
  • ✓ When I select the default client from the list
  • ✓ And I go directly to the 'Products & Samples' submission step
  • ✓ Then the guided submission steps have the following states:
    | Step | Current | Completed | Disabled |
    | Job Details | false | true | false |
    | Products & Samples | true | false | false |
    | Sample Details | false | false | true |
    | Review & Submit | false | false | true |
  • ✓ When I select the default product and set its sample count to '1'
  • ✓ And I go directly to the 'Sample Details' submission step
  • ✓ And I enter 'OptionalJobFieldsSampleBatch' as the active sample batch number
  • ✓ And I select the default test suite for the active sample
  • ✓ Then the guided submission steps have the following states:
    | Step | Current | Completed | Disabled |
    | Job Details | false | true | false |
    | Products & Samples | false | true | false |
    | Sample Details | true | false | false |
    | Review & Submit | false | false | false |
  • ✓ When I go directly to the 'Review & Submit' submission step
  • ✓ Then the guided submission steps have the following states:
    | Step | Current | Completed | Disabled |
    | Job Details | false | true | false |
    | Products & Samples | false | true | false |
    | Sample Details | false | true | false |
    | Review & Submit | true | false | false |
  • ✓ When I submit the new job while attempting a duplicate submission and verify the success notification
  • ✓ Then I can see the job details on the job viewer

Scenario: A user without Receive permission retains the standard submit action 50s 333ms
  • ✓ Given I am logged in as user 'GuidedSubmitPermissionSetupUser'
  • ✓ And I have created the user 'GuidedSubmitWithoutReceiveUser' without permissions 'lifecycle receive'
  • ✓ And I add the default client to both users
  • ✓ When I Log out of LabHQ
  • ✓ Given I am logged in as the created user 'GuidedSubmitWithoutReceiveUser'
  • ✓ When I click on the 'Submit job' menu item
  • ✓ And I select the default client from the list
  • ✓ And I enter 'WithoutReceivePermissionBatch' into the batch number
  • ✓ And I go to the next submission step
  • ✓ And I select the default product and set its sample count to '1'
  • ✓ And I go to the next submission step
  • ✓ And I select the default test suite for the active sample
  • ✓ And I go to the next submission step
  • ✓ Then the submission review only displays the standard submit action
  • ✓ When I submit the new job from the review
  • ✓ Then I can see the job details on the job viewer

Scenario: I can see my stock items and edit the batches from the inventory page 43s 065ms
  • ✓ 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 | less than a minute ago |
    | Batch | BAT987 |
    | Available | 248 |
    | Units | g |
    | Expiry | tomorrow |
  • ✓ And I open batch 'BAT987' for editing
  • ✓ 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 return to the available batches for 'BatchStock'
  • ✓ Then I can see the following information on the batch pop up:
    | Key | Value |
    | Received | less than a minute ago |
    | Batch | UpdateBatch |
    | Available | 248 |
    | Units | g |
    | Expiry | yesterday |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Inventory access does not allow editing a batch 32s 164ms
  • ✓ Given I am logged in as user 'StockInventoryPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user has only 'stock inventory' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the 'Inventory' stock screen
  • ✓ And I click on stock item 'PermissionStock'
  • ✓ Then stock batch 'PERM' cannot be edited from inventory

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Manage Inventory enables batch editing from inventory 41s 425ms
  • ✓ Given I am logged in as user 'StockInventoryPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user has only 'stock inventory, stock inventory manage' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the 'Inventory' stock screen
  • ✓ And I click on stock item 'PermissionStock'
  • ✓ And I open batch 'PERM' for editing
  • ✓ And I enter 'PERM-EDITED' in the batch input
  • ✓ And I click the update batch button
  • ✓ And I can see the message of 'Stock updated successfully'
  • ✓ And I return to the available batches for 'PermissionStock'
  • ✓ Then stock batch 'PERM-EDITED' has available quantity '100'

Scenario: I can start a new investigation on a sample 43s 862ms
  • ✓ 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 57s 108ms
  • ✓ 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 51s 480ms
  • ✓ 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 45s 462ms
  • ✓ 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 create a custom job field 1 28s 456ms
  • ✓ 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 34s 064ms
  • ✓ 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 31s 137ms
  • ✓ 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 use a custom job field on a job 1 1min 16s
  • ✓ 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/06/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/06/2024 |

Scenario: I can use a custom job field on a job 2 1min 17s
  • ✓ 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/06/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 1min 6s
  • ✓ 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/06/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 1min 12s
  • ✓ 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 1min 1s
  • ✓ 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
  • ✓ And 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: I can set a client specific custom job field and see this on a job 59s 300ms
  • ✓ 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'

@SetupData
Scenario: I cannot add a sample to a job without the correct permission 53s 583ms
  • ✓ Given I have created the user 'AddSamplePermissionsUser' without permissions 'jobs add samples'
  • ✓ 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 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

@SetupData
Scenario: I cannot delete a job without the correct permission 54s 273ms
  • ✓ Given I have created the user 'DeleteJobPermissionsUser' without permissions 'jobs delete'
  • ✓ 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 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

@SetupData
Scenario: I cannot edit a job without the correct permission 54s 257ms
  • ✓ Given I have created the user 'EditJobPermissionsUser' without permissions 'jobs edit'
  • ✓ 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 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

@SetupData
Scenario: I cannot add job attachments without correct permission 1min 15s
  • ✓ Given I have created the user 'JobAAttachmentsPermissionsUser' without permissions 'jobs add attachments'
  • ✓ 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 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
  • ✓ When 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
  • ✓ And I cannot amend the attachment visibility

@SetupData
Scenario: I cannot delete job attachments without correct permission 55s 188ms
  • ✓ Given I have created the user 'JobDAttachmentsPermissionsUser' without permissions 'jobs delete attachments'
  • ✓ 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 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
  • ✓ And I can amend the attachment visibility

@SetupData
Scenario: I can search for a job on the job viewer 29s 706ms
  • ✓ 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 open the filters panel on the 'job' viewer
  • ✓ And I search the 'job' viewer for 'NULL'
  • ✓ And I can see the message of 'No jobs found. Please refine your search'
  • ✓ And I search the 'job' viewer for 'SearchJob'
  • ✓ And The job 'SearchJob' shows on the job viewer
  • ✓ And I search the 'job' viewer for ' iN tE '
  • ✓ And the created job has status search highlight 'In Te'
  • ✓ Then The job 'SearchJob' shows on the job viewer

@SetupData
Scenario: I can filter job by status on the dashboard 37s 104ms
  • ✓ 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 open the filters panel on the 'job' viewer
  • ✓ And I select the final lifecycle status on the job 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

@SetupData
Scenario: I can sort and reset the filters on the job viewer 33s 183ms
  • ✓ 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 open the filters panel on the 'job' viewer
  • ✓ And I select the final lifecycle status on the job 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

@SetupData
Scenario: I can view samples on the sample viewer 26s 020ms
  • ✓ 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

@SetupData @LatestOnly
Scenario: Sample completion terminology is shown across the sample viewer 35s 263ms
  • ✓ Given I am logged in as user 'SampleApprovalTerminologyUser'
  • ✓ When I progress a job through the lifecycle with batchNo 'SampleApprovalTerminology' and input value '5' and spec 'Default specification'
  • ✓ And I refresh the page
  • ✓ And I click on the 'sample' menu item
  • ✓ And the sample viewer shows the completed date column
  • ✓ And I open the filters panel on the 'sample' viewer
  • ✓ And the sample filters show completed date terminology
  • ✓ And I enter a sample approval date range
  • ✓ And the active sample filters show completed date terminology
  • ✓ And I open the created sample inspector
  • ✓ Then the sample inspector shows completed on and completed by

@SetupData
Scenario: I can search for a sample on the sample viewer 33s 027ms
  • ✓ 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 open the filters panel on the 'sample' viewer
  • ✓ And I search the 'sample' viewer for 'NULL'
  • ✓ And I can see the message of 'No samples found. '
  • ✓ And I search the 'sample' viewer for 'SampleSearch'
  • ✓ And The sample 'SampleSearch' shows on the sample viewer
  • ✓ And I search the 'sample' viewer for ' In tE '
  • ✓ And sample '1' has 'status' search highlight 'In Te'
  • ✓ And I search the 'sample' viewer for ' oPrOd '
  • ✓ And sample '1' has 'product' search highlight 'oProd'
  • ✓ Then The sample 'SampleSearch' shows on the sample viewer

@DeleteSetupData @SetupData
Scenario: I can filter by product on the sample viewer 36s 979ms
  • ✓ 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 open the filters panel on the 'sample' viewer
  • ✓ 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 @SetupData
Scenario: I can only see my assigned clients and associated jobs on the job viewer 38s 426ms
  • ✓ 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
  • ✓ And I open the filters panel on the 'job' viewer
  • ✓ Then I cannot see client 'clientFilterClient' in the client filter
  • ✓ And I cannot see job with batch 'NoAccessBatch' on the job viewer

@DeleteSetupData @SetupData
Scenario: I can filter by client and test method on the job viewer 41s 591ms
  • ✓ Given I am logged in as user 'SampleSearchUser'
  • ✓ And I have progressed a job up to enter results with batchNo 'JobFilterOutBatch'
  • ✓ 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 | JobFilterInBatch |
    | ClientName | clientFilterClient |
    | ProductName | clientFilterProduct |
    | TestSuiteName | clientFilterTestSuite |
  • ✓ And I refresh the page
  • ✓ And I click on the 'job' menu item
  • ✓ And I open the filters panel on the 'job' viewer
  • ✓ And I select 'clientFilterClient' in the job client filter
  • ✓ And I select 'clientFilterMethod1' in the job test method filter
  • ✓ Then I cannot see job with batch 'JobFilterOutBatch' on the job viewer
  • ✓ And I can see job with batch 'JobFilterInBatch' on the job viewer

@DeleteSetupData
Scenario: I can filter samples by status range on the sample viewer 42s 418ms
  • ✓ Given I am logged in as user 'SampleSearchUser'
  • ✓ 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 | SampleInTestBatch |
    | ClientName | clientFilterClient |
    | ProductName | clientFilterProduct |
    | TestSuiteName | clientFilterTestSuite |
  • ✓ And I have submitted a job with the following data:
    | Key | Value |
    | Username | SampleSearchUser |
    | BatchNo | SampleFinalBatch |
    | ClientName | clientFilterClient |
    | ProductName | clientFilterProduct |
    | TestSuiteName | clientFilterTestSuite |
  • ✓ And I progress the submitted job with batch 'SampleFinalBatch' to approval with input value '123'
  • ✓ And I refresh the page
  • ✓ And I click on the 'sample' menu item
  • ✓ And I open the filters panel on the 'sample' viewer
  • ✓ And I select the final lifecycle status as the sample status from
  • ✓ And I select the final lifecycle status as the sample status to
  • ✓ And I search the sample viewer for the final lifecycle status
  • ✓ Then I cannot see sample with batch 'SampleInTestBatch' on the sample viewer
  • ✓ And The sample 'SampleFinalBatch' shows on the sample viewer

Scenario: I can use templates to generate, download and delete a PDF job certificate across history, audit and attachments 2min 7s
  • ✓ Given I am logged in as user 'DownloadJobCertManageCertificatesUser'
  • ✓ And I have progressed a job through the lifecycle process with batchNo 'jobcert' and input value '234'
  • ✓ When I click on the 'System settings' 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 open the created job directly on the job viewer
  • ✓ And I click on the Manage Certificates button
  • ✓ And I click the job certificate generate button on manage certificates
  • ✓ Then I can see my new manage certificates template is selected by default
  • ✓ And I can select a custom manage certificates template
  • ✓ And I cannot see certificate output format options
  • ✓ When I confirm the certificate settings and wait for the pdf file download
  • ✓ Then I can see 1 job certificates on manage certificates
  • ✓ When I open the generated job certificates tab on manage certificates
  • ✓ Then I can see 1 certificates in the manage certificates history
  • ✓ And the first certificate uses the selected custom template
  • ✓ And I can see the first certificate is for the primary client
  • ✓ And I can see the first certificate is a pdf document in the manage certificates history
  • ✓ And I can see the first certificate details in the manage certificates history
  • ✓ And I can download the first certificate from the manage certificates history
  • ✓ When I click the close button
  • ✓ And I open the created job directly on the job viewer
  • ✓ And I click on the job audit button
  • ✓ Then I can see the generated job certificate on the audit
  • ✓ When I open the created job directly on the job viewer
  • ✓ And I click on certificates
  • ✓ Then I can see the job certificate attachment showing here
  • ✓ And I can download the first certificate from the certificates section
  • ✓ When I open the created job directly on the job viewer
  • ✓ And I click on the Manage Certificates button
  • ✓ And I open the generated job certificates tab on manage certificates
  • ✓ And I delete the first certificate from the manage certificates history
  • ✓ Then I can see the message of 'Job certificate deleted successfully.'
  • ✓ And I can see 0 certificates in the manage certificates history
  • ✓ When I click the close button
  • ✓ And I open the created job directly on the job viewer
  • ✓ And I click on the job audit button
  • ✓ Then I can see the deleted job certificate on the audit
  • ✓ And I click on the 'System settings' 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

@ChangesSettings
Scenario: A secondary-client job certificate preview remains PDF and is not stored 32s 709ms
  • ✓ Given I am logged in as user 'PreviewPdfOnlyJobCertUser'
  • ✓ And I have enabled DOCX certificate output
  • ✓ And I have created a visible secondary customer client called 'SecondaryJobPreviewClient'
  • ✓ And I have progressed a job up to approval with batchNo 'previewpdfonlyjobcert' and input value '123'
  • ✓ When I open the created job directly on the job viewer
  • ✓ And I click on the Manage Certificates button
  • ✓ And I click the job certificate preview button on manage certificates
  • ✓ Then I can see certificate output format options
  • ✓ And I cannot select DOCX as the certificate output format
  • ✓ When I select the secondary client in certificate settings
  • ✓ And I confirm the certificate settings and wait for the pdf file download
  • ✓ Then I can see the selected manage certificates job is the current job
  • ✓ And I can see 0 job certificates on manage certificates

@ChangesSettings
Scenario: I can generate and regenerate a DOCX job certificate and audit the regeneration 1min 6s
  • ✓ Given I am logged in as user 'RegenerateDocxJobCertUser'
  • ✓ And I have enabled DOCX certificate output
  • ✓ And I have progressed a job through the lifecycle process with batchNo 'regendocxjobcert' and input value '234'
  • ✓ When I open the created job directly on the job viewer
  • ✓ And I click on the Manage Certificates button
  • ✓ And I click the job certificate generate button on manage certificates
  • ✓ Then I can see certificate output format options
  • ✓ When I select DOCX as the certificate output format
  • ✓ And I confirm the certificate settings and wait for the docx file download
  • ✓ And I open the generated job certificates tab on manage certificates
  • ✓ Then I can see the first certificate is a docx document in the manage certificates history
  • ✓ When I regenerate the first certificate from the manage certificates history
  • ✓ Then I can see DOCX is selected as the certificate output format
  • ✓ And I confirm the certificate settings and wait for the docx file download
  • ✓ And I can see the message of 'Job certificate regenerated successfully.'
  • ✓ And I open the generated job certificates tab on manage certificates
  • ✓ And I can see 2 certificates in the manage certificates history
  • ✓ When I click the close button
  • ✓ And I open the created job directly on the job viewer
  • ✓ And I click on certificates
  • ✓ Then I can see 2 generated certificates in the certificates section
  • ✓ When I open the created job directly on the job viewer
  • ✓ And I click on the job audit button
  • ✓ Then I can see the regenerated job certificate on the audit

Scenario: I can see the primary client is selected by default when opening job certificate settings 25s 791ms
  • ✓ Given I am logged in as user 'JobCertDefaultClientUser'
  • ✓ And I have progressed a job through the lifecycle process with batchNo 'defaultjobcertclient' and input value '234'
  • ✓ When I open the created job directly on the job viewer
  • ✓ And I click on the Manage Certificates button
  • ✓ And I click the job certificate generate button on manage certificates
  • ✓ Then I can see the primary client is selected in certificate settings

Scenario: Primary and secondary-client job certificates identify the latest, appear in attachments and retain the client in regeneration settings 57s 503ms
  • ✓ Given I am logged in as user 'GenerateJobCertSecondaryClientUser'
  • ✓ And I have created a visible secondary customer client called 'SecondaryJobGenerateClient'
  • ✓ And I have progressed a job through the lifecycle process with batchNo 'generatesecondaryjobcert' and input value '234'
  • ✓ When I open the created job directly on the job viewer
  • ✓ And I click on the Manage Certificates button
  • ✓ And I click the job certificate generate button on manage certificates
  • ✓ And I confirm the certificate settings and wait for the file download
  • ✓ And I click the job certificate generate button on manage certificates
  • ✓ And I select the secondary client in certificate settings
  • ✓ And I confirm the certificate settings and wait for the file download
  • ✓ And I open the generated job certificates tab on manage certificates
  • ✓ Then I can see 2 certificates in the manage certificates history
  • ✓ And I can see the first certificate is for the secondary client
  • ✓ And I can see the latest certificate is marked in the manage certificates history
  • ✓ When I click the close button
  • ✓ And I open the created job directly on the job viewer
  • ✓ And I click on certificates
  • ✓ Then I can see the job certificate attachment showing here
  • ✓ When I open the created job directly on the job viewer
  • ✓ And I click on the Manage Certificates button
  • ✓ And I open the generated job certificates tab on manage certificates
  • ✓ And I regenerate the first certificate from the manage certificates history
  • ✓ Then I can see the secondary client is selected in certificate settings

Scenario: I cannot generate a job certificate on manage certificates until all samples are approved 27s 877ms
  • ✓ Given I am logged in as user 'CannotGenerateJobCertManageCertificatesUser'
  • ✓ And I have progressed a job up to approval with batchNo 'nogeneratejobcert' and input value '123'
  • ✓ When I open the created job directly on the job viewer
  • ✓ And I click on the Manage Certificates button
  • ✓ Then I cannot click the job certificate generate button on manage certificates

Scenario: I can preview but not generate a job certificate when only some samples are approved 1min 42s
  • ✓ Given I am logged in as user 'PartialApprovalJobCertUser'
  • ✓ 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 'partialapprovaljobcert' 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 'partialapprovaljobcert'
  • ✓ 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
  • ✓ And I click on the Manage Certificates button
  • ✓ And I cannot click the job certificate generate button on manage certificates
  • ✓ And I click the job certificate preview button on manage certificates
  • ✓ And I confirm the certificate settings and wait for the pdf file download
  • ✓ Then I can see 0 job certificates on manage certificates

Scenario: I cannot download a preview job certificate where all samples are not received 55s 717ms
  • ✓ Given I am logged in as user 'CannotPreviewJobCertUser'
  • ✓ 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
  • ✓ And I click on the Manage Certificates button
  • ✓ Then I cannot click the job certificate preview button on manage certificates

Scenario: I can submit a job and produce a job submission summary from the job viewer 31s 897ms
  • ✓ 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 @ChangesSettings
Scenario: I can see the job summary is attached to a submitted job 32s 707ms
  • ✓ 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 41s 342ms
  • ✓ 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 open the created job directly 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 37s 668ms
  • ✓ Given I am logged in as user 'labelsettingsuser'
  • ✓ When I click on the 'System settings' menu item
  • ✓ And I click on the label settings configure button
  • ✓ And I show the advanced label settings
  • ✓ 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 31s 632ms
  • ✓ Given I am logged in as user 'labelsettingrevertsuser'
  • ✓ When I click on the 'System settings' menu item
  • ✓ And I click on the label settings configure button
  • ✓ And I show the advanced label settings
  • ✓ 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 can review the available sample label presets 33s 141ms
  • ✓ Given I am logged in as user 'labelpresetoptionsuser'
  • ✓ When I click on the 'System settings' menu item
  • ✓ And I click on the label settings configure button
  • ✓ Then the advanced label settings are hidden
  • ✓ And I can see the following sample label presets:
    | Id | Name | Size | Barcode type |
    | 1 | Large container | 75 × 25 mm | Code 128 |
    | 2 | Storage | 100 × 25 mm | Code 128 |
    | 3 | Standard container | 50 × 25 mm | QR code |
    | 4 | Standard container | 50 × 25 mm | Data Matrix |
    | 5 | Standard container | 50 × 25 mm | |
    | 6 | Small vial | 30 × 10 mm | QR code |
    | 7 | Small vial | 30 × 10 mm | Data Matrix |
    | 8 | Small vial | 25 × 10 mm | |

Scenario: I can apply a sample label preset and review it in advanced settings 26s 170ms
  • ✓ Given I am logged in as user 'labelpresetapplyuser'
  • ✓ When I click on the 'System settings' menu item
  • ✓ And I click on the label settings configure button
  • ✓ And I apply sample label preset '1'
  • ✓ And I click ok
  • ✓ And I show the advanced label settings
  • ✓ Then the large container preset settings are loaded

Scenario: I create a job and take it through to approval 1min 18s
  • ✓ 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 1min 13s
  • ✓ 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 23s 819ms
  • ✓ 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 34s 959ms
  • ✓ 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 12s 289ms
  • ✓ 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 4s 741ms
  • ✓ 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 30s 026ms
  • ✓ 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!AB'
  • ✓ And I Log out of LabHQ
  • ✓ And I enter username 'PassChangeUser' and password of 'NewDetails123!AB' to log in
  • ✓ Then I am logged into LabHQ

Scenario: My account is disabled if i enter incorrect credentials multiple times 14s 145ms
  • ✓ 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 13s 535ms
  • ✓ 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 15s 032ms
  • ✓ 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 'short12'
  • ✓ Then I can see the message of 'Invalid password: minimum length 8.'

@SetupData
Scenario: I cannot reuse my old password 14s 981ms
  • ✓ 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 28s 248ms
  • ✓ Given I have created the user 'DisabledAccount'
  • ✓ And I am logged in as user 'DisableUserAccount'
  • ✓ When I click on the 'System settings' 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 12s 668ms
  • ✓ 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 15s 027ms
  • ✓ 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 26s 263ms
  • ✓ 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 can access manage certificates from the reporting menu 22s 466ms
  • ✓ Given I am logged in as user 'ManageCertificatesUser1'
  • ✓ And I have progressed a job up to approval with batchNo 'ManageCertAccess' and input value '12.3'
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Manage Certificates' menu item
  • ✓ And I select the current job on manage certificates
  • ✓ Then I can see the selected manage certificates job is the current job
  • ✓ And I can see the primary client is selected on manage certificates

Scenario: I can open manage certificates from job details 35s 248ms
  • ✓ Given I am logged in as user 'ManageCertificatesUser2'
  • ✓ And I have progressed a job up to approval with batchNo 'ManageCertJobDetails' and input value '8.2'
  • ✓ When I view the created job on the job viewer
  • ✓ And I click on the Manage Certificates button
  • ✓ Then I can see the selected manage certificates job is the current job

Scenario: I can open manage certificates from sample details 33s 780ms
  • ✓ Given I am logged in as user 'ManageCertificatesUser3'
  • ✓ And I have progressed a job up to approval with batchNo 'ManageCertSampleDetails' and input value '7.4'
  • ✓ When I view the created job on the job viewer
  • ✓ And I view the first sample on the job
  • ✓ And I click on the Manage Certificates button
  • ✓ Then I can see the selected manage certificates job is the current job

Scenario: I can open manage certificates from approve samples 21s 723ms
  • ✓ Given I am logged in as user 'ManageCertificatesUser4'
  • ✓ When I progress a job up to approval with batchNo 'ManageCertApproveSamples' and input value '5.1' and spec 'Default specification'
  • ✓ And I click on the 'Approve samples' menu item
  • ✓ And I search for the created job
  • ✓ And I click on the Manage Certificates button
  • ✓ Then I can see the selected manage certificates job is the current job

Scenario: I can search jobs by identifier and by name in manage certificates 24s 664ms
  • ✓ Given I am logged in as user 'ManageCertificatesUser5'
  • ✓ And I have progressed a job up to approval with batchNo 'ManageCertSearch' and input value '11.8'
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Manage Certificates' menu item
  • ✓ And I search manage certificates by the current job identifier
  • ✓ And I search manage certificates by the default client name
  • ✓ And I select the current job on manage certificates
  • ✓ Then I can see the selected manage certificates job is the current job
  • ✓ And I can see sample status for the first sample on manage certificates

Scenario: Jobs are paginated and ordered by most recent created date first in manage certificates 20s 580ms
  • ✓ Given I am logged in as user 'ManageCertificatesUser6'
  • ✓ When I submit a job with batchNo 'ManageCertOlder'
  • ✓ And I store the current job id as the previous job id
  • ✓ And I submit a job with batchNo 'ManageCertLatest'
  • ✓ And I click on the 'Reporting' menu item
  • ✓ And I click on the 'Manage Certificates' menu item
  • ✓ Then I can see the jobs list is paginated on manage certificates
  • ✓ And I can see the current job first and previous job second on manage certificates

Scenario: I cannot see jobs that aren't received on the manage work screen 34s 901ms
  • ✓ Given I am logged in as user 'ManageWorkNotReceivedUser'
  • ✓ When I submit a job with batchNo 'ManageWorkNotReceived'
  • ✓ And I select only the default client from the client filter
  • ✓ And I click on the 'Resources' menu item
  • ✓ And I click on the 'Manage work' menu item
  • ✓ 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 32s 833ms
  • ✓ 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 select only the default client from the client filter
  • ✓ And I click on the 'Resources' menu item
  • ✓ And I click on the 'Manage work' menu item
  • ✓ 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 32s 903ms
  • ✓ Given I am logged in as user 'CreateWorkbookUser'
  • ✓ And I have progressed a job up to enter results with batchNo 'CreateWorkbook'
  • ✓ When I select only the default client from the client filter
  • ✓ And I click on the 'Resources' menu item
  • ✓ And 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
  • ✓ 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 33s 552ms
  • ✓ Given I am logged in as user 'ViewWorkbookUser'
  • ✓ And I have progressed a job up to enter results with batchNo 'ViewWorkbook'
  • ✓ When I select only the default client from the client filter
  • ✓ And I click on the 'Resources' menu item
  • ✓ And I click on the 'Manage work' menu item
  • ✓ 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 can download the workbook using the re-download button

Scenario: I can download a workbook for a job 34s 012ms
  • ✓ Given I am logged in as user 'DownloadWorkbookUser'
  • ✓ And I have progressed a job up to enter results with batchNo 'DownloadWorkbook'
  • ✓ When I select only the default client from the client filter
  • ✓ 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 can download the workbook using the download button

Scenario: I can create a workbook from multiple jobs 36s 036ms
  • ✓ 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 select only the default client from the client filter
  • ✓ And I click on the 'Resources' menu item
  • ✓ And I click on the 'Manage work' menu item
  • ✓ 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 40s 107ms
  • ✓ Given I am logged in as user 'CannotCreateWorkbookUser'
  • ✓ And I have progressed a job up to enter results with batchNo 'CannotCreateWorkbook'
  • ✓ When I select only the default client from the client filter
  • ✓ And I click on the 'Resources' menu item
  • ✓ And I click on the 'Manage work' menu item
  • ✓ 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 1min 9s
  • ✓ Given I am logged in as user 'CreateWorkbookAddedTestsUser'
  • ✓ And I have progressed a job up to enter results with batchNo 'CreateWorkbookTwice'
  • ✓ When I select only the default client from the client filter
  • ✓ 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
  • ✓ 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 44s 633ms
  • ✓ 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 select only the default client from the client filter
  • ✓ And I click on the 'Resources' menu item
  • ✓ And I click on the 'Manage work' menu item
  • ✓ 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 57s 400ms
  • ✓ 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
  • ✓ And I click on the 'Resources' menu item
  • ✓ And I click on the 'Manage work' menu item
  • ✓ Then I can not see the workbook when I click to go to the view workbooks page

Scenario: Connect to one organisation and reconnect to another 24s 178ms
  • ✓ Given a fresh MCP app and a user with access to seeded clients in North Lab and South Lab
  • ✓ When the user signs in to request read-only access
  • ✓ And the native picker shows the full names of both organisations
  • ✓ And the user chooses North Lab
  • ✓ And native consent shows the read-only access summary
  • ✓ And the user approves access
  • ✓ And the read-only connection can only read the North Lab client
  • ✓ And the user disconnects and signs in again for read-only access
  • ✓ And the user chooses South Lab
  • ✓ And the user approves access
  • ✓ Then the new read-only connection can only read the South Lab client

Scenario: Complete authenticator setup before approving an MCP connection 14s 774ms
  • ✓ Given a fresh MCP app and a user with authenticator MFA configured
  • ✓ When the user signs in to request read-only access
  • ✓ And the user chooses North Lab and completes the required authenticator setup
  • ✓ And the user approves access
  • ✓ Then the read-only connection is bound only to North Lab

Scenario: An existing MCP connection reflects loss of 1 18s 861ms
  • ✓ Given an MCP reader with access to a seeded client in North Lab
  • ✓ When the reader approves a read-only connection and reads the client
  • ✓ And the reader loses '<access>'
  • ✓ Then the same connection denies reads after loss of '<access>'
Examples:
| access |
| membership |

Scenario: An existing MCP connection reflects loss of 2 21s 288ms
  • ✓ Given an MCP reader with access to a seeded client in North Lab
  • ✓ When the reader approves a read-only connection and reads the client
  • ✓ And the reader loses '<access>'
  • ✓ Then the same connection denies reads after loss of '<access>'
Examples:
| access |
| an active account |

Scenario: An existing MCP connection reflects loss of 3 30s 060ms
  • ✓ Given an MCP reader with access to a seeded client in North Lab
  • ✓ When the reader approves a read-only connection and reads the client
  • ✓ And the reader loses '<access>'
  • ✓ Then the same connection denies reads after loss of '<access>'
Examples:
| access |
| Clients View |

Scenario: Approve a fresh MCP connection that requests access 1 15s 265ms
  • ✓ Given a fresh MCP app and a user with access to North Lab and South Lab
  • ✓ When the user signs in to request '<grant>' access for the first time
  • ✓ And the user chooses North Lab
  • ✓ And native consent explains '<grant>' access
  • ✓ And the user approves access
  • ✓ Then the connection is bound only to North Lab with the approved access
Examples:
| grant |
| read and write |

Scenario: Approve a fresh MCP connection that requests access 2 14s 198ms
  • ✓ Given a fresh MCP app and a user with access to North Lab and South Lab
  • ✓ When the user signs in to request '<grant>' access for the first time
  • ✓ And the user chooses North Lab
  • ✓ And native consent explains '<grant>' access
  • ✓ And the user approves access
  • ✓ Then the connection is bound only to North Lab with the approved access
Examples:
| grant |
| write-only |

Scenario: Approve a fresh MCP connection for all MCP scopes 16s 714ms
  • ✓ Given a fresh MCP app registered for all MCP scopes and a user with access to North Lab and South Lab
  • ✓ When the user signs in to request all MCP scopes for the first time
  • ✓ And the user chooses North Lab
  • ✓ And native consent explains 'read and write' access
  • ✓ And the user approves access
  • ✓ Then the connection is bound only to North Lab with the approved access

Scenario: Cancel an MCP connection upgrade to read and write 23s 440ms
  • ✓ Given a fresh MCP app and a user with access to North Lab and South Lab
  • ✓ When the user signs in to request read-only access
  • ✓ And the user chooses North Lab
  • ✓ And the user approves access
  • ✓ And the read-only connection is bound only to North Lab
  • ✓ And the same user starts a read and write request for the same app
  • ✓ And the user chooses North Lab
  • ✓ And fresh native consent explains the new write approval
  • ✓ And the user cancels on the native consent page
  • ✓ Then the app receives access_denied without an authorisation code

Scenario: Approve an MCP connection upgrade to read and write 23s 689ms
  • ✓ Given a fresh MCP app and a user with access to North Lab and South Lab
  • ✓ When the user signs in to request read-only access
  • ✓ And the user chooses North Lab
  • ✓ And the user approves access
  • ✓ And the read-only connection is bound only to North Lab
  • ✓ And the same user starts a read and write request for the same app
  • ✓ And the user chooses North Lab
  • ✓ And fresh native consent explains the new write approval
  • ✓ And the user approves access
  • ✓ Then the connection is bound only to North Lab with the approved access

Scenario: Approve a fresh MCP connection that also requests offline access 13s 112ms
  • ✓ Given a fresh MCP app registered for all MCP scopes and offline access and a user with access to North Lab and South Lab
  • ✓ When the user signs in to request all MCP scopes for the first time
  • ✓ And the user chooses North Lab
  • ✓ And native consent keeps the summary and adds the stay signed in line
  • ✓ And the user approves access
  • ✓ Then the connection is bound only to North Lab with the approved access

@SetupData
Scenario: I am navigated to the new support site when I click the support link on the menu 13s 639ms
  • ✓ 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

@SetupData
Scenario: I am navigated to the new support site when I click the about icon on the menu 16s 469ms
  • ✓ 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

@McpCopyUrl @NativeClipboard @ChangesSubscriptionTier @LatestOnly
Scenario: Eligible users can copy the deployment URL from Profile 24s 274ms
  • ✓ Given an Advanced organisation with its MCP setting and rollout on
  • ✓ When a user without settings permission uses the keyboard to copy and paste the URL from Profile
  • ✓ Then the administrator can copy and paste the URL from Profile with the keyboard or mouse

@McpCopyUrl @NativeClipboard @ChangesSubscriptionTier @LatestOnly
Scenario: Profile offers manual copying when the clipboard rejects a write 9s 164ms
  • ✓ Given an Advanced organisation with its MCP setting and rollout on
  • ✓ When the administrator signs in to the disposable clipboard organisation
  • ✓ Then the administrator can select and copy the URL from the Profile fallback dialog

Scenario: I can update my company address 26s 159ms
  • ✓ Given I am logged in as user 'UpdateCompanyAddressUser'
  • ✓ When I click on the 'System settings' 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 32s 823ms
  • ✓ Given I am logged in as user 'NewLogoUser'
  • ✓ When I click on the 'System settings' 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 34s 158ms
  • ✓ Given I am logged in as user 'NewLogoUser'
  • ✓ When I click on the 'System settings' 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 27s 876ms
  • ✓ Given I am logged in as user 'NewLogoUser2'
  • ✓ When I click on the 'System settings' 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'

@SetupData @ChangesSettings
Scenario: I cannot turn off MFA if my organisation requires it 39s 416ms
  • ✓ Given I am logged in as user 'EnforcedMfaUser'
  • ✓ When I click on the admin icon
  • ✓ 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 the enforce MFA setting is enabled
  • ✓ 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

@SetupData @ChangesSettings
Scenario: I receive an emailed OTP if my organisation enables forced MFA 36s 344ms
  • ✓ Given I am logged in as user 'emailOtpUser'
  • ✓ When I click on the admin icon
  • ✓ 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 change my date locale and see this update the format on LabHQ 53s 149ms
  • ✓ 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 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

@DeleteSetupData @TimezoneReset
Scenario: Organisation timezone controls header date and organisation-based default date inputs 1 1min 27s
  • ✓ Given I am logged in as user '<user>'
  • ✓ And I have created the following stock item:
    | Key | Value |
    | Item Name | <itemName> |
    | Item Code | <itemCode> |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • ✓ When I click on the admin icon
  • ✓ And I select timezone '<timezone>' from the timezone drop down
  • ✓ And I click save
  • ✓ And I can see the message of 'Settings updated successfully'
  • ✓ And I can see the header date matches organisation today
  • ✓ And 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 can see the receive stock expiry date defaults to organisation today
  • ✓ 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 '<batchNo>' 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 '<batchNo>'
  • ✓ And I tick the first sample on the receive samples page
  • ✓ And I click the Receive button
  • ✓ And I view the created job on the job viewer
  • ✓ And I view the first sample on the job
  • ✓ And I can see the sample due date defaults to the next organisation working day
  • ✓ Then I can see the header timezone is '<timezone>'
Examples:
| user | timezone | itemName | itemCode | batchNo |
| TimezoneDefaultsBehindUtc | Pacific/Honolulu | TimezoneDefaultsBehindUtcItem | TZDB001 | TimezoneDefaultsBUtc |

@DeleteSetupData @TimezoneReset
Scenario: Organisation timezone controls header date and organisation-based default date inputs 2 1min 36s
  • ✓ Given I am logged in as user '<user>'
  • ✓ And I have created the following stock item:
    | Key | Value |
    | Item Name | <itemName> |
    | Item Code | <itemCode> |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • ✓ When I click on the admin icon
  • ✓ And I select timezone '<timezone>' from the timezone drop down
  • ✓ And I click save
  • ✓ And I can see the message of 'Settings updated successfully'
  • ✓ And I can see the header date matches organisation today
  • ✓ And 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 can see the receive stock expiry date defaults to organisation today
  • ✓ 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 '<batchNo>' 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 '<batchNo>'
  • ✓ And I tick the first sample on the receive samples page
  • ✓ And I click the Receive button
  • ✓ And I view the created job on the job viewer
  • ✓ And I view the first sample on the job
  • ✓ And I can see the sample due date defaults to the next organisation working day
  • ✓ Then I can see the header timezone is '<timezone>'
Examples:
| user | timezone | itemName | itemCode | batchNo |
| TimezoneDefaultsAheadUtc | Pacific/Kiritimati | TimezoneDefaultsAheadUtcItem | TZDA001 | TimezoneDefaultsAUtc |

@DeleteSetupData @TimezoneReset
Scenario: Locale and timezone are applied together for date formatting 1 56s 520ms
  • ✓ Given I am logged in as user '<user>'
  • ✓ And I have progressed a job up to verify with batchNo '<batchNo>' and input value '1' and spec 'Default specification'
  • ✓ When I click on the admin icon
  • ✓ And I select <locale> from the locale drop down
  • ✓ And I select timezone '<timezone>' from the timezone 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 <locale> format
  • ✓ And I can see the header timezone is '<timezone>'
Examples:
| user | batchNo | locale | timezone |
| LocaleTimezoneGbUtcUser | LocaleTimezoneGbUtc | GB | Pacific/Honolulu |

@DeleteSetupData @TimezoneReset
Scenario: Locale and timezone are applied together for date formatting 2 57s 756ms
  • ✓ Given I am logged in as user '<user>'
  • ✓ And I have progressed a job up to verify with batchNo '<batchNo>' and input value '1' and spec 'Default specification'
  • ✓ When I click on the admin icon
  • ✓ And I select <locale> from the locale drop down
  • ✓ And I select timezone '<timezone>' from the timezone 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 <locale> format
  • ✓ And I can see the header timezone is '<timezone>'
Examples:
| user | batchNo | locale | timezone |
| LocaleTimezoneUsUtcUser | LocaleTimezoneUsUtc | US | Pacific/Kiritimati |

@DeleteSetupData @TimezoneReset
Scenario: Audit event timestamps follow organisation timezone while date-only fields remain unchanged 1 1min 26s
  • ✓ Given I am logged in as user '<user>'
  • ✓ And I have created the following stock item:
    | Key | Value |
    | Item Name | <itemName> |
    | Item Code | <itemCode> |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • ✓ When I click on the admin icon
  • ✓ And I select timezone '<timezone>' from the timezone drop down
  • ✓ And I click save
  • ✓ And I can see the message of 'Settings updated successfully'
  • ✓ And 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 | <itemName> |
    | Batch | <batchNo> |
    | Quantity | 27 |
    | Expiry | YESTERDAY |
    | Status | Requires Testing |
  • ✓ And I can see the expiry date input is 'yesterday'
  • ✓ And I populate the testing details form with the default product and test suite
  • ✓ And I click the receive stock button
  • ✓ And recently received stock batch '<batchNo>' has a submitted sample link
  • ✓ And I click on the 'Audit' menu item
  • ✓ And I select 'Stock Batch' from the audit type filter
  • ✓ And I clear the audit actions
  • ✓ And I select 'Stock Batch Received' from the audit actions
  • ✓ Then the stock receipt audit for batch '<batchNo>' is dated organisation today
  • ✓ And I click on the 'Inventory' menu item
  • ✓ And I click on stock item '<itemName>'
  • ✓ And I can see stock batch '<batchNo>' has expiry date 'yesterday'
Examples:
| user | timezone | itemName | itemCode | batchNo |
| AuditTimezoneBehindUtcUser | Pacific/Honolulu | AuditTimezoneBehindUtcItem | ATZ001 | AuditTimezoneBehindUtc1 |

@DeleteSetupData @TimezoneReset
Scenario: Audit event timestamps follow organisation timezone while date-only fields remain unchanged 2 1min 21s
  • ✓ Given I am logged in as user '<user>'
  • ✓ And I have created the following stock item:
    | Key | Value |
    | Item Name | <itemName> |
    | Item Code | <itemCode> |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • ✓ When I click on the admin icon
  • ✓ And I select timezone '<timezone>' from the timezone drop down
  • ✓ And I click save
  • ✓ And I can see the message of 'Settings updated successfully'
  • ✓ And 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 | <itemName> |
    | Batch | <batchNo> |
    | Quantity | 27 |
    | Expiry | YESTERDAY |
    | Status | Requires Testing |
  • ✓ And I can see the expiry date input is 'yesterday'
  • ✓ And I populate the testing details form with the default product and test suite
  • ✓ And I click the receive stock button
  • ✓ And recently received stock batch '<batchNo>' has a submitted sample link
  • ✓ And I click on the 'Audit' menu item
  • ✓ And I select 'Stock Batch' from the audit type filter
  • ✓ And I clear the audit actions
  • ✓ And I select 'Stock Batch Received' from the audit actions
  • ✓ Then the stock receipt audit for batch '<batchNo>' is dated organisation today
  • ✓ And I click on the 'Inventory' menu item
  • ✓ And I click on stock item '<itemName>'
  • ✓ And I can see stock batch '<batchNo>' has expiry date 'yesterday'
Examples:
| user | timezone | itemName | itemCode | batchNo |
| AuditTimezoneAheadUtcUser | Pacific/Kiritimati | AuditTimezoneAheadUtcItem | ATZ002 | AuditTimezoneAheadUtc1 |

Scenario: I can see the out of spec results by product graph where I have results to show 1min 4s
  • ✓ 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 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 1min 6s
  • ✓ 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 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

@SetupData
Scenario: I cannot see the out of spec results by test method graph where no filters are selected 22s 498ms
  • ✓ 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

@SetupData
Scenario: I cannot see the out of spec results by product graph when there are no approved out of spec results 19s 796ms
  • ✓ 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 33s 520ms
  • ✓ 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 the email address for external user 'invite'
  • ✓ 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'
  • ✓ 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 confirm revoking portal access and wait for the client to reload
  • ✓ And I can see the message of 'Client updated successfully'
  • ✓ And I can no longer see the external user 'invite' in the list
  • ✓ And I click add new user
  • ✓ And I re-enter the email address for external user 'invite'
  • ✓ And I click ok
  • ✓ And I click save
  • ✓ Then I can see the message of 'Client updated successfully'
  • ✓ And I can see the external user 'invite' in the list

Scenario: I can resend an invite to a portal user 28s 667ms
  • ✓ 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 the email address for external user 'resend'
  • ✓ 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'
  • ✓ And I click on resend invite
  • ✓ Then I can see confirmation that the invitation email was resent to the external user

Scenario: I cannot resent an invite to a portal user that has already accepted 29s 822ms
  • ✓ 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 the email address for external user 'resendfail'
  • ✓ 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'
  • ✓ And I click on the menu for external user 'resendfail'
  • ✓ And I click on resend invite
  • ✓ Then I can see the message of 'User has already accepted an invitation.'

@ChangesSubscriptionTier
Scenario: I cannot see portal information if my subscription tier is essentials or growth 1 27s 185ms
  • ✓ 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 the email address for external user '<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 |

@ChangesSubscriptionTier
Scenario: I cannot see portal information if my subscription tier is essentials or growth 2 33s 297ms
  • ✓ 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 the email address for external user '<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 28s 160ms
  • ✓ 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 57s 688ms
  • ✓ 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 close the product attachments
  • ✓ 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: The product walkthrough only starts when requested 29s 430ms
  • ✓ Given I am logged in as user 'ProductWalkthroughStartUser'
  • ✓ When I click on the 'Setup' menu item
  • ✓ And I click on the 'Products' menu item
  • ✓ And I have navigated to the 'Products' page
  • ✓ Then the product walkthrough is not automatically displayed
  • ✓ And I can start the product walkthrough
  • ✓ When I start the product walkthrough
  • ✓ Then the product walkthrough shows the 'Welcome to Products' step

Scenario: The product walkthrough restarts with fresh practice data 48s 323ms
  • ✓ Given I am logged in as user 'ProductWalkthroughRestartUser'
  • ✓ When I click on the 'Setup' menu item
  • ✓ And I click on the 'Products' menu item
  • ✓ And I have navigated to the 'Products' page
  • ✓ And I start the product walkthrough
  • ✓ And I continue the product walkthrough
  • ✓ And I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Create a Product' step
  • ✓ When I click the Create product button
  • ✓ Then the product walkthrough shows the 'Creating a Product' step
  • ✓ When I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Enter Product Details' step
  • ✓ When I enter 'Discarded Walkthrough Product' in the walkthrough product name field
  • ✓ And I close the product walkthrough
  • ✓ And I start the product walkthrough
  • ✓ And I continue the product walkthrough
  • ✓ And I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Create a Product' step
  • ✓ When I click the Create product button
  • ✓ Then the product walkthrough shows the 'Creating a Product' step
  • ✓ When I continue the product walkthrough
  • ✓ Then the walkthrough product name is empty

Scenario: The product walkthrough validates configuration and uses temporary practice data 1min 19s
  • ✓ Given I am logged in as user 'ProductWalkthroughValidationUser'
  • ✓ When I click on the 'Setup' menu item
  • ✓ And I click on the 'Products' menu item
  • ✓ And I have navigated to the 'Products' page
  • ✓ And I start the product walkthrough
  • ✓ And I continue the product walkthrough
  • ✓ And I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Create a Product' step
  • ✓ When I click the Create product button
  • ✓ Then the product walkthrough shows the 'Creating a Product' step
  • ✓ When I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Enter Product Details' step
  • ✓ When I continue the product walkthrough
  • ✓ Then the product walkthrough remains on the 'Enter Product Details' step
  • ✓ When I enter 'Walkthrough Product' in the walkthrough product name field
  • ✓ And I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Assign Test Suites' step
  • ✓ When I open the walkthrough test-suite selector
  • ✓ Then the product walkthrough shows the 'Manage Test Suites' step
  • ✓ And the product walkthrough contains the practice test suite
  • ✓ When I continue the product walkthrough
  • ✓ Then the product walkthrough remains on the 'Manage Test Suites' step
  • ✓ When I add the practice test suite to the walkthrough product
  • ✓ And I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Edit Test Suites' step
  • ✓ When I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Confirm Test Suites' step
  • ✓ When I confirm the walkthrough dialog
  • ✓ Then the product walkthrough shows the 'Configure Specifications' step
  • ✓ And the product walkthrough contains the practice specification data
  • ✓ When I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Complete New Specifications' step
  • ✓ When I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Select the Text Output' step
  • ✓ When I select practice output 'Appearance' in the walkthrough product
  • ✓ Then the product walkthrough shows the 'Configure Text-Based Specifications' step
  • ✓ When I return to the previous product walkthrough step
  • ✓ Then the product walkthrough shows the 'Select the Text Output' step
  • ✓ When I select practice output 'Appearance' in the walkthrough product
  • ✓ Then the product walkthrough shows the 'Configure Text-Based Specifications' step
  • ✓ When I continue the product walkthrough
  • ✓ Then the product walkthrough remains on the 'Configure Text-Based Specifications' step
  • ✓ When I configure the practice text specification to accept 'Pass'
  • ✓ Then the product walkthrough shows the 'Select the Numeric Output' step
  • ✓ When I return to the previous product walkthrough step
  • ✓ Then the product walkthrough shows the 'Configure Text-Based Specifications' step
  • ✓ When I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Select the Numeric Output' step
  • ✓ When I select practice output 'Moisture Content' in the walkthrough product
  • ✓ Then the product walkthrough shows the 'Configure Numeric Specifications' step
  • ✓ When I return to the previous product walkthrough step
  • ✓ Then the product walkthrough shows the 'Select the Numeric Output' step
  • ✓ When I select practice output 'Moisture Content' in the walkthrough product
  • ✓ Then the product walkthrough shows the 'Configure Numeric Specifications' step
  • ✓ When I configure the practice numeric specification between '10' and '20'
  • ✓ And I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Configure Warning Limits' step
  • ✓ When I enable practice warning limits
  • ✓ And I configure the practice warning limits between '12' and '18'
  • ✓ Then the product walkthrough shows the 'Specification Menu' step
  • ✓ When I open the walkthrough specification menu
  • ✓ Then the product walkthrough shows the 'Create Additional Specifications' step
  • ✓ When I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Certificate Display' step
  • ✓ When I open the walkthrough certificate ordering dialog
  • ✓ Then the product walkthrough shows the 'Certificate Display Order' step
  • ✓ When I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Confirm Certificate Display Order' step
  • ✓ When I confirm the walkthrough dialog
  • ✓ Then the product walkthrough shows the 'View Related Clients' step
  • ✓ When I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Default Certificate Template' step
  • ✓ When I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Attachments' step
  • ✓ When I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Update Specifications' step
  • ✓ When I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Your Product is Ready' step
  • ✓ And the product walkthrough links to the product user guides
  • ✓ When I continue the product walkthrough
  • ✓ Then the product walkthrough closes
  • ✓ And the walkthrough product 'Walkthrough Product' was not saved

Scenario: The product walkthrough hides the related-clients step without client management permission 1min 6s
  • ✓ Given I have created the user 'ProductWalkthroughNoClientManageUser' without permissions 'clients manage'
  • ✓ And I am logged in as the created user 'ProductWalkthroughNoClientManageUser'
  • ✓ When I click on the 'Setup' menu item
  • ✓ And I click on the 'Products' menu item
  • ✓ And I have navigated to the 'Products' page
  • ✓ And I start the product walkthrough
  • ✓ And I continue the product walkthrough
  • ✓ And I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Create a Product' step
  • ✓ When I click the Create product button
  • ✓ Then the product walkthrough shows the 'Creating a Product' step
  • ✓ When I continue the product walkthrough
  • ✓ And I enter 'Client Permission Walkthrough Product' in the walkthrough product name field
  • ✓ And I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Assign Test Suites' step
  • ✓ When I open the walkthrough test-suite selector
  • ✓ Then the product walkthrough shows the 'Manage Test Suites' step
  • ✓ When I add the practice test suite to the walkthrough product
  • ✓ And I continue the product walkthrough
  • ✓ And I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Confirm Test Suites' step
  • ✓ When I confirm the walkthrough dialog
  • ✓ And I continue the product walkthrough
  • ✓ And I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Select the Text Output' step
  • ✓ When I select practice output 'Appearance' in the walkthrough product
  • ✓ Then the product walkthrough shows the 'Configure Text-Based Specifications' step
  • ✓ When I configure the practice text specification to accept 'Pass'
  • ✓ Then the product walkthrough shows the 'Select the Numeric Output' step
  • ✓ When I select practice output 'Moisture Content' in the walkthrough product
  • ✓ Then the product walkthrough shows the 'Configure Numeric Specifications' step
  • ✓ When I configure the practice numeric specification between '10' and '20'
  • ✓ And I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Configure Warning Limits' step
  • ✓ When I enable practice warning limits
  • ✓ And I configure the practice warning limits between '12' and '18'
  • ✓ Then the product walkthrough shows the 'Specification Menu' step
  • ✓ When I open the walkthrough specification menu
  • ✓ And I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Certificate Display' step
  • ✓ When I open the walkthrough certificate ordering dialog
  • ✓ And I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Confirm Certificate Display Order' step
  • ✓ When I confirm the walkthrough dialog
  • ✓ Then the product walkthrough shows the 'Default Certificate Template' step
  • ✓ When I close the product walkthrough
  • ✓ Then the product walkthrough closes

Scenario: The product walkthrough only shows steps the user has permission to access 25s 406ms
  • ✓ Given I have created the user 'ProductWalkthroughViewUser' without permissions 'setup data manage, clients manage'
  • ✓ And I am logged in as the created user 'ProductWalkthroughViewUser'
  • ✓ When I click on the 'Setup' menu item
  • ✓ And I click on the 'Products' menu item
  • ✓ And I have navigated to the 'Products' page
  • ✓ And I start the product walkthrough
  • ✓ Then the product walkthrough shows the 'Welcome to Products' step
  • ✓ When I continue the product walkthrough
  • ✓ Then the product walkthrough shows the 'Finding a Product' step
  • ✓ When I continue the product walkthrough
  • ✓ Then the product walkthrough closes

@SetupData
Scenario: I can create a product 29s 726ms
  • ✓ 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 finish editing the product settings
  • ✓ And I click the create button
  • ✓ Then I can see the message of 'Product created successfully'

@SetupData
Scenario: I can view related clients on products 35s 246ms
  • ✓ 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

@SetupData
Scenario: I can view related test suites on products 30s 785ms
  • ✓ 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 open the product's related test suites
  • ✓ 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 20s 996ms
  • ✓ 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 35s 227ms
  • ✓ 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 27s 549ms
  • ✓ 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 44s 464ms
  • ✓ 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 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 1min 6s
  • ✓ 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 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 39s 425ms
  • ✓ 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 1min 8s
  • ✓ 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 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 disabled

@SetupData
Scenario: I can update a test method and set to draft, sync this to the product and be unable to publish the product 50s 036ms
  • ✓ 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 open the test method's related test suites
  • ✓ And I copy across the default test suite from the available list
  • ✓ And I confirm the test method associations
  • ✓ 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 refresh the product specifications
  • ✓ And I can see test method 'unPublishedVersionTestMethod' showing as draft in the specification section
  • ✓ And I click save
  • ✓ Then I can see the publish product button is disabled

@SetupData
Scenario: I can delete a test suite and the product requires resync 40s 705ms
  • ✓ 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 43s 449ms
  • ✓ 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 '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 43s 011ms
  • ✓ 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 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 edit product 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 42s 892ms
  • ✓ 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 46s 890ms
  • ✓ 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 33s 264ms
  • ✓ 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 39s 866ms
  • ✓ 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 30s 693ms
  • ✓ 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 37s 711ms
  • ✓ 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 recently received stock batch 'Rec976' is displayed
  • ✓ 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 | less than a minute ago |

Scenario: I can see a job is automatically submitted when I receive a batch of stock that requires testing 36s 163ms
  • ✓ 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 recently received stock batch 'Sub976' has a submitted sample link
  • ✓ 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 59s 234ms
  • ✓ 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 recently received stock batch 'SubRec876' has a submitted sample link
  • ✓ 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 | less than a minute ago |

Scenario: I can see the status of my batch is updated when the sample is approved 1 41s 377ms
  • ✓ Given I am logged in as user 'approvesamplestockuser'
  • ✓ And I have created the following stock item:
    | Key | Value |
    | Item Name | <item> |
    | Item Code | <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 | <item> |
    | Batch | <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 recently received stock batch '<batch>' has a submitted sample link
  • ✓ And I progress the submitted job with batch '<batch>' to approval with input value '<value>'
  • ✓ And the stock batch '<batch>' reaches '<status>'
  • ✓ And I refresh the page
  • ✓ Then I can see the following in the list of recently received:
    | Key | Value |
    | Batch | <batch> |
    | Stock Item | <item> |
    | Item Code | <code> |
    | Quantity | 27 |
    | Units | g |
    | Status | <status> |
    | Received | less than a minute 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 47s 546ms
  • ✓ Given I am logged in as user 'approvesamplestockuser'
  • ✓ And I have created the following stock item:
    | Key | Value |
    | Item Name | <item> |
    | Item Code | <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 | <item> |
    | Batch | <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 recently received stock batch '<batch>' has a submitted sample link
  • ✓ And I progress the submitted job with batch '<batch>' to approval with input value '<value>'
  • ✓ And the stock batch '<batch>' reaches '<status>'
  • ✓ And I refresh the page
  • ✓ Then I can see the following in the list of recently received:
    | Key | Value |
    | Batch | <batch> |
    | Stock Item | <item> |
    | Item Code | <code> |
    | Quantity | 27 |
    | Units | g |
    | Status | <status> |
    | Received | less than a minute ago |
Examples:
| value | status | item | batch | code |
| 11 | Rejected | RejectJobStock | SubRej876 | RJ123 |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Receive Stock works without Inventory or Stock Items Manage 40s 447ms
  • ✓ Given I am logged in as user 'StockReceivePermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user has only 'stock receive' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the 'Receive Stock' stock screen
  • ✓ And I click the receive stock button
  • ✓ And I populate the receive stock form with the following:
    | Key | Value |
    | Item Name | PermissionStock |
    | Batch | PERM-RECEIVED |
    | Quantity | 12 |
    | Status | Approved |
    | Expiry | Tomorrow |
  • ✓ And I click the receive stock button
  • ✓ Then recently received stock batch 'PERM-RECEIVED' shows quantity '12'

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Manage Inventory independently allows editing an existing batch 39s 711ms
  • ✓ Given I am logged in as user 'StockReceivePermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user has only 'stock inventory manage' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I click on the 'Stock' menu item
  • ✓ And I click on the 'Receive stock' menu item
  • ✓ And I open batch 'PERM' for editing
  • ✓ And I enter 'PERM-EDITED' in the batch input
  • ✓ And I click the update batch button
  • ✓ And I can see the message of 'Stock updated successfully'
  • ✓ And I open the 'Receive Stock' stock screen
  • ✓ Then recently received stock batch 'PERM-EDITED' shows quantity '100'

Scenario: I can upload, download and delete a custom template 1 36s 639ms
  • ✓ Given I am logged in as user '<username>'
  • ✓ When I click on the 'System settings' 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 29s 689ms
  • ✓ Given I am logged in as user '<username>'
  • ✓ When I click on the 'System settings' 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 28s 580ms
  • ✓ Given I am logged in as user '<username>'
  • ✓ When I click on the 'System settings' 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 30s 311ms
  • ✓ Given I am logged in as user '<username>'
  • ✓ When I click on the 'System settings' 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 25s 457ms
  • ✓ Given I am logged in as user '<username>'
  • ✓ When I click on the 'System settings' 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 26s 394ms
  • ✓ Given I am logged in as user '<username>'
  • ✓ When I click on the 'System settings' 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 27s 153ms
  • ✓ Given I am logged in as user '<username>'
  • ✓ When I click on the 'System settings' 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 25s 693ms
  • ✓ Given I am logged in as user '<username>'
  • ✓ When I click on the 'System settings' 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 25s 565ms
  • ✓ Given I am logged in as user '<username>'
  • ✓ When I click on the 'System settings' 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 41s 411ms
  • ✓ 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 open the results submission controls
  • ✓ 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 start the results export
  • ✓ And I download the export CSV
  • ✓ Then the results CSV contains:
    | 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 41s 882ms
  • ✓ 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 open the results submission controls
  • ✓ 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 start the results export
  • ✓ And I download the export CSV
  • ✓ Then the results CSV contains:
    | 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 31s 269ms
  • ✓ 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 select the created job for export
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the results CSV contains:
    | 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 28s 918ms
  • ✓ 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 page
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the results CSV contains:
    | 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 1min 7s
  • ✓ 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'
  • ✓ And 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 start the results export
  • ✓ And I download the export CSV
  • ✓ Then the results CSV contains:
    | 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 41s 120ms
  • ✓ 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 select only the default client from the client filter
  • ✓ And I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the results CSV contains:
    | Key | Value |
    | Batch No | SecondJobBatch |
    | Result | 9.000 |
    | Repeat | 1 |
  • ✓ And the results CSV contains:
    | Key | Value |
    | Batch No | TestBatch123 |
    | Result | 5.0 |
    | Repeat | 1 |

Scenario: I can see repeats when exporting results 35s 975ms
  • ✓ 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 select the created job for export
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the results CSV contains exactly 3 repeats for the created job

Scenario: I can set up the mappings for the results import and import results from 1 58s 081ms
  • ✓ Given I am logged in as user 'ResImportUser'
  • ✓ And I create the following setup data:
    | Key | Value |
    | Username | ResImportUser |
    | TestMethodName | <TMName> |
    | 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 with identifier 'resultimport' up to enter results with batchNo 'resultimport' and spec 'Default specification'
  • ✓ And I click on the admin icon
  • ✓ And I click on the 'System settings' 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 navigate to the 'Enter results' page
  • ✓ 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 1min 3s
  • ✓ Given I am logged in as user 'ResImportUser'
  • ✓ And I create the following setup data:
    | Key | Value |
    | Username | ResImportUser |
    | TestMethodName | <TMName> |
    | 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 with identifier 'resultimport' up to enter results with batchNo 'resultimport' and spec 'Default specification'
  • ✓ And I click on the admin icon
  • ✓ And I click on the 'System settings' 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 navigate to the 'Enter results' page
  • ✓ 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 create a custom sample field 1 29s 841ms
  • ✓ 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 27s 813ms
  • ✓ 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 24s 781ms
  • ✓ 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 1min 23s
  • ✓ 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/06/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/06/2024 |

Scenario: I can use a custom sample field on a sample 2 1min 18s
  • ✓ 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/06/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 1min 23s
  • ✓ 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/06/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: Changing a custom sample field does not change it on an existing sample 1min 5s
  • ✓ 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
  • ✓ And 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 sample field and see this on a sample 1min 3s
  • ✓ 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'

@SetupData
Scenario: I cannot change the spec on a sample without the correct permission 49s 584ms
  • ✓ Given I have created the user 'SampleSpecPermissionsUser' without permissions 'sample spec'
  • ✓ 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 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

@SetupData
Scenario: I cannot delete a sample without the correct permission 51s 163ms
  • ✓ Given I have created the user 'DeleteSamplePermissionsUser' without permissions 'samples delete'
  • ✓ 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 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

@SetupData
Scenario: I cannot edit a sample without the correct permission 57s 418ms
  • ✓ Given I have created the user 'EditSamplePermissionsUser' without permissions 'samples edit'
  • ✓ 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 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

@SetupData
Scenario: I cannot revert approval without correct permission 54s 682ms
  • ✓ Given I have created the user 'RevertApprovalPermissionsUser' without permissions 'lifecycle revert approval'
  • ✓ 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 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

@SetupData
Scenario: I cannot revert verification without correct permission 1min 2s
  • ✓ Given I have created the user 'RevertVerificationPermissionsUser' without permissions 'lifecycle revert verification'
  • ✓ 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 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

@SetupData
Scenario: I cannot add sample attachments without correct permission 1min 27s
  • ✓ Given I have created the user 'SampleAAttachmentsPermissionsUser' without permissions 'samples add attachments'
  • ✓ 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 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
  • ✓ When 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
  • ✓ And I cannot amend the attachment visibility

@SetupData
Scenario: I cannot delete sample attachments without correct permission 1min 7s
  • ✓ Given I have created the user 'SampleDAttachmentsPermissionsUser' without permissions 'samples delete attachments'
  • ✓ 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 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
  • ✓ And I can amend the attachment visibility

@SetupData
Scenario: I cannot start an investigation without the correct permission 48s 109ms
  • ✓ Given I have created the user 'InvestigationPermissionsUser' without permissions 'samples investigations'
  • ✓ 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 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

@SetupData
Scenario: I can use templates to generate, download and delete a sample certificate across history, audit and attachments 2min 15s
  • ✓ Given I am logged in as user 'DownloadSampleCertManageCertificatesUser'
  • ✓ And I have progressed a job through the lifecycle process with batchNo 'TestBatch123' and input value '123'
  • ✓ When I click on the 'System settings' 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 open the created job directly on the job viewer
  • ✓ And I view the first sample on the job
  • ✓ And I click on the Manage Certificates button
  • ✓ And I click the sample certificate generate button on manage certificates
  • ✓ Then I can see my new manage certificates template is selected by default
  • ✓ And I can select a custom manage certificates template
  • ✓ When I confirm the certificate settings and wait for the file download
  • ✓ Then I can see 1 sample certificates on manage certificates
  • ✓ And I expand the first sample certificate history on manage certificates
  • ✓ And I can see 1 certificates in the manage certificates history
  • ✓ And the first certificate uses the selected custom template
  • ✓ And I can see the first certificate is for the primary client
  • ✓ And I can see the first certificate details in the manage certificates history
  • ✓ And I can download the first certificate from the manage certificates history
  • ✓ When I click the close button
  • ✓ And I open the created job directly on the job viewer
  • ✓ And I view the first sample on the job
  • ✓ And I click on the sample audit button
  • ✓ Then I can see the generated sample certificate on the audit
  • ✓ When I open the created job directly on the job viewer
  • ✓ And I view the first sample on the job
  • ✓ And I click on certificates
  • ✓ Then I can see the sample certificate for template 'SamCert' showing here
  • ✓ And I can download the first certificate from the certificates section
  • ✓ When I open the created job directly on the job viewer
  • ✓ And I view the first sample on the job
  • ✓ And I click on the Manage Certificates button
  • ✓ And I expand the first sample certificate history on manage certificates
  • ✓ And I delete the first certificate from the manage certificates history
  • ✓ Then I can see the message of 'Sample certificate deleted successfully.'
  • ✓ And I can see 0 certificates in the manage certificates history
  • ✓ When I click the close button
  • ✓ And I open the created job directly on the job viewer
  • ✓ And I view the first sample on the job
  • ✓ And I click on the sample audit button
  • ✓ Then I can see the deleted sample certificate on the audit
  • ✓ And I click on the 'System settings' 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

@ChangesSettings @SetupData
Scenario: Preview sample certificates remain PDF only when DOCX certificate output is enabled 36s 176ms
  • ✓ Given I am logged in as user 'PreviewPdfOnlySampleCertUser'
  • ✓ And I have enabled DOCX certificate output
  • ✓ And I have progressed a job up to approval with batchNo 'PreviewPdfOnlySampleCert' and input value '123'
  • ✓ When I open the created job directly on the job viewer
  • ✓ And I view the first sample on the job
  • ✓ And I click on the Manage Certificates button
  • ✓ And I click the sample certificate preview button on manage certificates
  • ✓ Then I can see certificate output format options
  • ✓ And I cannot select DOCX as the certificate output format
  • ✓ When I confirm the certificate settings and wait for the pdf file download
  • ✓ Then I can see the selected manage certificates job is the current job

@SetupData
Scenario: I can see the primary client is selected by default when opening sample certificate settings 31s 997ms
  • ✓ Given I am logged in as user 'SampleCertDefaultClientUser'
  • ✓ And I have progressed a job through the lifecycle process with batchNo 'defaultsamplecertclient' and input value '123'
  • ✓ When I open the created job directly on the job viewer
  • ✓ And I view the first sample on the job
  • ✓ And I click on the Manage Certificates button
  • ✓ And I click the sample certificate generate button on manage certificates
  • ✓ Then I can see the primary client is selected in certificate settings

Scenario: Preview sample certificates only include selected test outputs 37s 281ms
  • ✓ Given I am logged in as user 'PreviewSampleCertOutputsUser'
  • ✓ And I create the following setup data:
    | Key | Value |
    | Username | PreviewSampleCertOutputsUser |
    | TestMethodName | CertOutputPreviewShownMethod |
    | TestMethod2Name | CertOutputPreviewHiddenMethod |
    | ClientName | CertOutputPreviewClient |
    | ProductName | CertOutputPreviewProduct |
    | TestSuiteName | CertOutputPreviewSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
    | SecondOutputShowOnReport | false |
  • ✓ And I have progressed a job up to approval with batchNo 'previewoutputs' and input value '11'
  • ✓ When I open the created job directly on the job viewer
  • ✓ And I view the first sample on the job
  • ✓ And I click on the Manage Certificates button
  • ✓ And I click the sample certificate preview button on manage certificates
  • ✓ And I open the test output settings tab in certificate settings
  • ✓ Then I can see 1 of 2 certificate outputs are selected
  • ✓ And I can see certificate output 'output-1' under test method 'CertOutputPreviewShownMethod'
  • ✓ And I can see certificate output 'output-2' under test method 'CertOutputPreviewHiddenMethod'
  • ✓ And I can see certificate output 'output-1' under test method 'CertOutputPreviewShownMethod' is selected
  • ✓ And I can see certificate output 'output-2' under test method 'CertOutputPreviewHiddenMethod' is not selected
  • ✓ When I deselect all certificate outputs
  • ✓ Then I can see 0 of 2 certificate outputs are selected
  • ✓ And I cannot confirm certificate settings
  • ✓ When I select certificate output 'output-1' under test method 'CertOutputPreviewShownMethod'
  • ✓ Then I can confirm certificate settings
  • ✓ When I confirm the certificate settings and capture the sample certificate request
  • ✓ Then the captured sample certificate request has selected outputs:
    | TestMethod | Output |
    | CertOutputPreviewShownMethod | output-1 |

@ChangesSettings
Scenario: A regenerated DOCX sample certificate retains selected outputs and is recorded in the audit 1min 36s
  • ✓ Given I am logged in as user 'RegenerateSampleCertOutputsUser'
  • ✓ And I have enabled DOCX certificate output
  • ✓ And I create the following setup data:
    | Key | Value |
    | Username | RegenerateSampleCertOutputsUser |
    | TestMethodName | CertOutputRegenFirstMethod |
    | TestMethod2Name | CertOutputRegenSecondMethod |
    | ClientName | CertOutputRegenClient |
    | ProductName | CertOutputRegenProduct |
    | TestSuiteName | CertOutputRegenSuite |
    | OutputType | numeric |
    | ListName | |
    | DefaultValue | |
  • ✓ And I have progressed a job through the lifecycle process with batchNo 'regenoutputs' and input value '12'
  • ✓ When I open the created job directly on the job viewer
  • ✓ And I view the first sample on the job
  • ✓ And I click on the Manage Certificates button
  • ✓ And I click the sample certificate generate button on manage certificates
  • ✓ Then I can see certificate output format options
  • ✓ When I select DOCX as the certificate output format
  • ✓ And I open the test output settings tab in certificate settings
  • ✓ Then I can see 2 of 2 certificate outputs are selected
  • ✓ When I deselect certificate output 'output-2' under test method 'CertOutputRegenSecondMethod'
  • ✓ Then I can see 1 of 2 certificate outputs are selected
  • ✓ When I confirm the certificate settings and capture the sample certificate request
  • ✓ Then the captured sample certificate request has selected outputs:
    | TestMethod | Output |
    | CertOutputRegenFirstMethod | output-1 |
  • ✓ When I can see the message of 'Sample certificate generated successfully.'
  • ✓ And I expand the first sample certificate history on manage certificates
  • ✓ Then I can see the first certificate is a docx document in the manage certificates history
  • ✓ When I regenerate the first certificate from the manage certificates history
  • ✓ Then I can see DOCX is selected as the certificate output format
  • ✓ When I open the test output settings tab in certificate settings
  • ✓ Then I can see 1 of 2 certificate outputs are selected
  • ✓ And I can see certificate output 'output-1' under test method 'CertOutputRegenFirstMethod' is selected
  • ✓ And I can see certificate output 'output-2' under test method 'CertOutputRegenSecondMethod' is not selected
  • ✓ When I deselect certificate output 'output-1' under test method 'CertOutputRegenFirstMethod'
  • ✓ And I select certificate output 'output-2' under test method 'CertOutputRegenSecondMethod'
  • ✓ And I confirm the certificate settings and capture the sample certificate regeneration request
  • ✓ Then the captured sample certificate request has selected outputs:
    | TestMethod | Output |
    | CertOutputRegenSecondMethod | output-2 |
  • ✓ And I can see the message of 'Sample certificate regenerated successfully.'
  • ✓ And I can see 2 certificates in the manage certificates history
  • ✓ When I click the close button
  • ✓ And I open the created job directly on the job viewer
  • ✓ And I view the first sample on the job
  • ✓ And I click on certificates
  • ✓ Then I can see 2 generated certificates in the certificates section
  • ✓ When I open the created job directly on the job viewer
  • ✓ And I view the first sample on the job
  • ✓ And I click on the sample audit button
  • ✓ Then I can see the regenerated sample certificate on the audit

@SetupData
Scenario: Multiple sample certificates identify the latest and appear in a secondary client's history and attachments 1min 1s
  • ✓ Given I am logged in as user 'SampleCertSecondaryClientUser'
  • ✓ And I have created a visible secondary customer client called 'SecondarySampleGenerateClient'
  • ✓ And I have progressed a job through the lifecycle process with batchNo 'secondarysamplecert' and input value '123'
  • ✓ When I open the created job directly on the job viewer
  • ✓ And I view the first sample on the job
  • ✓ And I click on the Manage Certificates button
  • ✓ And I click the sample certificate generate button on manage certificates
  • ✓ And I confirm the certificate settings and wait for the file download
  • ✓ And I can see the message of 'Sample certificate generated successfully.'
  • ✓ And I click the sample certificate generate button on manage certificates
  • ✓ And I select the secondary client in certificate settings
  • ✓ And I confirm the certificate settings and wait for the file download
  • ✓ And I can see the message of 'Sample certificate generated successfully.'
  • ✓ And I expand the first sample certificate history on manage certificates
  • ✓ Then I can see 2 certificates in the manage certificates history
  • ✓ And I can see the first certificate is for the secondary client
  • ✓ And I can see the latest certificate is marked in the manage certificates history
  • ✓ When I click the close button
  • ✓ And I open the created job directly on the job viewer
  • ✓ And I view the first sample on the job
  • ✓ And I click on certificates
  • ✓ Then I can see the sample certificate for template 'SampleCertificateTemplate' showing here

@SetupData
Scenario: I cannot generate a sample certificate on manage certificates until the sample is approved 26s 799ms
  • ✓ Given I am logged in as user 'CannotGenerateSampleCertManageCertificatesUser'
  • ✓ And I have progressed a job up to approval with batchNo 'nogeneratesamplecert' and input value '123'
  • ✓ When I open the created job directly on the job viewer
  • ✓ And I view the first sample on the job
  • ✓ And I click on the Manage Certificates button
  • ✓ Then I cannot click the sample certificate generate button on manage certificates

@SetupData
Scenario: I can select a default sample certificate template on a product and see this is used on generation from manage certificates 1min 14s
  • ✓ Given I am logged in as user 'DefaultSampleCertTemplateManageCertificatesUser'
  • ✓ And I have progressed a job through the lifecycle process with batchNo 'TestBatch123' and input value '123'
  • ✓ When I click on the 'System settings' 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 'AltCert.docx' as the product sample certificate template
  • ✓ And I finish editing the product settings
  • ✓ And I click save
  • ✓ And I can see the message of 'Report settings updated successfully'
  • ✓ And I open the created job directly on the job viewer
  • ✓ And I view the first sample on the job
  • ✓ And I click on the Manage Certificates button
  • ✓ And I click the sample certificate generate button on manage certificates
  • ✓ Then I can see 'AltCert.docx'
  • ✓ And I confirm the certificate settings and wait for the file download
  • ✓ And I can see 1 sample certificates on manage certificates
  • ✓ And I expand the first sample certificate history on manage certificates
  • ✓ And I can see 1 certificates in the manage certificates history
  • ✓ And I click the close button
  • ✓ And I click on the 'System settings' 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: Approved is the default disposition and is audited when a sample completes 34s 375ms
  • ✓ Given I am logged in as user 'defaultdispositionuser'
  • ✓ When I progress a job up to approval with batchNo 'DefaultDisposition' and input value '5' and spec 'Default specification'
  • ✓ And I navigate to the approve samples page for the job
  • ✓ Then sample '1' has disposition 'Approved' selected
  • ✓ When I tick then approve the results
  • ✓ Then I can see the message of 'Samples approved successfully'
  • ✓ And the prepared samples are completed with dispositions:
    | Sample | Disposition |
    | 1 | Approved |
  • ✓ And the sample completion audit records reason '' and dispositions:
    | Sample | Disposition |
    | 1 | Approved |

@ChangesSettings
Scenario: A mixed batch uses one combined disposition-change reason and e-signature confirmation 51s 601ms
  • ✓ Given I am logged in as user 'mixeddispositionuser'
  • ✓ And I have enabled the require reason for change setting
  • ✓ And I have enabled the require E-signatures setting
  • ✓ And I have a verified job with batch 'MixedDisposition' and sample input values:
    | Input | Outcome |
    | 5 | Pass |
    | 11 | Fail |
  • ✓ When I navigate to the approve samples page for the job
  • ✓ And I set sample '2' disposition to 'Rejected'
  • ✓ And I select all '2' prepared samples and open the completion confirmation
  • ✓ Then the disposition change reason message is 'One or more sample dispositions have changed. Provide a reason for changing these dispositions.'
  • ✓ And the confirmation requests a reason and an e-signature
  • ✓ When I confirm sample completion with reason 'Failed specification review' and my e-signature
  • ✓ Then I can see the message of 'Samples approved successfully'
  • ✓ And the prepared samples are completed with dispositions:
    | Sample | Disposition |
    | 1 | Approved |
    | 2 | Rejected |
  • ✓ And the sample completion audit records reason 'Failed specification review' and dispositions:
    | Sample | Disposition |
    | 1 | Approved |
    | 2 | Rejected |

Scenario: Rejected completion without reason or e-signature completes without confirmation 28s 027ms
  • ✓ Given I am logged in as user 'rejecteddispositionuser'
  • ✓ And I have a verified job with batch 'RejectedDisposition' and sample input values:
    | Input | Outcome |
    | 11 | Fail |
  • ✓ When I navigate to the approve samples page for the job
  • ✓ And I set sample '1' disposition to 'Rejected'
  • ✓ And I tick then approve the results
  • ✓ Then I can see the message of 'Samples approved successfully'
  • ✓ And the prepared samples are completed with dispositions:
    | Sample | Disposition |
    | 1 | Rejected |

@ChangesSettings
Scenario: Approved-only completion ignores the reason-for-change setting 35s 316ms
  • ✓ Given I am logged in as user 'approvedreasonuser'
  • ✓ And I have enabled the require reason for change setting
  • ✓ When I progress a job up to approval with batchNo 'ApprovedReason' and input value '5' and spec 'Default specification'
  • ✓ And I navigate to the approve samples page for the job
  • ✓ And I tick then approve the results
  • ✓ Then I can see the message of 'Samples approved successfully'

@ChangesSettings
Scenario: Reason for change is required whenever a disposition is changed 49s 731ms
  • ✓ Given I am logged in as user 'rejectedreasonuser'
  • ✓ And I have enabled the require reason for change setting
  • ✓ And I have a verified job with batch 'RejectedReason' and sample input values:
    | Input | Outcome |
    | 11 | Fail |
  • ✓ When I navigate to the approve samples page for the job
  • ✓ And I set sample '1' disposition to 'Rejected'
  • ✓ And I select all '1' prepared samples and open the completion confirmation
  • ✓ Then the disposition change reason message is 'One or more sample dispositions have changed. Provide a reason for changing these dispositions.'
  • ✓ And the confirmation requests only a reason
  • ✓ When I confirm sample completion with reason 'Failed specification review'
  • ✓ Then the prepared samples are completed with dispositions:
    | Sample | Disposition |
    | 1 | Rejected |
  • ✓ When I revert the first prepared sample through the lifecycle API with reason 'Retesting rejected sample'
  • ✓ And I refresh the page
  • ✓ Then sample '1' has disposition 'Rejected' selected
  • ✓ When I set sample '1' disposition to 'Approved'
  • ✓ And I select all '1' prepared samples and open the completion confirmation
  • ✓ Then the disposition change reason message is 'One or more sample dispositions have changed. Provide a reason for changing these dispositions.'
  • ✓ And the confirmation requests only a reason
  • ✓ When I confirm sample completion with reason 'Disposition changed after review'
  • ✓ Then the prepared samples are completed with dispositions:
    | Sample | Disposition |
    | 1 | Approved |

@ChangesSettings
Scenario: Approved-only completion requests an e-signature but not a reason 41s 690ms
  • ✓ Given I am logged in as user 'approvedsignatureuser'
  • ✓ And I have enabled the require reason for change setting
  • ✓ And I have enabled the require E-signatures setting
  • ✓ And I have a verified job with batch 'ApprovedSignature' and sample input values:
    | Input | Outcome |
    | 5 | Pass |
  • ✓ When I navigate to the approve samples page for the job
  • ✓ And I select all '1' prepared samples and open the completion confirmation
  • ✓ Then the confirmation requests only an e-signature
  • ✓ When I confirm sample completion with my e-signature
  • ✓ Then the prepared samples are completed with dispositions:
    | Sample | Disposition |
    | 1 | Approved |

@ChangesSettings
Scenario: A rejected sample uses the e-signature-only completion flow 40s 741ms
  • ✓ Given I am logged in as user 'rejectedsignatureuser'
  • ✓ And I have enabled the require E-signatures setting
  • ✓ And I have a verified job with batch 'RejectedSignature' and sample input values:
    | Input | Outcome |
    | 11 | Fail |
  • ✓ When I navigate to the approve samples page for the job
  • ✓ And I set sample '1' disposition to 'Rejected'
  • ✓ And I select all '1' prepared samples and open the completion confirmation
  • ✓ Then the sample completion confirmation title is 'Approve Samples'
  • ✓ And the confirmation requests only an e-signature
  • ✓ When I confirm sample completion with my e-signature
  • ✓ Then the prepared samples are completed with dispositions:
    | Sample | Disposition |
    | 1 | Rejected |

Scenario: The API defaults an omitted disposition to Approved 15s 446ms
  • ✓ Given I am logged in as user 'apidefaultdispositionuser'
  • ✓ And I have a verified job with batch 'ApiDefaultDisposition' and sample input values:
    | Input | Outcome |
    | 11 | Fail |
  • ✓ When I complete the prepared sample through the API without specifying a disposition
  • ✓ Then the prepared samples are completed with dispositions:
    | Sample | Disposition |
    | 1 | Approved |

Scenario: Disposition is displayed across sample views and filters rejected samples 1min 18s
  • ✓ Given I am logged in as user 'displaydispositionuser'
  • ✓ And I have a verified job with batch 'DisplayDisposition' and sample input values:
    | Input | Outcome |
    | 5 | Pass |
    | 11 | Fail |
  • ✓ When I navigate to the approve samples page for the job
  • ✓ And I set sample '2' disposition to 'Rejected'
  • ✓ And I tick to approve all '2'
  • ✓ And I refresh the page
  • ✓ And I click on the 'sample' menu item
  • ✓ And the sample viewer shows sample '1' disposition 'Approved'
  • ✓ And the sample viewer shows sample '2' disposition 'Rejected'
  • ✓ And I search the 'sample' viewer for ' cOmPlEt '
  • ✓ And sample '1' has 'status' search highlight 'Complet'
  • ✓ And sample '2' has 'status' search highlight 'Complet'
  • ✓ And I search the 'sample' viewer for ' aPpRoV '
  • ✓ And sample '1' has 'disposition' search highlight 'Approv'
  • ✓ And the sample viewer does not show sample '2'
  • ✓ And I search the 'sample' viewer for ' rEjEc '
  • ✓ And sample '2' has 'disposition' search highlight 'Rejec'
  • ✓ And the sample viewer does not show sample '1'
  • ✓ And I open the filters panel on the 'sample' viewer
  • ✓ And the sample disposition filter defaults to All and provides every disposition
  • ✓ And I select 'Approved' in the sample disposition filter
  • ✓ And I can see the message of 'No samples found. Please refine your search'
  • ✓ And I select 'Rejected' in the sample disposition filter
  • ✓ And sample '2' has 'disposition' search highlight 'Rejec'
  • ✓ And I clear the sample viewer search with disposition 'Rejected' selected
  • ✓ And the sample viewer shows sample '2' disposition 'Rejected'
  • ✓ And the sample viewer does not show sample '1'
  • ✓ And I open sample '2' in the sample inspector
  • ✓ And the sample inspector shows disposition 'Rejected'
  • ✓ And I open the created job directly on the job viewer
  • ✓ And the job sample summary shows sample '2' disposition 'Rejected'
  • ✓ And I view sample '2' on the job
  • ✓ And the sample details show disposition 'Rejected'
  • ✓ And I click on the Manage Certificates button
  • ✓ Then manage certificates shows sample '2' disposition 'Rejected'

Scenario: A reverted sample displays its retained disposition beside its incomplete status 39s 031ms
  • ✓ Given I am logged in as user 'reverteddisplaydispositionuser'
  • ✓ And I have a verified job with batch 'RevertedDisplayDisposition' and sample input values:
    | Input | Outcome |
    | 11 | Fail |
  • ✓ When I navigate to the approve samples page for the job
  • ✓ And I set sample '1' disposition to 'Rejected'
  • ✓ And I tick then approve the results
  • ✓ And I revert the first prepared sample through the lifecycle API
  • ✓ And I open the created job directly on the job viewer
  • ✓ And I view the first sample on the job
  • ✓ Then the sample detail lifecycle status is 'Results Verified'
  • ✓ And the sample details show disposition 'Rejected'

@ChangesSubscriptionTier
Scenario: Sample disposition follows the Growth subscription entitlement 1 24s 740ms
  • ✓ Given The organisation subscription tier is set to '<Tier>'
  • ✓ And I am logged in as user 'dispositiontieruser<Tier>'
  • ✓ When I progress a job up to approval with batchNo 'DispositionTier<Tier>' and input value '5' and spec 'Default specification'
  • ✓ And I navigate to the approve samples page for the job
  • ✓ Then sample disposition selection is '<Visibility>'
  • ✓ When I tick then approve the results
  • ✓ Then the prepared samples are completed with dispositions:
    | Sample | Disposition |
    | 1 | Approved |
Examples:
| Tier | Visibility |
| Growth | visible |

@ChangesSubscriptionTier
Scenario: Sample disposition follows the Growth subscription entitlement 2 27s 973ms
  • ✓ Given The organisation subscription tier is set to '<Tier>'
  • ✓ And I am logged in as user 'dispositiontieruser<Tier>'
  • ✓ When I progress a job up to approval with batchNo 'DispositionTier<Tier>' and input value '5' and spec 'Default specification'
  • ✓ And I navigate to the approve samples page for the job
  • ✓ Then sample disposition selection is '<Visibility>'
  • ✓ When I tick then approve the results
  • ✓ Then the prepared samples are completed with dispositions:
    | Sample | Disposition |
    | 1 | Approved |
Examples:
| Tier | Visibility |
| Essentials | hidden |

Scenario: I can produce sample labels for all my selected samples on receive 40s 503ms
  • ✓ 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 51s 501ms
  • ✓ 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

@ClearCustomFields
Scenario: Sample export retains separate samples and custom fields using the chosen combining mode 1 44s 109ms
  • ✓ Given I am logged in as user 'SampleExportUser'
  • ✓ And the sample export custom fields are configured as:
    | Position | Title |
    | 2 | <Title> |
    | 5 | <Title> |
  • ✓ And I have configured these sample export methods:
    | Method | Output | Units | Certificate |
    | A | Value | mg | true |
    | B | Value | mg | true |
  • ✓ And I have a submitted export job containing these samples:
    | Sample Batch | Sample Reference | Field2 | Field5 | Result |
    | First sample | 00123 | first | first | 5 |
    | Other sample | | second | second | 8 |
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And I choose the 'samples' export format
  • ✓ And I select the created job for export
  • ✓ And I turn output combining '<Combining>' for export
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the sample CSV has ordered headings '<Headings>'
  • ✓ And the sample CSV retains these samples from the same job:
    | Sample Batch | Sample Reference | Field2 | Field5 | Outputs |
    | First sample | 00123 | first | first | <FirstOutputs> |
    | Other sample | | second | second | <OtherOutputs> |
Examples:
| Combining | Title | Headings | FirstOutputs | OtherOutputs |
| on | Value (mg) | Value (mg);Value (mg);Value (mg) [2] | 5.0 | 8.0 |

@ClearCustomFields
Scenario: Sample export retains separate samples and custom fields using the chosen combining mode 2 51s 076ms
  • ✓ Given I am logged in as user 'SampleExportUser'
  • ✓ And the sample export custom fields are configured as:
    | Position | Title |
    | 2 | <Title> |
    | 5 | <Title> |
  • ✓ And I have configured these sample export methods:
    | Method | Output | Units | Certificate |
    | A | Value | mg | true |
    | B | Value | mg | true |
  • ✓ And I have a submitted export job containing these samples:
    | Sample Batch | Sample Reference | Field2 | Field5 | Result |
    | First sample | 00123 | first | first | 5 |
    | Other sample | | second | second | 8 |
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And I choose the 'samples' export format
  • ✓ And I select the created job for export
  • ✓ And I turn output combining '<Combining>' for export
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the sample CSV has ordered headings '<Headings>'
  • ✓ And the sample CSV retains these samples from the same job:
    | Sample Batch | Sample Reference | Field2 | Field5 | Outputs |
    | First sample | 00123 | first | first | <FirstOutputs> |
    | Other sample | | second | second | <OtherOutputs> |
Examples:
| Combining | Title | Headings | FirstOutputs | OtherOutputs |
| off | A v1: Value (mg) | A v1: Value (mg);A v1: Value (mg);A v1: Value (mg) [2];B v1: Value (mg) | 5.0;5.0 | 8.0;8.0 |

Scenario: Conflicting nonblank values remain in separate method columns 36s 796ms
  • ✓ Given I am logged in as user 'SampleConflictUser'
  • ✓ And I have a submitted sample export job with these methods:
    | Method | Output | Units | Value | Certificate |
    | A | Value | mg | 5 | true |
    | B | Value | mg | 8 | true |
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And I choose the 'samples' export format
  • ✓ And I choose the submitted date filter
  • ✓ And I turn output combining 'on' for export
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the sample CSV has ordered headings 'A v1: Value (mg);B v1: Value (mg)'
  • ✓ And the sample CSV contains exactly these result cells:
    | Repeat | A | B |
    | 1 | 5.0 | 8.0 |

Scenario: Deleted historical methods and certificate-hidden outputs remain exportable 34s 546ms
  • ✓ Given I am logged in as user 'SampleHistoricalUser'
  • ✓ And I have a submitted sample export job with these methods:
    | Method | Output | Units | Value | Certificate |
    | A | Hidden | | 5 | false |
  • ✓ And I have deleted the sample export method 'A'
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And I choose the 'samples' export format
  • ✓ And I choose the submitted date filter
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the sample CSV has ordered headings 'A v1: Hidden'
  • ✓ And the sample CSV contains exactly these result cells:
    | Repeat | A |
    | 1 | 5.0 |

Scenario: Historical and recreated methods with identical displayed versions retain distinct headings 37s 314ms
  • ✓ Given I am logged in as user 'SampleRecreatedMethodUser'
  • ✓ And I have a submitted sample export job with these methods:
    | Method | Output | Units | Value | Certificate |
    | A | Value | mg | 5 | true |
  • ✓ And I have deleted the sample export method 'A'
  • ✓ And I have recreated sample export method 'A' with result '8' on the same sample
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And I choose the 'samples' export format
  • ✓ And I choose the submitted date filter
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the sample CSV retains both identities of recreated method 'A'

Scenario: I can add correctly available test methods when editing an existing sample 34s 093ms
  • ✓ 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 open the created job directly 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 35s 673ms
  • ✓ Given I am logged in as user 'UpdateDueDateUser'
  • ✓ And I have progressed a job up to enter results with batchNo 'SampleDueDateTest'
  • ✓ When I open the created job directly 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 59s 003ms
  • ✓ 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 47s 454ms
  • ✓ 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 open the created job directly 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 43s 019ms
  • ✓ 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 open the created job directly 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'

@ChangesSettings
Scenario: I cannot edit an approved job or samples when the setting is enabled 37s 955ms
  • ✓ Given I am logged in as user 'PreventEditApprovedUser'
  • ✓ And I have enabled the prevent editing approved jobs and samples setting
  • ✓ And I have progressed a job through the lifecycle process with batchNo 'PreventEditApproved' and input value '1'
  • ✓ When I open the created job directly on the job viewer
  • ✓ Then the job edit button is disabled with message 'Cannot edit an approved job'
  • ✓ When I view the first sample on the job
  • ✓ Then the sample edit button is disabled with message 'Cannot edit an approved sample'

Scenario: I can add a location list item and set it on a sample 1min 21s
  • ✓ Given I am logged in as user 'SampleLocationHappyPathUser'
  • ✓ When I click on the 'Setup' menu item
  • ✓ And I click on the 'Lists' menu item
  • ✓ And I select list 'Locations' from the drop down
  • ✓ And I click the new entry button
  • ✓ And I add a first list entry with a name of 'over here' and description of 'Sample location for e2e test'
  • ✓ And I click the create button
  • ✓ And the list update button becomes disabled
  • ✓ 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 'LOC-001' 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
  • ✓ And I click on the sample edit button
  • ✓ And I select sample location 'over here'
  • ✓ And I click save
  • ✓ And I can see sample location 'over here' on the sample details
  • ✓ And I click on the 'sample' menu item
  • ✓ And I open the filters panel on the 'sample' viewer
  • ✓ And I search the 'sample' viewer for ' Er hE '
  • ✓ Then sample '1' has 'location' search highlight 'er he'

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Usage Tracking allows recording from either viewer without Enter Results or Adjust Stock 1 56s 024ms
  • ✓ Given I am logged in as user 'StockViewerPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And a stock usage permission test is ready
  • ✓ And the stock permission user has only 'stock usage tracking' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the stock permission test at '<Entry>'
  • ✓ And I open the stock permission test usage dialog
  • ✓ And I choose stock batch 'PERM' for stock item 'PermissionStock'
  • ✓ And I enter a quantity of '5'
  • ✓ And I click the add button
  • ✓ And I click ok
  • ✓ And I can see the message of 'Batches saved successfully.'
  • ✓ Then recorded stock usage persists when reopened
Examples:
| Entry |
| test viewer |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Usage Tracking allows recording from either viewer without Enter Results or Adjust Stock 2 54s 422ms
  • ✓ Given I am logged in as user 'StockViewerPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And a stock usage permission test is ready
  • ✓ And the stock permission user has only 'stock usage tracking' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the stock permission test at '<Entry>'
  • ✓ And I open the stock permission test usage dialog
  • ✓ And I choose stock batch 'PERM' for stock item 'PermissionStock'
  • ✓ And I enter a quantity of '5'
  • ✓ And I click the add button
  • ✓ And I click ok
  • ✓ And I can see the message of 'Batches saved successfully.'
  • ✓ Then recorded stock usage persists when reopened
Examples:
| Entry |
| sample viewer |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Other permissions do not allow recording stock used by a test 1 37s 286ms
  • ✓ Given I am logged in as user 'StockViewerPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And a stock usage permission test is ready
  • ✓ And the stock permission user has only '<Permissions>' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the stock permission test at '<Entry>'
  • ✓ Then the stock permission test has no usage action
Examples:
| Permissions | Entry |
| | test viewer |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Other permissions do not allow recording stock used by a test 2 46s 806ms
  • ✓ Given I am logged in as user 'StockViewerPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And a stock usage permission test is ready
  • ✓ And the stock permission user has only '<Permissions>' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the stock permission test at '<Entry>'
  • ✓ Then the stock permission test has no usage action
Examples:
| Permissions | Entry |
| stock inventory | test viewer |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Other permissions do not allow recording stock used by a test 3 40s 829ms
  • ✓ Given I am logged in as user 'StockViewerPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And a stock usage permission test is ready
  • ✓ And the stock permission user has only '<Permissions>' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the stock permission test at '<Entry>'
  • ✓ Then the stock permission test has no usage action
Examples:
| Permissions | Entry |
| stock adjust | test viewer |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Other permissions do not allow recording stock used by a test 4 46s 011ms
  • ✓ Given I am logged in as user 'StockViewerPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And a stock usage permission test is ready
  • ✓ And the stock permission user has only '<Permissions>' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the stock permission test at '<Entry>'
  • ✓ Then the stock permission test has no usage action
Examples:
| Permissions | Entry |
| | sample viewer |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Other permissions do not allow recording stock used by a test 5 49s 172ms
  • ✓ Given I am logged in as user 'StockViewerPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And a stock usage permission test is ready
  • ✓ And the stock permission user has only '<Permissions>' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the stock permission test at '<Entry>'
  • ✓ Then the stock permission test has no usage action
Examples:
| Permissions | Entry |
| stock inventory | sample viewer |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Other permissions do not allow recording stock used by a test 6 42s 397ms
  • ✓ Given I am logged in as user 'StockViewerPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And a stock usage permission test is ready
  • ✓ And the stock permission user has only '<Permissions>' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the stock permission test at '<Entry>'
  • ✓ Then the stock permission test has no usage action
Examples:
| Permissions | Entry |
| stock adjust | sample viewer |

@SetupData @ChangesSettings @RFCDisable
Scenario: I am prompted to give a reason for change in order to change a submitted test input 43s 923ms
  • ✓ Given I am logged in as user 'GiveReasonTestInputUser'
  • ✓ When I click on the admin icon
  • ✓ 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 can see the 'first' input contains '2'
  • ✓ And I click into the first input and enter '9'
  • ✓ And I press enter on the keyboard
  • ✓ And I confirm the result change with the reason 'Change control Test'
  • ✓ And I refresh the page
  • ✓ And I can see results for the created job
  • ✓ Then I can see the 'first' input contains '9'

@SetupData @ChangesSettings
Scenario: I am prompted to enter my password for submitting a result if require e-sig is enabled 47s 978ms
  • ✓ Given I am logged in as user 'EsigTestInputUser'
  • ✓ When I click on the admin icon
  • ✓ 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 open the results submission controls
  • ✓ And I click on the submit button
  • ✓ Then I can see a password prompt appear
  • ✓ And I can see 'Test submitted successfully' when I enter my password and click ok

@SetupData @ChangesSettings
Scenario: Settings default to weekday working days and independent verification off 30s 442ms
  • ✓ Given I am logged in as user 'DefaultSettingsUser'
  • ✓ When I click on the admin icon
  • ✓ Then the require independent verification setting is disabled by default
  • ✓ And the working days setting defaults to weekdays

@SetupData @ChangesSettings
Scenario: Certificate DOCX output is disabled by default and can be enabled 28s 077ms
  • ✓ Given I am logged in as user 'CertificateOutputSettingsUser'
  • ✓ When I click on the admin icon
  • ✓ Then the DOCX certificate output setting is disabled by default
  • ✓ When I enable DOCX certificate output in settings
  • ✓ And I click save
  • ✓ Then I can see the message of 'Settings updated successfully'
  • ✓ And the DOCX certificate output setting is enabled

@SetupData @ChangesSettings
Scenario: The test verification process is skipped if I have the setting enabled 1min 26s
  • ✓ Given I am logged in as user 'SkipVerificationUser'
  • ✓ When I click on the 'System settings' menu item
  • ✓ 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

@SetupData @ChangesSettings
Scenario: I cannot verify a sample if I entered the results with the independent verify setting on 1min 18s
  • ✓ Given I am logged in as user 'IndependentVerificationUser'
  • ✓ When I click on the admin icon
  • ✓ 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

@McpOrganisationSettings @LatestOnly
Scenario: An administrator controls MCP access for their own organisation 1min 45s
  • ✓ Given two disposable pilot organisations with MCP rollout enabled
  • ✓ When I open the AI settings in both pilot organisations
  • ✓ And Enable MCP defaults to on in both pilot organisations
  • ✓ And both pilot organisations can use their own MCP connection
  • ✓ And I save Enable MCP off and reload the AI settings
  • ✓ And a user without settings management cannot turn MCP back on directly
  • ✓ And fresh and existing MCP requests for the disabled organisation are denied
  • ✓ And the other pilot organisation can still use its MCP connection
  • ✓ And I save Enable MCP on and reload the AI settings
  • ✓ And an eligible user can use MCP again with their existing permissions
  • ✓ Then moving only that organisation to Quarterly turns off its rollout and blocks MCP

@McpOrganisationSettings @LatestOnly
Scenario: An administrator controls which MCP tools a connected assistant can use 1min 30s
  • ✓ Given a new pilot organisation that requires a reason for settings changes
  • ✓ When I open its Admin Settings
  • ✓ And I open AI settings
  • ✓ And Tools assistants can use shows 'All tools' with the tool table hidden
  • ✓ And I choose 'Custom' for the tools assistants can use
  • ✓ And all MCP tools are on and grouped by area
  • ✓ And I connect an assistant that can import and update clients
  • ✓ And I turn off Import clients and Update clients
  • ✓ And I save the tool choices with a reason and reload the AI settings
  • ✓ And only Import clients and Update clients are off
  • ✓ And the connected assistant sees neither Import clients nor Update clients
  • ✓ And the connected assistant is refused when it tries to import two clients
  • ✓ And the connected assistant can find and create clients
  • ✓ And I choose 'Read only' for the tools assistants can use
  • ✓ And I save the tool choices with a reason and reload the AI settings
  • ✓ And Tools assistants can use shows 'Read only' with the tool table hidden
  • ✓ And the connected assistant can find clients but is refused when it tries to create a client
  • ✓ And I choose 'Custom' for the tools assistants can use
  • ✓ And only Import clients and Update clients are off
  • ✓ And I save the tool choices with a reason and reload the AI settings
  • ✓ And I save Enable MCP off with a reason and reload the AI settings
  • ✓ And the whole MCP tools section is hidden
  • ✓ And I save Enable MCP on with a reason and reload the AI settings
  • ✓ And only Import clients and Update clients are off
  • ✓ And the connected assistant is refused when it tries to import two clients
  • ✓ And I select and then clear the Create & edit column
  • ✓ Then every tool in the Create & edit column is off

@McpSubscription @ChangesSubscriptionTier @LatestOnly
Scenario: I cannot use MCP below the Advanced tier 1 22s 059ms
  • ✓ Given The organisation subscription tier is set to '<tier>'
  • ✓ And the MCP rollout and organisation setting are on for the '<tier>' tier
  • ✓ And I am logged in as the pilot organisation administrator
  • ✓ When I click on the admin icon
  • ✓ And I cannot see the AI menu or Enable MCP
  • ✓ And I open the AI settings page directly
  • ✓ And I cannot see the AI menu or Enable MCP
  • ✓ And I authorize an MCP client for the pilot organisation
  • ✓ Then MCP initialization is denied
  • ✓ And the MCP connection cannot list tools
  • ✓ And the MCP connection cannot read the client
Examples:
| tier |
| Essentials |

@McpSubscription @ChangesSubscriptionTier @LatestOnly
Scenario: I cannot use MCP below the Advanced tier 2 20s 853ms
  • ✓ Given The organisation subscription tier is set to '<tier>'
  • ✓ And the MCP rollout and organisation setting are on for the '<tier>' tier
  • ✓ And I am logged in as the pilot organisation administrator
  • ✓ When I click on the admin icon
  • ✓ And I cannot see the AI menu or Enable MCP
  • ✓ And I open the AI settings page directly
  • ✓ And I cannot see the AI menu or Enable MCP
  • ✓ And I authorize an MCP client for the pilot organisation
  • ✓ Then MCP initialization is denied
  • ✓ And the MCP connection cannot list tools
  • ✓ And the MCP connection cannot read the client
Examples:
| tier |
| Growth |

@McpSubscription @ChangesSubscriptionTier @LatestOnly
Scenario: Returning to System Settings reflects a tier change in the same session 24s 865ms
  • ✓ Given The organisation subscription tier is set to 'Advanced'
  • ✓ And the MCP rollout and organisation setting are on for the 'Advanced' tier
  • ✓ And I am logged in as the pilot organisation administrator
  • ✓ When I click on the admin icon
  • ✓ And I open AI settings
  • ✓ And I can see Enable MCP is on
  • ✓ And I authorize an MCP client for the pilot organisation
  • ✓ And I initialize the MCP connection
  • ✓ And the MCP connection lists the permitted tools
  • ✓ And the MCP connection can read the client
  • ✓ And I click on the 'Dashboard' menu item
  • ✓ And I am logged into LabHQ
  • ✓ And The organisation subscription tier is set to 'Growth'
  • ✓ And the MCP rollout and organisation setting are on for the 'Growth' tier
  • ✓ And I click on the admin icon
  • ✓ And System Settings opens in the same browser document
  • ✓ And the MCP connection cannot read the client
  • ✓ And the MCP connection cannot list tools
  • ✓ And I cannot see the AI menu or Enable MCP
  • ✓ And I click on the 'Dashboard' menu item
  • ✓ And I am logged into LabHQ
  • ✓ And The organisation subscription tier is set to 'Advanced'
  • ✓ And the MCP rollout and organisation setting are on for the 'Advanced' tier
  • ✓ And I click on the admin icon
  • ✓ And System Settings opens in the same browser document
  • ✓ And I open AI settings
  • ✓ Then I can see Enable MCP is on

@McpCopyUrl @NativeClipboard @ChangesSubscriptionTier @LatestOnly
Scenario: An administrator can copy the read-only deployment URL from AI settings 29s 810ms
  • ✓ Given an Advanced organisation with its MCP setting and rollout on
  • ✓ When the administrator signs in to the disposable clipboard organisation
  • ✓ Then the administrator can copy and paste the same read-only URL from AI settings with the keyboard or mouse

@McpCopyUrl @NativeClipboard @ChangesSubscriptionTier @LatestOnly
Scenario: AI settings leaves the URL selected when the clipboard rejects a write 13s 650ms
  • ✓ Given an Advanced organisation with its MCP setting and rollout on
  • ✓ When the administrator signs in to the disposable clipboard organisation
  • ✓ Then clipboard failure leaves the URL selected for manual copy in AI settings

@McpCopyUrl @ChangesSubscriptionTier @ChangesMcpCopySetting @LatestOnly
Scenario: The saved setting and subscription control both copy entry points 55s 142ms
  • ✓ Given an Advanced organisation with its MCP setting and rollout on
  • ✓ When the administrator saves Enable MCP off and both copy actions disappear
  • ✓ And the administrator saves Enable MCP on again and both copy actions return while Profile stays open
  • ✓ And the Essentials subscription hides both copy actions
  • ✓ Then the Growth subscription also hides both copy actions

Scenario: Deleting a test method does not affect the set spec or lifecycle data without sync 1min 33s
  • ✓ 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 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 1min 25s
  • ✓ 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 refresh the product specifications
  • ✓ 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 request a specification refresh
  • ✓ Then I see a dialog containing the test method 'RemoveOutputSpecTestMethod' and output 'removeOutput'

@SetupData
Scenario: I can see my spec values are kept after refreshing product specifications 52s 795ms
  • ✓ 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 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 (inclusive). Warning Limit: Between 2 and 4 (inclusive)' in the output spec summary

Scenario: I can add a specification for a string output type 43s 519ms
  • ✓ 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 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 49s 402ms
  • ✓ 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 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 46s 118ms
  • ✓ 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 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 1min 6s
  • ✓ 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 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 56s 838ms
  • ✓ 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 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 1min 24s
  • ✓ 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 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 1min 8s
  • ✓ 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 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 58s 476ms
  • ✓ Given I am logged in as user 'ManageEnterResultsSpecUser'
  • ✓ And I create the following setup data:
    | Key | Value |
    | Username | ManageEnterResultsSpecUser |
    | 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 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 publish product 'EnterResultsSpecProduct' for Enter Results
  • ✓ 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 open the results submission controls
  • ✓ 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 1min 8s
  • ✓ 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 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 refresh the product specifications
  • ✓ And I click the output to expand the spec
  • ✓ Then I see the operator drop down contains 'Between'

Scenario: I can add a specification to a product 28s 760ms
  • ✓ 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 the product has a draft with no specifications
  • ✓ 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 40s 103ms
  • ✓ 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 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 (inclusive)' in the output spec summary

Scenario: I can see a pass specification results on the approve samples page 1 44s 138ms
  • ✓ Given I am logged in as user '<username>'
  • ✓ And I create the following setup data:
    | Key | Value |
    | Username | <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 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 45s 436ms
  • ✓ Given I am logged in as user '<username>'
  • ✓ And I create the following setup data:
    | Key | Value |
    | Username | <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 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 49s 218ms
  • ✓ Given I am logged in as user '<username>'
  • ✓ And I create the following setup data:
    | Key | Value |
    | Username | <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 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 47s 333ms
  • ✓ Given I am logged in as user '<username>'
  • ✓ And I create the following setup data:
    | Key | Value |
    | Username | <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 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 55s 374ms
  • ✓ 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 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 publish product 'Fail2DSpecProduct' for Enter Results
  • ✓ 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 review the result limit details 'Specification: Within (0.355,0.355), (0.305,0.305), (0.285,0.325), (0.335,0.375)'

Scenario: I can add a 2D coordinate specification on a product and see this pass at approve samples 47s 254ms
  • ✓ 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 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 48s 062ms
  • ✓ 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 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 53s 542ms
  • ✓ 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 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 52s 025ms
  • ✓ 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 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 publish product 'EnterResultsSpecProduct' for Enter Results
  • ✓ 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 review the result limit details 'Specification: Between 1 and 5'

Scenario: I can see a fail specification results on the approve samples page 47s 484ms
  • ✓ 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 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 59s 494ms
  • ✓ 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 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 1min 15s
  • ✓ 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 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: Stock IDs are generated sequentially and remain unique for the same item and batch 47s 381ms
  • ✓ Given I am logged in as user 'StockIdGenerationUser'
  • ✓ And I have created the following stock item:
    | Key | Value |
    | Item Name | StockIdGenerateItem |
    | Item Code | SIG123 |
    | 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 | StockIdGenerateItem |
    | Batch | SAME-BATCH |
    | Quantity | 10 |
    | Expiry | Tomorrow |
    | Status | Approved |
  • ✓ And I click the receive stock button
  • ✓ Then recently received stock batch 'SAME-BATCH' has a valid Stock ID stored as 'first'
  • ✓ When I click the receive stock button
  • ✓ And I populate the receive stock form with the following:
    | Key | Value |
    | Item Name | StockIdGenerateItem |
    | Batch | SAME-BATCH |
    | Quantity | 10 |
    | Expiry | Tomorrow |
    | Status | Approved |
  • ✓ And I click the receive stock button
  • ✓ Then recently received stock batch 'SAME-BATCH' has a valid Stock ID stored as 'second'
  • ✓ And stored Stock IDs 'first' and 'second' are unique and sequential
  • ✓ And the 'STOCK_BATCH_RECEIVED' stock audit entry includes stored Stock ID 'second'

Scenario: A Stock ID is displayed in stock views and remains immutable 34s 614ms
  • ✓ Given I am logged in as user 'StockIdInventoryUser'
  • ✓ And I have created the following stock item:
    | Key | Value |
    | Item Name | StockIdInventoryItem |
    | Item Code | SII123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • ✓ And I have received the following stock batch:
    | Key | Value |
    | Item Name | StockIdInventoryItem |
    | Batch | INVENTORY-BATCH |
    | Quantity | 64 |
    | Status | Approved |
    | Expiry | Yesterday |
  • ✓ When I click on the 'Stock' menu item
  • ✓ And I click on the 'Inventory' menu item
  • ✓ And I click on stock item 'StockIdInventoryItem'
  • ✓ Then I can see the following information on the batch pop up:
    | Key | Value |
    | Stock ID | inventory |
    | Received | less than a minute ago |
    | Batch | INVENTORY-BATCH |
    | Available | 64 |
    | Units | g |
    | Expiry | yesterday |
  • ✓ When I open batch 'INVENTORY-BATCH' for editing
  • ✓ Then stored Stock ID 'inventory' is displayed and cannot be edited
  • ✓ When I enter 'INVENTORY-EDITED' in the batch input
  • ✓ And I click the update batch button
  • ✓ And I can see the message of 'Stock updated successfully'
  • ✓ And I return to the available batches for 'StockIdInventoryItem'
  • ✓ Then I can see the following information on the batch pop up:
    | Key | Value |
    | Stock ID | inventory |
    | Received | less than a minute ago |
    | Batch | INVENTORY-EDITED |
    | Available | 64 |
    | Units | g |
    | Expiry | yesterday |
  • ✓ When I close the available stock batches
  • ✓ And I click on the 'Receive stock' menu item
  • ✓ Then I can see the following in the list of recently received:
    | Key | Value |
    | Stock ID | inventory |
    | Batch | INVENTORY-EDITED |
    | Stock Item | StockIdInventoryItem |
    | Item Code | SII123 |
    | Quantity | 64 |
    | Units | g |
    | Status | Approved |
    | Received | less than a minute ago |

Scenario: A Stock ID is traceable through adjustment and usage history 40s 409ms
  • ✓ Given I am logged in as user 'StockIdAdjustmentUser'
  • ✓ And I have created the following stock item:
    | Key | Value |
    | Item Name | StockIdAdjustmentItem |
    | Item Code | SIA123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • ✓ And I have received the following stock batch:
    | Key | Value |
    | Item Name | StockIdAdjustmentItem |
    | Batch | ADJUSTMENT-BATCH |
    | Quantity | 64 |
    | Status | Approved |
    | Expiry | Tomorrow |
  • ✓ When 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 |
    | Stock ID | adjustment |
    | Batch | ADJUSTMENT-BATCH |
    | Stock Item | StockIdAdjustmentItem |
    | Item Code | SIA123 |
    | Quantity | 64 |
    | Units | g |
    | Status | Approved |
    | Received | less than a minute ago |
  • ✓ 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:
    | Key | Value |
    | Stock ID | adjustment |
    | Stock Item | StockIdAdjustmentItem |
    | Stock Batch | ADJUSTMENT-BATCH |
    | 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'
  • ✓ Then I can see the following recently adjusted stock in the table:
    | Key | Value |
    | Stock ID | adjustment |
    | Type | Disposal |
    | Reason | Expired |
    | Stock Item | StockIdAdjustmentItem |
    | Item Code | SIA123 |
    | Batch | ADJUSTMENT-BATCH |
    | Quantity | - 5 |
    | Units | g |
    | Date | less than a minute ago |
    | User | stockidadjustmentuser |
  • ✓ And the 'STOCK_BATCH_ADJUSTED' stock audit entry includes stored Stock ID 'adjustment'
  • ✓ When I click on the 'Usage tracking' menu item
  • ✓ Then I can see the following usage tracking showing here:
    | Key | Value |
    | Stock ID | adjustment |
    | Type | Disposal |
    | Purpose | Expired |
    | Stock Item | StockIdAdjustmentItem |
    | Stock Item Code | SIA123 |
    | Batch | ADJUSTMENT-BATCH |
    | Quantity | - 5 |
    | Units | g |
    | Date | less than a minute ago |
  • ✓ And I search usage tracking for stored Stock ID 'adjustment' and stock item 'StockIdAdjustmentItem'

Scenario: A Stock ID is displayed when expired stock is disposed 23s 365ms
  • ✓ Given I am logged in as user 'StockIdExpiredUser'
  • ✓ And I have created the following stock item:
    | Key | Value |
    | Item Name | StockIdExpiredItem |
    | Item Code | SIE123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • ✓ And I have received the following stock batch:
    | Key | Value |
    | Item Name | StockIdExpiredItem |
    | Batch | EXPIRED-BATCH |
    | Quantity | 59 |
    | 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 |
    | Stock ID | expired |
    | Item Name | StockIdExpiredItem |
    | Item Code | SIE123 |
    | Batch | EXPIRED-BATCH |
    | Quantity | 59 |
    | Units | g |
  • ✓ When I click to dispose stock batch 'EXPIRED-BATCH'
  • ✓ Then stored Stock ID 'expired' is shown with batch 'EXPIRED-BATCH' for disposal
  • ✓ When I click ok
  • ✓ Then I can see the message of 'Stock batch disposed successfully'

Scenario: I can create a new stock item 51s 950ms
  • ✓ Given I am logged in as user 'createstockuser'
  • ✓ And the stock permission user has only 'stock items manage' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And 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 50s 926ms
  • ✓ Given I am logged in as user 'editstockuser'
  • ✓ And the stock permission user has only 'stock items manage' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And 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 42s 408ms
  • ✓ Given I am logged in as user 'deletestockuser'
  • ✓ And the stock permission user has only 'stock items manage' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ And 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: A storage location can be selected when stock is received and updated later 1min 23s
  • ✓ Given I am logged in as user 'StockLocationUpdateUser'
  • ✓ And I have created the following stock item:
    | Key | Value |
    | Item Name | LocatedStockItem |
    | Item Code | LSI123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • ✓ When I click on the 'Setup' menu item
  • ✓ And I click on the 'Lists' menu item
  • ✓ And I select list 'Locations' from the drop down
  • ✓ And I click the new entry button
  • ✓ And I add a first list entry with a name of 'Room A / Shelf 1' and description of 'Initial stock location'
  • ✓ And I click the new entry button
  • ✓ And I add a second list entry with a name of 'Room B / Bin 2' and description of 'Updated stock location'
  • ✓ And I click the create button
  • ✓ And I can see the message of 'List has been updated successfully'
  • ✓ And 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 | LocatedStockItem |
    | Batch | OPTIONAL-LOC |
    | Quantity | 10 |
    | Expiry | Tomorrow |
    | Status | Approved |
  • ✓ And I click the receive stock button
  • ✓ Then recently received stock batch 'OPTIONAL-LOC' is displayed
  • ✓ When I click the receive stock button
  • ✓ And I populate the receive stock form with the following:
    | Key | Value |
    | Item Name | LocatedStockItem |
    | Batch | UPDATED-LOC |
    | Quantity | 10 |
    | Expiry | Tomorrow |
    | Status | Approved |
    | Storage Location | Room A / Shelf 1 |
  • ✓ And I click the receive stock button
  • ✓ Then recently received stock batch 'UPDATED-LOC' is displayed
  • ✓ And recently received stock batch 'UPDATED-LOC' has a valid Stock ID stored as 'UpdatedStock'
  • ✓ When I click on the 'Inventory' menu item
  • ✓ And I click on stock item 'LocatedStockItem'
  • ✓ Then stock batch 'UPDATED-LOC' has storage location 'Room A / Shelf 1' on inventory
  • ✓ When I open batch 'UPDATED-LOC' for editing
  • ✓ And I select storage location 'Room B / Bin 2'
  • ✓ And I click the update batch button
  • ✓ Then I can see the message of 'Stock updated successfully'
  • ✓ And the update audit for stored Stock ID 'UpdatedStock' records storage location changing from 'Room A / Shelf 1' to 'Room B / Bin 2'
  • ✓ When I return to the available batches for 'LocatedStockItem'
  • ✓ Then stock batch 'UPDATED-LOC' has storage location 'Room B / Bin 2' on inventory

Scenario: Storage locations are visible for expired and expiring stock 23s 742ms
  • ✓ Given I am logged in as user 'StockLocationExpiryUser'
  • ✓ And the Locations list contains the following stock locations:
    | Name |
    | Cold Room / Shelf 3 |
    | Store Room / Bin 4 |
  • ✓ And I have created the following stock item:
    | Key | Value |
    | Item Name | LocatedExpiryStockItem |
    | Item Code | LES123 |
    | Category | Reagents |
    | Units | g |
    | Minimum Stock | 5 |
  • ✓ And I have received the following stock batch:
    | Key | Value |
    | Item Name | LocatedExpiryStockItem |
    | Batch | EXPIRED-LOCATION |
    | Quantity | 10 |
    | Status | Approved |
    | Expiry | Yesterday |
    | Storage Location | Cold Room / Shelf 3 |
  • ✓ And I have received the following stock batch:
    | Key | Value |
    | Item Name | LocatedExpiryStockItem |
    | Batch | EXPIRING-LOCATION |
    | Quantity | 10 |
    | Status | Approved |
    | Expiry | Next week |
    | Storage Location | Store Room / Bin 4 |
  • ✓ When I click on the 'Stock' menu item
  • ✓ And I click on the 'expired stock' menu item
  • ✓ Then stock batch 'EXPIRED-LOCATION' has storage location 'Cold Room / Shelf 3' on expired stock
  • ✓ When I click on expiring soon
  • ✓ Then stock batch 'EXPIRING-LOCATION' has storage location 'Store Room / Bin 4' on expired stock

Scenario: I can submit a job 32s 184ms
  • ✓ 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 submit a job and see the details of this on the job viewer 51s 186ms
  • ✓ 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 30s 361ms
  • ✓ 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 only submit jobs for my assigned clients 25s 401ms
  • ✓ 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

@NoClientAccess
Scenario: Essentials tier restricts premium navigation features 2min 9s
  • ✓ Given The organisation subscription tier is set to 'Essentials'
  • ✓ And I log in without client access as 'essentialstieraccess'
  • ✓ Then I cannot access the following subscription features:
    | ParentMenu | MenuItem | DirectPage |
    | Analytics | Trend | Trend |
    | Analytics | oos results | oos |
    | Reporting | Export results | Export results |
    | Equipment | equipment items | |
    | Equipment | maintenance | |
    | Stock | Inventory | |
    | System settings | label settings | label settings |
    | Setup | custom fields | Custom fields |
    | System settings | report settings | Report settings |
    | resources | manage work | Manage work |

@NoClientAccess
Scenario: Growth tier restricts enterprise navigation features 1min 12s
  • ✓ Given The organisation subscription tier is set to 'Growth'
  • ✓ And I log in without client access as 'growthtieraccess'
  • ✓ Then I cannot access the following subscription features:
    | ParentMenu | MenuItem | DirectPage |
    | Equipment | equipment items | |
    | Equipment | maintenance | |
    | Stock | Inventory | |
    | System settings | label settings | label settings |
    | Setup | custom fields | Custom fields |
    | System settings | report settings | Report settings |

@SetupData
Scenario: I cannot access trend report from approve samples if my subscription tier is Essentials 30s 490ms
  • ✓ 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

@SetupData
Scenario: I cannot access investigations if my subscription tier is Essentials 35s 242ms
  • ✓ 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

@SetupData
Scenario: I cannot print a sample label if my subscription tier is Essentials 33s 942ms
  • ✓ 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

@NoClientAccess
Scenario: I cannot create a new client if I am on the essentials tier 16s 894ms
  • ✓ Given The organisation subscription tier is set to 'Essentials'
  • ✓ And I log in without client access as '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

@NoClientAccess
Scenario: I cannot access the below widgets if I am on essentials tier 15s 316ms
  • ✓ Given The organisation subscription tier is set to 'Essentials'
  • ✓ And I log in without client access as '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 |

@NoClientAccess
Scenario: I cannot access the below widgets if I am on growth tier 14s 197ms
  • ✓ Given The organisation subscription tier is set to 'Growth'
  • ✓ And I log in without client access as '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 |

@SetupData
Scenario: I cannot control portal attachment visibility below the Advanced tier 1 40s 057ms
  • ✓ Given I have progressed a job up to enter results with batchNo 'visibilitytier<tier>'
  • ✓ And an internal job attachment named 'Logo.png' exists
  • ✓ And The organisation subscription tier is set to '<tier>'
  • ✓ And I am logged in as user 'attachmentvisibilitytieruser<tier>'
  • ✓ When I view the created job on the job viewer
  • ✓ And I click on attachments
  • ✓ Then I cannot amend the attachment visibility
Examples:
| tier |
| Essentials |

@SetupData
Scenario: I cannot control portal attachment visibility below the Advanced tier 2 34s 790ms
  • ✓ Given I have progressed a job up to enter results with batchNo 'visibilitytier<tier>'
  • ✓ And an internal job attachment named 'Logo.png' exists
  • ✓ And The organisation subscription tier is set to '<tier>'
  • ✓ And I am logged in as user 'attachmentvisibilitytieruser<tier>'
  • ✓ When I view the created job on the job viewer
  • ✓ And I click on attachments
  • ✓ Then I cannot amend the attachment visibility
Examples:
| tier |
| Growth |

@SetupData
Scenario: I can control portal attachment visibility on the Advanced tier 34s 595ms
  • ✓ Given I have progressed a job up to enter results with batchNo 'visibilitytieradvanced'
  • ✓ And an internal job attachment named 'Logo.png' exists
  • ✓ And The organisation subscription tier is set to 'Advanced'
  • ✓ And I am logged in as user 'attachmentvisibilitytieruseradvanced'
  • ✓ When I view the created job on the job viewer
  • ✓ And I click on attachments
  • ✓ Then I can amend the attachment visibility
  • ✓ When I change the attachment visibility to 'Visible on Portal'
  • ✓ Then the attachment visibility is 'Visible on Portal'

@SetupData
Scenario: I cannot add new attachments if I am on Essentials tier 33s 088ms
  • ✓ 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

@SetupData
Scenario: I cannot add product attachments if I am on Essentials tier 19s 983ms
  • ✓ 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 see the test method version change when I sync and publish after a change 37s 567ms
  • ✓ 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 30s 295ms
  • ✓ 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 test method version number is 'Draft' '1.1'

Scenario: When a test method/product version changes this does not change on existing lifecycle jobs 1min 14s
  • ✓ 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 36s 218ms
  • ✓ Given I am logged in as user 'dusplicateoutputnameuser2'
  • ✓ And I have created a test method called 'DuplicateOutputTestMethod'
  • ✓ When I open the Test Methods list from Setup
  • ✓ 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 'AutoOutput-0'
  • ✓ And I enter '$1' in the results calculation field
  • ✓ And I click ok
  • ✓ And I can see an output called 'AutoOutput-0'
  • ✓ 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 32s 946ms
  • ✓ 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 27s 063ms
  • ✓ 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 32s 873ms
  • ✓ 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 30s 707ms
  • ✓ 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 55s 769ms
  • ✓ 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 can see the message of 'Test method created successfully'
  • ✓ And I click the edit test method button
  • ✓ And I can see the test method version number is 'Draft' '0.1'
  • ✓ And I open the test method's related test suites
  • ✓ And I copy across the default test suite from the available list
  • ✓ And I confirm the test method associations
  • ✓ And I click to save test method 'unpublishedTM'
  • ✓ 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 51s 589ms
  • ✓ 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 open the test method's related test suites
  • ✓ And I copy across the default test suite from the available list
  • ✓ And I confirm the test method associations
  • ✓ And I click to save test method 'PrePublishedVersionTestMethod'
  • ✓ 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 32s 789ms
  • ✓ Given I am logged in as user 'ConfigureTestMethodUser'
  • ✓ 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 34s 317ms
  • ✓ 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 30s 606ms
  • ✓ 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 32s 422ms
  • ✓ 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'

@StockPermissions @LatestOnly
Scenario: Setup permissions allow related stock items without stock permissions 43s 348ms
  • ✓ 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'
  • ✓ And the stock permission user has only 'setup data view, setup data manage, setup data publish' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ 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 '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 confirm the test method associations
  • ✓ And I click to save test method 'StockTestMethod'
  • ✓ Then I can see related stock item 'TMStock' with quantity '12'
  • ✓ And I can see the test method version number is 'Published' '1'

Scenario: The test method walkthrough only starts when requested 26s 906ms
  • ✓ Given I am logged in as user 'TestMethodWalkthroughStartUser'
  • ✓ When I click on the 'Setup' menu item
  • ✓ And I click on the 'Test methods' menu item
  • ✓ And I have navigated to the 'Test methods' page
  • ✓ Then the walkthrough is not automatically displayed
  • ✓ And I can start the test method walkthrough
  • ✓ When I start the test method walkthrough
  • ✓ Then the walkthrough shows the 'Welcome to Test Methods' step

Scenario: The test method walkthrough starts from the beginning every time 28s 950ms
  • ✓ Given I am logged in as user 'TestMethodWalkthroughRestartUser'
  • ✓ When I click on the 'Setup' menu item
  • ✓ And I click on the 'Test methods' menu item
  • ✓ And I have navigated to the 'Test methods' page
  • ✓ And I start the test method walkthrough
  • ✓ And I continue the walkthrough
  • ✓ Then the walkthrough shows the 'Finding a Test Method' step
  • ✓ When I close the walkthrough
  • ✓ And I start the test method walkthrough
  • ✓ Then the walkthrough shows the 'Welcome to Test Methods' step

@LatestOnly @DeleteSetupData
Scenario: Either test method walkthrough launcher guides me through a tested calculation and method creation 1 1min 8s
  • ✓ Given I am logged in as user 'TestMethodWalkthroughValidationUser'
  • ✓ And the calculation builder is enabled for my organisation
  • ✓ When I open the Test Methods list from Setup
  • ✓ And I start the test method walkthrough from the <Launcher>
  • ✓ Then the walkthrough shows the 'Enter Test method Details' step
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough remains on the 'Enter Test method Details' step
  • ✓ When I enter '<Method>' in the walkthrough test method name field
  • ✓ And I continue the walkthrough
  • ✓ Then the walkthrough shows the 'Add a Test Input' step
  • ✓ When I click the highlighted create input button
  • ✓ Then the walkthrough shows the 'Configure your Input' step
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough shows the 'Name your Input' step
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough remains on the 'Name your Input' step
  • ✓ When I name the input 'Walkthrough Input'
  • ✓ And I continue the walkthrough
  • ✓ Then the walkthrough shows the 'Create the output yourself' step
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough remains on the 'Create the output yourself' step
  • ✓ When I turn off matching output in the walkthrough
  • ✓ And I continue the walkthrough
  • ✓ Then the walkthrough shows the 'Create your Input' step
  • ✓ When I click the highlighted ok button
  • ✓ Then the walkthrough shows the 'Add a Test Output' step
  • ✓ When I click the highlighted create output button
  • ✓ Then the walkthrough shows the 'Configure your output' step
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough shows the 'Name your Output' step
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough remains on the 'Name your Output' step
  • ✓ When I name the output 'Walkthrough Output'
  • ✓ And I continue the walkthrough
  • ✓ Then the walkthrough shows the 'Choose your input' step
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough remains on the 'Choose your input' step
  • ✓ When I select input '$1' in the walkthrough designer
  • ✓ And I continue the walkthrough
  • ✓ Then the walkthrough shows the 'Try your calculation' step
  • ✓ When I open Try it out in the walkthrough
  • ✓ Then the walkthrough shows the 'Check the result' step
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough remains on the 'Check the result' step
  • ✓ When I enter 'Passed' for walkthrough test input '$1'
  • ✓ And I run the walkthrough calculation
  • ✓ Then all walkthrough calculation results are 'Passed'
  • ✓ When I enter 'Rechecked' for walkthrough test input '$1'
  • ✓ Then the walkthrough calculation results are cleared
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough remains on the 'Check the result' step
  • ✓ When I run the walkthrough calculation
  • ✓ Then all walkthrough calculation results are 'Rechecked'
  • ✓ When I go to the previous walkthrough step
  • ✓ Then the walkthrough shows the 'Try your calculation' step
  • ✓ When I go to the previous walkthrough step
  • ✓ Then the walkthrough shows the 'Choose your input' step
  • ✓ And the walkthrough calculation is in Designer mode
  • ✓ When I continue the walkthrough
  • ✓ And I open Try it out in the walkthrough
  • ✓ Then the walkthrough shows the 'Check the result' step
  • ✓ And all walkthrough calculation results are 'Rechecked'
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough shows the 'Create your Output' step
  • ✓ When I click the highlighted ok button
  • ✓ Then the walkthrough shows the 'Associate Test Suites' step
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough shows the 'View Related Products' step
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough shows the "You're ready to create your Test Method" step
  • ✓ And the walkthrough links to the test method user guides
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough closes
  • ✓ When I click save
  • ✓ Then I can see test method '<Method>' on the test method view page
  • ✓ And I hover over 'result' for output 'Walkthrough Output' and see a read-only diagram containing 'Walkthrough Input'
Examples:
| Launcher | Method |
| list | List Walkthrough Test Method |

@LatestOnly @DeleteSetupData
Scenario: Either test method walkthrough launcher guides me through a tested calculation and method creation 2 1min 10s
  • ✓ Given I am logged in as user 'TestMethodWalkthroughValidationUser'
  • ✓ And the calculation builder is enabled for my organisation
  • ✓ When I open the Test Methods list from Setup
  • ✓ And I start the test method walkthrough from the <Launcher>
  • ✓ Then the walkthrough shows the 'Enter Test method Details' step
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough remains on the 'Enter Test method Details' step
  • ✓ When I enter '<Method>' in the walkthrough test method name field
  • ✓ And I continue the walkthrough
  • ✓ Then the walkthrough shows the 'Add a Test Input' step
  • ✓ When I click the highlighted create input button
  • ✓ Then the walkthrough shows the 'Configure your Input' step
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough shows the 'Name your Input' step
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough remains on the 'Name your Input' step
  • ✓ When I name the input 'Walkthrough Input'
  • ✓ And I continue the walkthrough
  • ✓ Then the walkthrough shows the 'Create the output yourself' step
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough remains on the 'Create the output yourself' step
  • ✓ When I turn off matching output in the walkthrough
  • ✓ And I continue the walkthrough
  • ✓ Then the walkthrough shows the 'Create your Input' step
  • ✓ When I click the highlighted ok button
  • ✓ Then the walkthrough shows the 'Add a Test Output' step
  • ✓ When I click the highlighted create output button
  • ✓ Then the walkthrough shows the 'Configure your output' step
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough shows the 'Name your Output' step
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough remains on the 'Name your Output' step
  • ✓ When I name the output 'Walkthrough Output'
  • ✓ And I continue the walkthrough
  • ✓ Then the walkthrough shows the 'Choose your input' step
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough remains on the 'Choose your input' step
  • ✓ When I select input '$1' in the walkthrough designer
  • ✓ And I continue the walkthrough
  • ✓ Then the walkthrough shows the 'Try your calculation' step
  • ✓ When I open Try it out in the walkthrough
  • ✓ Then the walkthrough shows the 'Check the result' step
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough remains on the 'Check the result' step
  • ✓ When I enter 'Passed' for walkthrough test input '$1'
  • ✓ And I run the walkthrough calculation
  • ✓ Then all walkthrough calculation results are 'Passed'
  • ✓ When I enter 'Rechecked' for walkthrough test input '$1'
  • ✓ Then the walkthrough calculation results are cleared
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough remains on the 'Check the result' step
  • ✓ When I run the walkthrough calculation
  • ✓ Then all walkthrough calculation results are 'Rechecked'
  • ✓ When I go to the previous walkthrough step
  • ✓ Then the walkthrough shows the 'Try your calculation' step
  • ✓ When I go to the previous walkthrough step
  • ✓ Then the walkthrough shows the 'Choose your input' step
  • ✓ And the walkthrough calculation is in Designer mode
  • ✓ When I continue the walkthrough
  • ✓ And I open Try it out in the walkthrough
  • ✓ Then the walkthrough shows the 'Check the result' step
  • ✓ And all walkthrough calculation results are 'Rechecked'
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough shows the 'Create your Output' step
  • ✓ When I click the highlighted ok button
  • ✓ Then the walkthrough shows the 'Associate Test Suites' step
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough shows the 'View Related Products' step
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough shows the "You're ready to create your Test Method" step
  • ✓ And the walkthrough links to the test method user guides
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough closes
  • ✓ When I click save
  • ✓ Then I can see test method '<Method>' on the test method view page
  • ✓ And I hover over 'result' for output 'Walkthrough Output' and see a read-only diagram containing 'Walkthrough Input'
Examples:
| Launcher | Method |
| create form | Create Walkthrough Test Method |

Scenario: The test method walkthrough only shows steps the user has permission to access 29s 366ms
  • ✓ Given I have created the user 'TestMethodWalkthroughViewUser' without permissions 'setup data manage'
  • ✓ And I am logged in as the created user 'TestMethodWalkthroughViewUser'
  • ✓ When I click on the 'Setup' menu item
  • ✓ And I click on the 'Test methods' menu item
  • ✓ And I have navigated to the 'Test methods' page
  • ✓ And I start the test method walkthrough
  • ✓ Then the walkthrough shows the 'Welcome to Test Methods' step
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough shows the 'Finding a Test Method' step
  • ✓ When I continue the walkthrough
  • ✓ Then the walkthrough closes

Scenario: The test suite walkthrough only starts when requested 25s 320ms
  • ✓ Given I am logged in as user 'TestSuiteWalkthroughStartUser'
  • ✓ When I click on the 'Setup' menu item
  • ✓ And I click on the 'Test suites' menu item
  • ✓ And I have navigated to the 'Test suites' page
  • ✓ Then the test suite walkthrough is not automatically displayed
  • ✓ And I can start the test suite walkthrough
  • ✓ When I start the test suite walkthrough
  • ✓ Then the test suite walkthrough shows the 'Welcome to Test Suites' step

Scenario: The test suite walkthrough restarts with fresh practice data 52s 263ms
  • ✓ Given I am logged in as user 'TestSuiteWalkthroughRestartUser'
  • ✓ When I click on the 'Setup' menu item
  • ✓ And I click on the 'Test suites' menu item
  • ✓ And I have navigated to the 'Test suites' page
  • ✓ And I start the test suite walkthrough
  • ✓ And I continue the test suite walkthrough
  • ✓ And I continue the test suite walkthrough
  • ✓ Then the test suite walkthrough shows the 'Create a New Test Suite' step
  • ✓ When I click the Create test suite button
  • ✓ Then the test suite walkthrough shows the 'Creating a Test Suite' step
  • ✓ When I continue the test suite walkthrough
  • ✓ And I enter 'Discarded Walkthrough Test Suite' in the walkthrough test suite name field
  • ✓ And I close the test suite walkthrough
  • ✓ And I start the test suite walkthrough
  • ✓ And I continue the test suite walkthrough
  • ✓ And I continue the test suite walkthrough
  • ✓ Then the test suite walkthrough shows the 'Create a New Test Suite' step
  • ✓ When I click the Create test suite button
  • ✓ Then the test suite walkthrough shows the 'Creating a Test Suite' step
  • ✓ When I continue the test suite walkthrough
  • ✓ Then the walkthrough test suite name is empty

Scenario: The test suite walkthrough validates required fields and uses temporary practice data 45s 204ms
  • ✓ Given I am logged in as user 'TestSuiteWalkthroughValidationUser'
  • ✓ When I click on the 'Setup' menu item
  • ✓ And I click on the 'Test suites' menu item
  • ✓ And I have navigated to the 'Test suites' page
  • ✓ And I start the test suite walkthrough
  • ✓ And I continue the test suite walkthrough
  • ✓ And I continue the test suite walkthrough
  • ✓ Then the test suite walkthrough shows the 'Create a New Test Suite' step
  • ✓ When I click the Create test suite button
  • ✓ Then the test suite walkthrough shows the 'Creating a Test Suite' step
  • ✓ When I continue the test suite walkthrough
  • ✓ Then the test suite walkthrough shows the 'Name Your Test Suite' step
  • ✓ When I continue the test suite walkthrough
  • ✓ Then the test suite walkthrough remains on the 'Name Your Test Suite' step
  • ✓ When I enter 'Walkthrough Test Suite' in the walkthrough test suite name field
  • ✓ And I continue the test suite walkthrough
  • ✓ Then the test suite walkthrough shows the 'Choose Your Test Methods' step
  • ✓ And the test suite walkthrough contains the practice test methods
  • ✓ When I continue the test suite walkthrough
  • ✓ Then the test suite walkthrough remains on the 'Choose Your Test Methods' step
  • ✓ When I add practice test method 'Moisture' to the walkthrough test suite
  • ✓ And I continue the test suite walkthrough
  • ✓ Then the test suite walkthrough shows the 'From Test Methods to Products' step
  • ✓ When I continue the test suite walkthrough
  • ✓ Then the test suite walkthrough shows the 'Your Test Suite is Ready' step
  • ✓ And the test suite walkthrough links to the test suite user guides
  • ✓ When I continue the test suite walkthrough
  • ✓ Then the test suite walkthrough closes
  • ✓ And the walkthrough test suite 'Walkthrough Test Suite' was not saved

Scenario: The test suite walkthrough only shows steps the user has permission to access 26s 039ms
  • ✓ Given I have created the user 'TestSuiteWalkthroughViewUser' without permissions 'setup data manage'
  • ✓ And I am logged in as the created user 'TestSuiteWalkthroughViewUser'
  • ✓ When I click on the 'Setup' menu item
  • ✓ And I click on the 'Test suites' menu item
  • ✓ And I have navigated to the 'Test suites' page
  • ✓ And I start the test suite walkthrough
  • ✓ Then the test suite walkthrough shows the 'Welcome to Test Suites' step
  • ✓ When I continue the test suite walkthrough
  • ✓ Then the test suite walkthrough shows the 'Your Test Suites' step
  • ✓ When I continue the test suite walkthrough
  • ✓ Then the test suite walkthrough closes

@SetupData
Scenario: I can create a test method 41s 555ms
  • ✓ 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 open the test method's related test suites
  • ✓ And I copy across the default test suite from the available list
  • ✓ And I confirm the test method associations
  • ✓ 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'

@SetupData
Scenario: I can view a test method 40s 813ms
  • ✓ 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'

@SetupData
Scenario: I can create a test method with a 2d coordinate input 31s 216ms
  • ✓ 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 '

@SetupData
Scenario: I can delete a test method 31s 309ms
  • ✓ 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

@SetupData
Scenario: I can view related test suites on test methods 31s 974ms
  • ✓ 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 open the test method's related test suites
  • ✓ 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

@SetupData
Scenario: I can view related products on test methods 34s 051ms
  • ✓ 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 open the related product on the product view page

@SetupData
Scenario: I can remove a test suite from a test method and see the related products update 31s 317ms
  • ✓ 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 open the test method's related test suites
  • ✓ And I remove the default test suite from the test method
  • ✓ And I confirm the test method associations
  • ✓ And I can see the save button is enabled
  • ✓ And I click on the related products button
  • ✓ Then the test method has no related products

@SetupData
Scenario: I can search for a test method 24s 194ms
  • ✓ 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

@SetupData
Scenario: I can filter by draft test method 28s 786ms
  • ✓ 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

@SetupData
Scenario: I can edit an existing test method 33s 955ms
  • ✓ 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

@SetupData
Scenario: I can clone a test method 33s 830ms
  • ✓ 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 click ok
  • ✓ Then I can see the text 'Edit newtestmethodname'
  • ✓ And I can see my new copied test method

@SetupData
Scenario: I can quick add the output from input on a test method 28s 134ms
  • ✓ 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 delete a test method that is attached to a suite and product 25s 001ms
  • ✓ 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 23s 367ms
  • ✓ 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

@ClearCustomFields @ChangesSettings
Scenario: Job and organisation-local date exports retain samples repeats and duplicate custom field headings 1min 9s
  • ✓ Given the test export organisation timezone is 'Pacific/Kiritimati'
  • ✓ And I am logged in as user 'TestExportSamplesUser'
  • ✓ And the sample export custom fields are configured as:
    | Position | Title |
    | 5 | Tag |
    | 2 | Tag |
  • ✓ And I have configured these sample export methods:
    | Method | Output | Units | Certificate |
    | A | Value | mg | true |
    | B | Value | mg | false |
  • ✓ And I have a test export job containing:
    | Sample Batch | Sample Reference | Method | Repeats | Inputs | Submit | Field2 | Field5 |
    | First sample | 00123 | A | 2 | 5 | true | one,"quoted" line | first |
    | First sample | 00123 | B | 1 | 8 | true | one,"quoted" line | first |
    | Other sample | | A | 1 | 9 | true | | second |
    | Other sample | | B | 1 | 12 | true | | second |
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And the export formats are Sample level, Test level and Result level in order
  • ✓ And I choose the 'tests' export format
  • ✓ And I select the created job for export
  • ✓ And I turn output combining 'off' for export
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ And I remember the test export CSV
  • ✓ And I start another export
  • ✓ And I choose the 'tests' export format
  • ✓ And I choose the fixture submission dates in the organisation timezone
  • ✓ And I turn output combining 'off' for export
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the test CSV matches the previous download
  • ✓ And the test CSV has ordered data headings 'Tag;Tag;Value (mg);Value (mg)'
  • ✓ And the test CSV contains exactly these tests:
    | Test Method | Sample Batch | Sample Reference | Repeat | Cells |
    | A v1 | First sample | 00123 | 1 | one,"quoted" line;first;5.0; |
    | A v1 | First sample | 00123 | 2 | one,"quoted" line;first;5.0; |
    | B v1 | First sample | 00123 | 1 | one,"quoted" line;first;;8.0 |
    | A v1 | Other sample | | 1 | ;second;9.0; |
    | B v1 | Other sample | | 1 | ;second;;12.0 |

@ChangesSubscriptionTier
Scenario: Growth users combine outputs without treating different test rows as collisions 1 45s 291ms
  • ✓ Given The organisation subscription tier is set to 'Growth'
  • ✓ And I am logged in as user 'TestExportCombiningUser'
  • ✓ And I have configured these sample export methods:
    | Method | Output | Units | Certificate |
    | A | Value | mg | true |
    | B | Value | mg | true |
  • ✓ And I have a test export job containing:
    | Sample Batch | Sample Reference | Method | Repeats | Inputs | Submit |
    | Sample | Reference | A | 1 | 5 | true |
    | Sample | Reference | B | 1 | 8 | true |
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And I choose the 'tests' export format
  • ✓ And I select the created job for export
  • ✓ And I turn output combining '<Combining>' for export
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the test CSV has ordered data headings '<Headings>'
  • ✓ And the test CSV contains exactly these tests:
    | Test Method | Sample Batch | Sample Reference | Repeat | Cells |
    | A v1 | Sample | Reference | 1 | <A> |
    | B v1 | Sample | Reference | 1 | <B> |
Examples:
| Combining | Headings | A | B |
| on | Value (mg) | 5.0 | 8.0 |

@ChangesSubscriptionTier
Scenario: Growth users combine outputs without treating different test rows as collisions 2 40s 690ms
  • ✓ Given The organisation subscription tier is set to 'Growth'
  • ✓ And I am logged in as user 'TestExportCombiningUser'
  • ✓ And I have configured these sample export methods:
    | Method | Output | Units | Certificate |
    | A | Value | mg | true |
    | B | Value | mg | true |
  • ✓ And I have a test export job containing:
    | Sample Batch | Sample Reference | Method | Repeats | Inputs | Submit |
    | Sample | Reference | A | 1 | 5 | true |
    | Sample | Reference | B | 1 | 8 | true |
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And I choose the 'tests' export format
  • ✓ And I select the created job for export
  • ✓ And I turn output combining '<Combining>' for export
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the test CSV has ordered data headings '<Headings>'
  • ✓ And the test CSV contains exactly these tests:
    | Test Method | Sample Batch | Sample Reference | Repeat | Cells |
    | A v1 | Sample | Reference | 1 | <A> |
    | B v1 | Sample | Reference | 1 | <B> |
Examples:
| Combining | Headings | A | B |
| off | Value (mg);Value (mg) | 5.0; | ;8.0 |

Scenario: Combining retains separate columns for different output names or units 48s 551ms
  • ✓ Given I am logged in as user 'TestExportExactNamesUser'
  • ✓ And I have configured these sample export methods:
    | Method | Output | Units | Certificate |
    | A | Value | mg | true |
    | B | value | mg | true |
    | C | Value | MG | true |
  • ✓ And I have a test export job containing:
    | Sample Batch | Sample Reference | Method | Repeats | Inputs | Submit |
    | Sample | | A | 1 | 5 | true |
    | Sample | | B | 1 | 8 | true |
    | Sample | | C | 1 | 9 | true |
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And I choose the 'tests' export format
  • ✓ And I select the created job for export
  • ✓ And I turn output combining 'on' for export
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the test CSV has ordered data headings 'Value (mg);value (mg);Value (MG)'
  • ✓ And the test CSV contains exactly these tests:
    | Test Method | Sample Batch | Sample Reference | Repeat | Cells |
    | A v1 | Sample | | 1 | 5.0;; |
    | B v1 | Sample | | 1 | ;8.0; |
    | C v1 | Sample | | 1 | ;;9.0 |

@ClearCustomFields
Scenario: Historical custom field titles at the same position remain separate ordered columns 53s 737ms
  • ✓ Given I am logged in as user 'TestExportFieldHistoryUser'
  • ✓ And the sample export custom fields are configured as:
    | Position | Title |
    | 2 | Zulu |
    | 5 | Tag |
  • ✓ And I have configured these sample export methods:
    | Method | Output | Units | Certificate |
    | A | Value | mg | true |
  • ✓ And I have a test export job containing:
    | Sample Batch | Sample Reference | Method | Repeats | Inputs | Submit | Field2 | Field5 |
    | Original | | A | 1 | 5 | true | old | first |
  • ✓ And the sample export custom fields are configured as:
    | Position | Title |
    | 2 | Alpha |
    | 5 | Tag |
  • ✓ And I have a second test export job containing:
    | Sample Batch | Sample Reference | Method | Repeats | Inputs | Submit | Field2 | Field5 |
    | Renamed | | A | 1 | 8 | true | new | second |
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And I choose the 'tests' export format
  • ✓ And I select the created job for export
  • ✓ And I select the second created job for export
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the test CSV has ordered data headings 'Alpha;Zulu;Tag;Value (mg)'
  • ✓ And the test CSV contains exactly these tests:
    | Test Method | Sample Batch | Sample Reference | Repeat | Cells |
    | A v1 | Original | | 1 | ;old;first;5.0 |
    | A v1 | Renamed | | 1 | new;;second;8.0 |

Scenario: Historical test versions retain their original outputs after publishing and deleting the method 48s 617ms
  • ✓ Given I am logged in as user 'TestExportHistoryUser'
  • ✓ And I have configured these sample export methods:
    | Method | Output | Units | Certificate |
    | A | Original | mg | false |
  • ✓ And I have a test export job containing:
    | Sample Batch | Sample Reference | Method | Repeats | Inputs | Submit |
    | Sample | Reference | A | 1 | 5 | true |
  • ✓ And I publish a new version of export method 'A' with output 'Changed' and result '8' on sample 'Sample'
  • ✓ And I have deleted the sample export method 'A'
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And I choose the 'tests' export format
  • ✓ And I select the created job for export
  • ✓ And I turn output combining 'off' for export
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the test CSV has ordered data headings 'Original (mg);Changed (mg)'
  • ✓ And the test CSV contains exactly these tests:
    | Test Method | Sample Batch | Sample Reference | Repeat | Cells |
    | A v1 | Sample | Reference | 1 | 5.0; |
    | A v2 | Sample | Reference | 1 | ;8.0 |

Scenario: Job selection includes unfinished persisted outputs while preserving zero precision and text results 43s 636ms
  • ✓ Given I am logged in as user 'TestExportDisplayUser'
  • ✓ And I have configured these sample export methods:
    | Method | Output | Units | Certificate | Input Type | Precision |
    | A | Numeric | mg | true | numeric | 4 |
    | B | Qualified | | true | string | 1 |
  • ✓ And I have a test export job containing:
    | Sample Batch | Sample Reference | Method | Repeats | Inputs | Submit |
    | Submitted | Reference | A | 1 | 1.23 | true |
    | Submitted | Reference | B | 1 | <LOQ | true |
    | Unfinished | | A | 1 | 0 | false |
    | Unfinished | | B | 1 | | false |
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And I choose the 'tests' export format
  • ✓ And I select the created job for export
  • ✓ And I turn output combining 'on' for export
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the test CSV has ordered data headings 'Numeric (mg);Qualified'
  • ✓ And the test CSV contains exactly these tests:
    | Test Method | Sample Batch | Sample Reference | Repeat | Cells |
    | A v1 | Submitted | Reference | 1 | 1.2300; |
    | B v1 | Submitted | Reference | 1 | ;<LOQ |
    | A v1 | Unfinished | | 1 | 0.0000; |
    | B v1 | Unfinished | | 1 | ; |

Scenario: Submitted date selection excludes unsubmitted tests with persisted outputs 44s 723ms
  • ✓ Given I am logged in as user 'TestExportUnsubmittedUser'
  • ✓ And I have configured these sample export methods:
    | Method | Output | Units | Certificate |
    | A | Value | mg | true |
  • ✓ And I have a test export job containing:
    | Sample Batch | Sample Reference | Method | Repeats | Inputs | Submit |
    | Submitted | | A | 1 | 5 | true |
    | Unsubmitted | | A | 1 | 8 | false |
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And I choose the 'tests' export format
  • ✓ And I select the created job for export
  • ✓ And I choose the fixture submission dates in the organisation timezone
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the test CSV has ordered data headings 'Value (mg)'
  • ✓ And the test CSV contains exactly these tests:
    | Test Method | Sample Batch | Sample Reference | Repeat | Cells |
    | A v1 | Submitted | | 1 | 5.0 |

Scenario: Switching to jobs ignores an inactive submitted date range for a test export 43s 305ms
  • ✓ Given I am logged in as user 'TestExportFilterSwitchUser'
  • ✓ And I have configured these sample export methods:
    | Method | Output | Units | Certificate |
    | A | Value | mg | true |
  • ✓ And I have a test export job containing:
    | Sample Batch | Sample Reference | Method | Repeats | Inputs | Submit |
    | Sample | | A | 1 | 5 | true |
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And I choose the 'tests' export format
  • ✓ And I enter the date range '01/01/2023' to '02/01/2023' on the export page
  • ✓ And I select the created job for export
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the test CSV contains exactly these tests:
    | Test Method | Sample Batch | Sample Reference | Repeat | Cells |
    | A v1 | Sample | | 1 | 5.0 |

@ChangesSubscriptionTier
Scenario: Growth users export multiple jobs using either mutually exclusive filter 1 52s 505ms
  • ✓ Given The organisation subscription tier is set to 'Growth'
  • ✓ And I am logged in as user 'TestExportMultipleJobsUser'
  • ✓ And I have configured these sample export methods:
    | Method | Output | Units | Certificate |
    | A | Value | mg | true |
  • ✓ And I have a test export job containing:
    | Sample Batch | Sample Reference | Method | Repeats | Inputs | Submit |
    | First job | | A | 1 | 5 | true |
  • ✓ And I have a second test export job containing:
    | Sample Batch | Sample Reference | Method | Repeats | Inputs | Submit |
    | Second job | | A | 1 | 8 | true |
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And I choose the 'tests' export format
  • ✓ And I select the created job for export
  • ✓ And I include both test export jobs using '<Filter>'
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the test CSV has ordered data headings 'Value (mg)'
  • ✓ And the test CSV contains exactly these tests:
    | Test Method | Sample Batch | Sample Reference | Repeat | Cells |
    | A v1 | First job | | 1 | 5.0 |
    | A v1 | Second job | | 1 | 8.0 |
Examples:
| Filter |
| selected jobs |

@ChangesSubscriptionTier
Scenario: Growth users export multiple jobs using either mutually exclusive filter 2 47s 040ms
  • ✓ Given The organisation subscription tier is set to 'Growth'
  • ✓ And I am logged in as user 'TestExportMultipleJobsUser'
  • ✓ And I have configured these sample export methods:
    | Method | Output | Units | Certificate |
    | A | Value | mg | true |
  • ✓ And I have a test export job containing:
    | Sample Batch | Sample Reference | Method | Repeats | Inputs | Submit |
    | First job | | A | 1 | 5 | true |
  • ✓ And I have a second test export job containing:
    | Sample Batch | Sample Reference | Method | Repeats | Inputs | Submit |
    | Second job | | A | 1 | 8 | true |
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And I choose the 'tests' export format
  • ✓ And I select the created job for export
  • ✓ And I include both test export jobs using '<Filter>'
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the test CSV has ordered data headings 'Value (mg)'
  • ✓ And the test CSV contains exactly these tests:
    | Test Method | Sample Batch | Sample Reference | Repeat | Cells |
    | A v1 | First job | | 1 | 5.0 |
    | A v1 | Second job | | 1 | 8.0 |
Examples:
| Filter |
| submitted dates |

Scenario: A test export with no matching submissions contains one header row 31s 613ms
  • ✓ Given I am logged in as user 'TestExportEmptyUser'
  • ✓ And I have progressed a job up to approval with batchNo 'New export job' and input value '5'
  • ✓ When I click on the 'Reporting' menu item
  • ✓ And I click on the 'Export results' menu item
  • ✓ And I choose the 'tests' export format
  • ✓ And I enter the date range '01/01/2023' to '02/01/2023' on the export page
  • ✓ And I start the results export
  • ✓ And I download the export CSV
  • ✓ Then the test CSV contains only the metadata header

@SetupData
Scenario: I can create a test suite 28s 389ms
  • ✓ 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 33s 705ms
  • ✓ 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'

@SetupData
Scenario: I can view related test methods on test suites 35s 238ms
  • ✓ 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 20s 423ms
  • ✓ 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 37s 515ms
  • ✓ 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 26s 380ms
  • ✓ 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 1min 2s
  • ✓ 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 36s 914ms
  • ✓ 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 25s 514ms
  • ✓ 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 27s 987ms
  • ✓ 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 49s 529ms
  • ✓ 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 40s 545ms
  • ✓ 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 35s 744ms
  • ✓ Given I am logged in as user 'importdatauser'
  • ✓ When I navigate to the 'system settings' 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'

@SetupData
Scenario: I can see manual adjustment appear on the usage tracking screen 45s 752ms
  • ✓ 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 | less than a minute ago |

@DeleteSetupData
Scenario: I can record stock usage at enter results and access the same usage from the test viewer 1min 4s
  • ✓ 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 confirm the test method associations
  • ✓ And I click to save test method 'UTSTockTM'
  • ✓ 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 select the Stock ID for batch 'UT987' stored as 'usage' from 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 | less than a minute ago |
  • ✓ When I click on 'View test'
  • ✓ And I click on 'Stock Usage'
  • ✓ Then I select the Stock ID for batch 'UT987' stored as 'usage' from stock item 'UTStock'

@DeleteSetupData
Scenario: Only approved and not expired stock batches are available for selection at enter results 44s 646ms
  • ✓ 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 confirm the test method associations
  • ✓ And I click to save test method 'ERStockFilterTM'
  • ✓ 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 26s 685ms
  • ✓ Given I have created the user 'SettingsPermissionUser' without permissions 'settings manage'
  • ✓ And I am logged in as the created user 'SettingsPermissionUser'
  • ✓ When 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 access manage certificates if I do not have permission 28s 683ms
  • ✓ Given I have created the user 'ManageCertificatesPermissionUser' without permissions 'manage certificates'
  • ✓ And I am logged in as the created user 'ManageCertificatesPermissionUser'
  • ✓ When I click on the 'Reporting' menu item
  • ✓ Then I can see the 'Export Results' menu item
  • ✓ And I cannot see the 'Manage Certificates' menu item
  • ✓ And I cannot manually navigate to the 'Manage certificates' page

@SetupData
Scenario: I cannot delete generated certificates without the correct permission 1min 22s
  • ✓ Given I have created the user 'DeleteCertificatePermissionsUser' without permissions 'delete certificates'
  • ✓ And I am logged in as user 'DeleteCertificatePermissionsUserrm'
  • ✓ And I add the default client to both users
  • ✓ And I have progressed a job through the lifecycle process with batchNo 'deletecertpermission' and input value '123'
  • ✓ When I view the created job on the job viewer
  • ✓ And I click on the Manage Certificates button
  • ✓ And I generate a job certificate from manage certificates
  • ✓ And I click the close button
  • ✓ When I Log out of LabHQ
  • ✓ And I enter my credentials to log in to user 'DeleteCertificatePermissionsUser'
  • ✓ And I view the created job on the job viewer
  • ✓ And I click on the Manage Certificates button
  • ✓ And I open the generated job certificates tab on manage certificates
  • ✓ Then I cannot see the certificate delete button in the manage certificates history

Scenario: I cannot view Organisation if I do not have manage permissions 27s 943ms
  • ✓ Given I have created the user 'OrgPermissionUser' without permissions 'organisation view, organisation manage'
  • ✓ And I am logged in as the created user 'OrgPermissionUser'
  • ✓ When I click on the admin icon
  • ✓ And I click on the 'System settings' 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 32s 863ms
  • ✓ Given I have created the user 'labelsettingpermissionsuser' without permissions 'label settings'
  • ✓ And I am logged in as the created user 'labelsettingpermissionsuser'
  • ✓ When I click on the admin icon
  • ✓ And I click on the 'System settings' 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 17s 422ms
  • ✓ Given I have created the user 'customfieldspermissionsuser' without permissions 'custom fields manage'
  • ✓ And I am logged in as the created user 'customfieldspermissionsuser'
  • ✓ When 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 29s 019ms
  • ✓ Given I have created the user 'reportsettingpermissionsuser' without permissions 'report settings'
  • ✓ And I am logged in as the created user 'reportsettingpermissionsuser'
  • ✓ When I click on the admin icon
  • ✓ And I click on the 'System settings' 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 20s 074ms
  • ✓ Given I have created the user 'ListPermissionUser' without permissions 'lists manage'
  • ✓ And I am logged in as the created user 'ListPermissionUser'
  • ✓ When 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 17s 731ms
  • ✓ Given I have created the user 'AuditPermissionUser' without permissions 'audit view'
  • ✓ And I am logged in as the created 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 19s 906ms
  • ✓ Given I have created the user 'ClientsPermissionUser' without permissions 'clients view'
  • ✓ And I am logged in as the created user 'ClientsPermissionUser'
  • ✓ When 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 33s 839ms
  • ✓ Given I have created the user 'TestMethodsPermissionUser' without permissions 'setup data view'
  • ✓ And I am logged in as the created user 'TestMethodsPermissionUser'
  • ✓ When 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 14s 865ms
  • ✓ Given I have created the user 'SubmitPermissionUser' without permissions 'lifecycle submit'
  • ✓ And I am logged in as the created 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 15s 039ms
  • ✓ Given I have created the user 'ReceivePermissionUser' without permissions 'lifecycle receive'
  • ✓ And I am logged in as the created 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 14s 263ms
  • ✓ Given I have created the user 'ManageWorkPermissionUser' without permissions 'resources manage work'
  • ✓ And I am logged in as the created 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

@SetupData
Scenario: I cannot download or redownload a workbook if I do not have permission 29s 936ms
  • ✓ Given I have created the user 'DLViewWorkPermissionUser' without permissions 'resources download workbook'
  • ✓ 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 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 cannot see the download workbook button
  • ✓ 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 15s 189ms
  • ✓ Given I have created the user 'EnterResultsPermissionUser' without permissions 'lifecycle results'
  • ✓ And I am logged in as the created 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 12s 730ms
  • ✓ Given I have created the user 'VerifyPermissionUser' without permissions 'lifecycle verify'
  • ✓ And I am logged in as the created 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 12s 599ms
  • ✓ Given I have created the user 'ApprovePermissionUser' without permissions 'lifecycle approve'
  • ✓ And I am logged in as the created 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 oos results if I do not have permissions 12s 293ms
  • ✓ Given I have created the user 'OOSResultsPermissionsUser' without permissions 'analytics oos results'
  • ✓ And I am logged in as the created user 'OOSResultsPermissionsUser'
  • ✓ When 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

@SetupData
Scenario: I cannot view trend reports if I do not have permissions 32s 441ms
  • ✓ Given I have created the user 'TrendSampleViewerPermissionsUser' without permissions 'analytics trend'
  • ✓ 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 Log out of LabHQ
  • ✓ And I enter my credentials to log in to user 'TrendSampleViewerPermissionsUser'
  • ✓ 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
  • ✓ When 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
  • ✓ 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
  • ✓ Then The trend icon does not show on the job

@SetupData
Scenario: I cannot see the label download button if I do not have permission 23s 910ms
  • ✓ Given I have created the user 'LabelDownloadPermissionsUser' without permissions 'samples label'
  • ✓ 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 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 10s 070ms
  • ✓ Given I have created the user 'ExportResultPermissionsUser' without permissions 'results export'
  • ✓ And I am logged in as the created 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 7s 176ms
  • ✓ Given I have created the user 'CompanyAddressPermissionsUser' without permissions 'organisation manage'
  • ✓ And I am logged in as the created user 'CompanyAddressPermissionsUser'
  • ✓ When I click on the 'System settings' 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 7s 559ms
  • ✓ Given I have created the user 'ResultsImportPermissionsUser' without permissions 'reports import'
  • ✓ And I am logged in as the created user 'ResultsImportPermissionsUser'
  • ✓ When I click on the admin icon
  • ✓ Then I can see the organisation configure button
  • ✓ And I cannot see the import results data menu item

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Each stock permission independently grants its own screen and shared data 1 35s 255ms
  • ✓ Given I am logged in as user 'StockPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user has only '<Permission>' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ Then only the '<Screen>' stock screen is accessible
Examples:
| Permission | Screen |
| stock items manage | Stock Items |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Each stock permission independently grants its own screen and shared data 2 37s 514ms
  • ✓ Given I am logged in as user 'StockPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user has only '<Permission>' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ Then only the '<Screen>' stock screen is accessible
Examples:
| Permission | Screen |
| stock inventory | Inventory |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Each stock permission independently grants its own screen and shared data 3 38s 388ms
  • ✓ Given I am logged in as user 'StockPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user has only '<Permission>' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ Then only the '<Screen>' stock screen is accessible
Examples:
| Permission | Screen |
| stock receive | Receive Stock |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Each stock permission independently grants its own screen and shared data 4 38s 774ms
  • ✓ Given I am logged in as user 'StockPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user has only '<Permission>' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ Then only the '<Screen>' stock screen is accessible
Examples:
| Permission | Screen |
| stock adjust | Adjust Stock |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Each stock permission independently grants its own screen and shared data 5 40s 771ms
  • ✓ Given I am logged in as user 'StockPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user has only '<Permission>' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ Then only the '<Screen>' stock screen is accessible
Examples:
| Permission | Screen |
| stock usage tracking | Usage Tracking |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Each stock permission independently grants its own screen and shared data 6 40s 748ms
  • ✓ Given I am logged in as user 'StockPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user has only '<Permission>' permissions
  • ✓ When I sign in as the stock permission user
  • ✓ Then only the '<Screen>' stock screen is accessible
Examples:
| Permission | Screen |
| stock expired | Expired Stock |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: A user without stock permissions cannot navigate to stock screens or action URLs 56s 297ms
  • ✓ Given I am logged in as user 'StockPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user has no permissions
  • ✓ When I sign in as the stock permission user
  • ✓ Then no stock screens or actions are accessible

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Other stock permissions do not substitute for a missing screen permission 1 14s 536ms
  • ✓ Given I am logged in as user 'StockPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user lacks only '<Permission>'
  • ✓ When I sign in as the stock permission user
  • ✓ Then the '<Screen>' stock screen remains inaccessible
Examples:
| Permission | Screen |
| stock items manage | Stock Items |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Other stock permissions do not substitute for a missing screen permission 2 14s 400ms
  • ✓ Given I am logged in as user 'StockPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user lacks only '<Permission>'
  • ✓ When I sign in as the stock permission user
  • ✓ Then the '<Screen>' stock screen remains inaccessible
Examples:
| Permission | Screen |
| stock inventory | Inventory |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Other stock permissions do not substitute for a missing screen permission 3 14s 313ms
  • ✓ Given I am logged in as user 'StockPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user lacks only '<Permission>'
  • ✓ When I sign in as the stock permission user
  • ✓ Then the '<Screen>' stock screen remains inaccessible
Examples:
| Permission | Screen |
| stock adjust | Adjust Stock |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Other stock permissions do not substitute for a missing screen permission 4 13s 605ms
  • ✓ Given I am logged in as user 'StockPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user lacks only '<Permission>'
  • ✓ When I sign in as the stock permission user
  • ✓ Then the '<Screen>' stock screen remains inaccessible
Examples:
| Permission | Screen |
| stock usage tracking | Usage Tracking |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: Other stock permissions do not substitute for a missing screen permission 5 14s 473ms
  • ✓ Given I am logged in as user 'StockPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user lacks only '<Permission>'
  • ✓ When I sign in as the stock permission user
  • ✓ Then the '<Screen>' stock screen remains inaccessible
Examples:
| Permission | Screen |
| stock expired | Expired Stock |

@StockPermissions @DeleteAllStockItems @LatestOnly
Scenario: A user with all other stock permissions can view batches but cannot receive stock 15s 307ms
  • ✓ Given I am logged in as user 'StockPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user lacks only 'stock receive'
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the 'Receive Stock' stock screen
  • ✓ Then recently received stock batch 'PERM' shows quantity '100'
  • ✓ And the receive stock button is hidden
  • ✓ And direct access to the receive stock form is denied

@StockPermissions @DeleteAllStockItems
Scenario: Admin automatically has every stock permission 17s 015ms
  • ✓ Given I am logged in as user 'StockPermissionAdmin'
  • ✓ And in-date, expired and expiring-soon stock batches exist
  • ✓ And the stock permission user is an administrator
  • ✓ When I sign in as the stock permission user
  • ✓ And I open the 'Stock Items' stock screen
  • ✓ And I open the 'Inventory' stock screen
  • ✓ And I open the 'Receive Stock' stock screen
  • ✓ And I open the 'Adjust Stock' stock screen
  • ✓ And I open the 'Usage Tracking' stock screen
  • ✓ And I open the 'Expired Stock' stock screen
  • ✓ Then the expiry tab shows item 'PermissionExpired' and batch 'PERM-EXPIRED'

@LatestOnly @UserListPaging
Scenario: User list search is retained through sorting paging and status filtering 1min 2s
  • ✓ Given I am logged in as user 'role-list-admin'
  • ✓ When I create enough unverified accounts to page the user list
  • ✓ And I click on the 'User accounts' menu item
  • ✓ Then user account sorting paging and status filtering preserve the search

Scenario: I cannot see the BSL Admin role on a non BSL company 29s 420ms
  • ✓ Given I am logged in as user 'bslAdminRoleUser'
  • ✓ When 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 33s 779ms
  • ✓ Given I have created the user 'disablethisuser'
  • ✓ And I am logged in as user 'disableaccountuser'
  • ✓ When 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 28s 994ms
  • ✓ Given I have created the user 'archivethisuser'
  • ✓ And I am logged in as user 'archiveaccountuser'
  • ✓ When 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 32s 339ms
  • ✓ Given I have created the user 'editthisuser'
  • ✓ And I am logged in as user 'editaccountuser'
  • ✓ When 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 grant a permission to an existing user account 54s 253ms
  • ✓ Given I have created the user 'grantpermissionuser' without permissions 'report settings'
  • ✓ And I am logged in as user 'editaccountuser'
  • ✓ When I click on the 'User accounts' menu item
  • ✓ And I search for user 'grantpermissionuser'
  • ✓ And I click on user account 'grantpermissionuser'
  • ✓ And I grant '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 'grantpermissionuser'
  • ✓ And I click on the admin icon
  • ✓ Then I can see the report settings configure button

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

@ChangesSubscriptionTier
Scenario: User limit warning links to upgrade options in a new tab 25s 638ms
  • ✓ Given The organisation subscription tier is set to 'Essentials'
  • ✓ And I am logged in as user 'userlimitupgrade'
  • ✓ When I click on the 'User accounts' menu item
  • ✓ And I click on the create user account button
  • ✓ Then the upgrade options link opens the LabHQ upgrade page in a new tab

@StockPermissions @LatestOnly
Scenario: Custom stock grants can be individually selected saved and used 1min 28s
  • ✓ Given I am logged in as user 'StockAccountPermissionAdmin'
  • ✓ And the stock permission user has no permissions
  • ✓ When I open the stock permission user in the permission editor
  • ✓ And I select the 'Custom' permission preset
  • ✓ And I grant 'stock inventory' permission
  • ✓ And I grant 'stock receive' permission
  • ✓ And I save and reopen the stock permission user
  • ✓ And only 'stock inventory, stock receive' stock permissions are selected
  • ✓ And I remove 'stock receive' permission
  • ✓ And I save and reopen the stock permission user
  • ✓ And I sign in as the stock permission user
  • ✓ And I open the 'Inventory' stock screen
  • ✓ Then I cannot manually navigate to the 'Receive Stock' page

@StockPermissions @LatestOnly @ChangesSubscriptionTier
Scenario: Subscriptions without Stock hide the stock permission controls and preserve grants 1 1min 31s
  • ✓ Given I am logged in as user 'StockAccountPermissionAdmin'
  • ✓ And the stock permission user has only 'stock inventory, clients view' permissions
  • ✓ When The organisation subscription tier is set to '<Tier>'
  • ✓ And I open the stock permission user in the permission editor
  • ✓ And the stock permission controls are 'hidden'
  • ✓ And I change the stock permission user's first name
  • ✓ And I save and reopen the stock permission user
  • ✓ And The organisation subscription tier is set to 'Enterprise'
  • ✓ And I sign in as the stock permission user
  • ✓ And I click on the 'Setup' menu item
  • ✓ Then I can see the 'Clients' menu item
  • ✓ And the saved stock permissions allow only 'Inventory' screens
Examples:
| Tier |
| Essentials |

@StockPermissions @LatestOnly @ChangesSubscriptionTier
Scenario: Subscriptions without Stock hide the stock permission controls and preserve grants 2 1min 17s
  • ✓ Given I am logged in as user 'StockAccountPermissionAdmin'
  • ✓ And the stock permission user has only 'stock inventory, clients view' permissions
  • ✓ When The organisation subscription tier is set to '<Tier>'
  • ✓ And I open the stock permission user in the permission editor
  • ✓ And the stock permission controls are 'hidden'
  • ✓ And I change the stock permission user's first name
  • ✓ And I save and reopen the stock permission user
  • ✓ And The organisation subscription tier is set to 'Enterprise'
  • ✓ And I sign in as the stock permission user
  • ✓ And I click on the 'Setup' menu item
  • ✓ Then I can see the 'Clients' menu item
  • ✓ And the saved stock permissions allow only 'Inventory' screens
Examples:
| Tier |
| Growth |

@StockPermissions @LatestOnly @ChangesSubscriptionTier
Scenario: Stock permission controls are available on subscriptions with Stock 1 19s 397ms
  • ✓ Given I am logged in as user 'StockAccountPermissionAdmin'
  • ✓ And the stock permission user has no permissions
  • ✓ When The organisation subscription tier is set to '<Tier>'
  • ✓ And I open the stock permission user in the permission editor
  • ✓ Then the stock permission controls are 'visible'
Examples:
| Tier |
| Advanced |

@StockPermissions @LatestOnly @ChangesSubscriptionTier
Scenario: Stock permission controls are available on subscriptions with Stock 2 18s 140ms
  • ✓ Given I am logged in as user 'StockAccountPermissionAdmin'
  • ✓ And the stock permission user has no permissions
  • ✓ When The organisation subscription tier is set to '<Tier>'
  • ✓ And I open the stock permission user in the permission editor
  • ✓ Then the stock permission controls are 'visible'
Examples:
| Tier |
| Enterprise |

Scenario: Permission presets select exactly the agreed defaults and survive reopening 1 1min 21s
  • ✓ Given permission presets have the following defaults:
  • ✓ Given I am logged in as user 'role-preset-admin'
  • ✓ When I open a new user account
  • ✓ And I enter the details for a new role test user
  • ✓ And I select the '<Role>' permission preset
  • ✓ And only the '<Role>' preset permissions are selected
  • ✓ And I save and reopen the role test user
  • ✓ And the selected permission preset is '<Role>'
  • ✓ Then only the '<Role>' preset permissions are selected
Examples:
| Role |
| Analyst |

Scenario: Permission presets select exactly the agreed defaults and survive reopening 2 1min 9s
  • ✓ Given permission presets have the following defaults:
  • ✓ Given I am logged in as user 'role-preset-admin'
  • ✓ When I open a new user account
  • ✓ And I enter the details for a new role test user
  • ✓ And I select the '<Role>' permission preset
  • ✓ And only the '<Role>' preset permissions are selected
  • ✓ And I save and reopen the role test user
  • ✓ And the selected permission preset is '<Role>'
  • ✓ Then only the '<Role>' preset permissions are selected
Examples:
| Role |
| LabManager |

Scenario: Permission presets select exactly the agreed defaults and survive reopening 3 1min 3s
  • ✓ Given permission presets have the following defaults:
  • ✓ Given I am logged in as user 'role-preset-admin'
  • ✓ When I open a new user account
  • ✓ And I enter the details for a new role test user
  • ✓ And I select the '<Role>' permission preset
  • ✓ And only the '<Role>' preset permissions are selected
  • ✓ And I save and reopen the role test user
  • ✓ And the selected permission preset is '<Role>'
  • ✓ Then only the '<Role>' preset permissions are selected
Examples:
| Role |
| Quality |

Scenario: Permission presets select exactly the agreed defaults and survive reopening 4 44s 691ms
  • ✓ Given permission presets have the following defaults:
  • ✓ Given I am logged in as user 'role-preset-admin'
  • ✓ When I open a new user account
  • ✓ And I enter the details for a new role test user
  • ✓ And I select the '<Role>' permission preset
  • ✓ And only the '<Role>' preset permissions are selected
  • ✓ And I save and reopen the role test user
  • ✓ And the selected permission preset is '<Role>'
  • ✓ Then only the '<Role>' preset permissions are selected
Examples:
| Role |
| Custom |

Scenario: Cancelling a role change preserves customisations and reset restores defaults 1min 6s
  • ✓ Given permission presets have the following defaults:
  • ✓ Given I am logged in as user 'role-change-admin'
  • ✓ When I open a new user account
  • ✓ And I select the 'Analyst' permission preset
  • ✓ And I remove 'clients view' permission
  • ✓ And the selected permission preset is 'Analyst'
  • ✓ And I select the 'Quality' permission preset
  • ✓ And I click the cancel button
  • ✓ And the selected permission preset is 'Analyst'
  • ✓ And only the 'Analyst' preset permissions with these changes are selected:
    | Permission | Selected |
    | clients view | false |
  • ✓ And I select the 'Quality' permission preset
  • ✓ And I click ok
  • ✓ And only the 'Quality' preset permissions are selected
  • ✓ And I remove 'audit view' permission
  • ✓ And reset to role defaults is 'enabled'
  • ✓ And I reset permissions to the selected role defaults
  • ✓ And only the 'Quality' preset permissions are selected
  • ✓ And I select the 'Custom' permission preset
  • ✓ And only the 'Custom' preset permissions are selected
  • ✓ And I grant 'clients view' permission
  • ✓ And I reset permissions to the selected role defaults
  • ✓ Then only the 'Custom' preset permissions are selected

Scenario: Customised permissions retain the named role when saved 32s 706ms
  • ✓ Given permission presets have the following defaults:
  • ✓ Given I am logged in as user 'role-customise-admin'
  • ✓ When I open the unassigned role test user
  • ✓ And I select the 'Analyst' permission preset
  • ✓ And I remove 'clients view' permission
  • ✓ And I grant 'audit view' permission
  • ✓ And I save and reopen the role test user
  • ✓ And the selected permission preset is 'Analyst'
  • ✓ And only the 'Analyst' preset permissions with these changes are selected:
    | Permission | Selected |
    | clients view | false |
    | audit view | true |
  • ✓ And I Log out of LabHQ
  • ✓ And I sign in as the role test user
  • ✓ 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
  • ✓ And I can see the 'audit' menu item

@ChangesSubscriptionTier
Scenario: Presets exclude permissions unavailable in Essentials 19s 184ms
  • ✓ Given permission presets have the following defaults:
  • ✓ Given I am logged in as user 'role-subscription-admin'
  • ✓ When I open the unassigned role test user
  • ✓ And The organisation subscription tier is set to 'Essentials'
  • ✓ And I refresh the page
  • ✓ And I select the 'LabManager' permission preset
  • ✓ Then only the Essentials Lab Manager preset permissions are selected

Scenario: Role account changes are audited without rewriting earlier history 23s 967ms
  • ✓ Given permission presets have the following defaults:
  • ✓ Given I am logged in as user 'role-audit-admin'
  • ✓ When I open the unassigned role test user
  • ✓ And I remember the role test user's creation audit
  • ✓ And I select the 'Analyst' permission preset
  • ✓ And I save and reopen the role test user
  • ✓ And I remove 'clients view' permission
  • ✓ And I grant 'audit view' permission
  • ✓ And I save and reopen the role test user
  • ✓ And I change the role test account type to 'Admin'
  • ✓ And I save and reopen the role test user
  • ✓ Then the role test user's audit records account type role and permission changes
  • ✓ And the role test user's earlier creation audit is unchanged

Scenario: Editing a user's role does not change their access in another organisation 1min 2s
  • ✓ Given permission presets have the following defaults:
  • ✓ Given I am logged in as user 'role-isolation-admin'
  • ✓ When I open the unassigned role test user
  • ✓ And I select the 'Analyst' permission preset
  • ✓ And I save and reopen the role test user
  • ✓ And I assign the role test user the 'Quality' preset in another organisation
  • ✓ And I return to the role test user in the original organisation
  • ✓ And the selected permission preset is 'Analyst'
  • ✓ And only the 'Analyst' preset permissions are selected
  • ✓ And I select the 'LabManager' permission preset
  • ✓ And I save and reopen the role test user
  • ✓ Then the selected permission preset is 'LabManager'
  • ✓ And only the 'LabManager' preset permissions are selected
  • ✓ And the role test user's access in the other organisation is unchanged

@StockPermissions @LatestOnly
Scenario: Stock role defaults are selected and persist in the permission editor 1 22s 097ms
  • ✓ Given permission presets have the following defaults:
  • ✓ Given I am logged in as user 'StockRolePermissionAdmin'
  • ✓ And the stock permission user has no permissions
  • ✓ When I open the stock permission user in the permission editor
  • ✓ And the stock permission controls are 'visible'
  • ✓ And I select the '<Role>' permission preset
  • ✓ And only '<Permissions>' stock permissions are selected
  • ✓ And I save and reopen the stock permission user
  • ✓ Then only '<Permissions>' stock permissions are selected
Examples:
| Role | Permissions |
| Analyst | stock inventory, stock usage tracking |

@StockPermissions @LatestOnly
Scenario: Stock role defaults are selected and persist in the permission editor 2 22s 418ms
  • ✓ Given permission presets have the following defaults:
  • ✓ Given I am logged in as user 'StockRolePermissionAdmin'
  • ✓ And the stock permission user has no permissions
  • ✓ When I open the stock permission user in the permission editor
  • ✓ And the stock permission controls are 'visible'
  • ✓ And I select the '<Role>' permission preset
  • ✓ And only '<Permissions>' stock permissions are selected
  • ✓ And I save and reopen the stock permission user
  • ✓ Then only '<Permissions>' stock permissions are selected
Examples:
| Role | Permissions |
| Quality | stock inventory, stock expired |

@StockPermissions @LatestOnly
Scenario: Stock role defaults are selected and persist in the permission editor 3 21s 653ms
  • ✓ Given permission presets have the following defaults:
  • ✓ Given I am logged in as user 'StockRolePermissionAdmin'
  • ✓ And the stock permission user has no permissions
  • ✓ When I open the stock permission user in the permission editor
  • ✓ And the stock permission controls are 'visible'
  • ✓ And I select the '<Role>' permission preset
  • ✓ And only '<Permissions>' stock permissions are selected
  • ✓ And I save and reopen the stock permission user
  • ✓ Then only '<Permissions>' stock permissions are selected
Examples:
| Role | Permissions |
| LabManager | stock items manage, stock inventory, stock inventory manage, stock receive, stock adjust, stock usage tracking, stock expired |

@StockPermissions @LatestOnly
Scenario: Saved stock customisations determine access rather than the named role 1 38s 530ms
  • ✓ Given permission presets have the following defaults:
  • ✓ Given I am logged in as user 'StockRolePermissionAdmin'
  • ✓ And the stock permission user has no permissions
  • ✓ When I open the stock permission user in the permission editor
  • ✓ And I select the '<Role>' permission preset
  • ✓ And I remove 'stock inventory' permission
  • ✓ And I save and reopen the stock permission user
  • ✓ And I change the stock permission user's first name
  • ✓ And I save and reopen the stock permission user
  • ✓ And I sign in as the stock permission user
  • ✓ Then I cannot manually navigate to the 'Inventory' page
Examples:
| Role |
| Analyst |

@StockPermissions @LatestOnly
Scenario: Saved stock customisations determine access rather than the named role 2 39s 395ms
  • ✓ Given permission presets have the following defaults:
  • ✓ Given I am logged in as user 'StockRolePermissionAdmin'
  • ✓ And the stock permission user has no permissions
  • ✓ When I open the stock permission user in the permission editor
  • ✓ And I select the '<Role>' permission preset
  • ✓ And I remove 'stock inventory' permission
  • ✓ And I save and reopen the stock permission user
  • ✓ And I change the stock permission user's first name
  • ✓ And I save and reopen the stock permission user
  • ✓ And I sign in as the stock permission user
  • ✓ Then I cannot manually navigate to the 'Inventory' page
Examples:
| Role |
| Quality |

@StockPermissions @LatestOnly
Scenario: Saved stock customisations determine access rather than the named role 3 39s 309ms
  • ✓ Given permission presets have the following defaults:
  • ✓ Given I am logged in as user 'StockRolePermissionAdmin'
  • ✓ And the stock permission user has no permissions
  • ✓ When I open the stock permission user in the permission editor
  • ✓ And I select the '<Role>' permission preset
  • ✓ And I remove 'stock inventory' permission
  • ✓ And I save and reopen the stock permission user
  • ✓ And I change the stock permission user's first name
  • ✓ And I save and reopen the stock permission user
  • ✓ And I sign in as the stock permission user
  • ✓ Then I cannot manually navigate to the 'Inventory' page
Examples:
| Role |
| LabManager |

@StockPermissions @LatestOnly @ChangesSubscriptionTier
Scenario: Changing and resetting a role while subscription hides Stock preserves saved stock grants 38s 037ms
  • ✓ Given permission presets have the following defaults:
  • ✓ Given I am logged in as user 'StockRolePermissionAdmin'
  • ✓ And the stock permission user has only 'stock inventory, stock receive' permissions
  • ✓ When The organisation subscription tier is set to 'Essentials'
  • ✓ And I open the stock permission user in the permission editor
  • ✓ And the stock permission controls are 'hidden'
  • ✓ And I select the 'Analyst' permission preset
  • ✓ And I click ok
  • ✓ And I remove 'clients view' permission
  • ✓ And I save and reopen the stock permission user
  • ✓ And I reset permissions to the selected role defaults
  • ✓ And I save and reopen the stock permission user
  • ✓ And The organisation subscription tier is set to 'Enterprise'
  • ✓ And I open the stock permission user in the permission editor
  • ✓ Then only 'stock inventory, stock receive' stock permissions are selected

Scenario: I can select a job and verify the tests for it 26s 020ms
  • ✓ 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 17s 817ms
  • ✓ 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 31s 312ms
  • ✓ 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 46s 289ms
  • ✓ 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 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 (inclusive). Warning Limit: Between 2 and 4 (inclusive)' in the output spec summary

Scenario: I can see the warning on approve samples when a sample is out of warning limits 47s 775ms
  • ✓ 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 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 53s 270ms
  • ✓ 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 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 publish product 'EnterResultsWarnProduct' for Enter Results
  • ✓ 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 review the result limit details 'Warning limit: Between 2 and 4'

Scenario: I can see the warning on the verify tests page when a sample is out of warning limits 48s 002ms
  • ✓ 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 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 54s 663ms
  • ✓ 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 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 open the created job directly 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 48s 514ms
  • ✓ 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 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 open the created job directly 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 57s 625ms
  • ✓ 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 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 open the created job directly 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 1min 7s
  • ✓ 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 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 open the created job directly 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 open the created job directly 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

Scenario: A new user sees the welcome tutorial on first login 15s 555ms
  • ✓ Given I have created a new user 'WelcomeTutorialNewUser' who has not seen the welcome tutorial
  • ✓ When I am logged in as the created user 'WelcomeTutorialNewUser'
  • ✓ Then the welcome tutorial is displayed
  • ✓ And the welcome tutorial displays screen '1' of '6'

Scenario: A new user can navigate and finish the welcome tutorial 27s 746ms
  • ✓ Given I have created a new user 'WelcomeTutorialNavigationUser' who has not seen the welcome tutorial
  • ✓ And I am logged in as the created user 'WelcomeTutorialNavigationUser'
  • ✓ When I navigate through and finish the welcome tutorial
  • ✓ Then the welcome tutorial closes
  • ✓ And I can continue using LabHQ from the dashboard

Scenario: A new user can skip the welcome tutorial and replay it later 14s 902ms
  • ✓ Given I have created a new user 'WelcomeTutorialSkipUser' who has not seen the welcome tutorial
  • ✓ And I am logged in as the created user 'WelcomeTutorialSkipUser'
  • ✓ When I skip and later exit the welcome tutorial
  • ✓ Then the welcome tutorial closes
  • ✓ And I can continue using LabHQ from the dashboard

Scenario: A user who has already seen the tutorial is not shown it automatically 9s 688ms
  • ✓ Given I have created the user 'WelcomeTutorialExistingTestUser'
  • ✓ When I am logged in as the created user 'WelcomeTutorialExistingTestUser'
  • ✓ Then the welcome tutorial is not displayed
  • ✓ And I can continue using LabHQ from the dashboard

Analytics


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

Duration: 1h 5min
Analytics


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

Duration: 1h 5min
Analytics


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

Duration: 1h 5min
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 'StockAdjustPermissionAdmin'
Given in-date, expired and expiring-soon stock batches exist
And the stock permission user has only 'stock adjust' permissions
When I sign in as the stock permission user
When I open the 'Adjust Stock' stock screen
And I sign in as the stock fixture administrator
And I open the 'Inventory' stock screen
And I click on stock item 'PermissionStock'
Then stock batch 'PERM' has available quantity '<Quantity>'
Given I have created the user 'DeleteSetupPermissionsUser' without permissions 'setup data delete'
Given I am logged in as user 'DeleteSetupPermissionsUserrm'
And I add the default client to both users
When I Log out of LabHQ
When 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
Given I have created the user 'PublishSetupPermissionsUser' without permissions 'setup data publish'
Given I am logged in as the created user 'PublishSetupPermissionsUser'
When I click on the 'Setup' menu item
When 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
Given I have created the user 'ArchiveUserPermissionsUser' without permissions 'user accounts archive'
Given I am logged in as user 'archiveuserpermissionsuserrm'
When 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' without permissions 'user accounts manage'
Given I am logged in as the created user 'ViewUserPermissionsUser'
When I click on the 'System settings' menu item
Then I can see the organisation configure button
Then I cannot see the 'user accounts' menu item
And I cannot manually navigate to the 'User accounts' page
Given I have created the user 'EquipmentPermissionUser' without permissions 'equipment items manage'
Given I am logged in as the created user 'EquipmentPermissionUser'
When 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' without permissions 'equipment maintenance manage'
Given I am logged in as the created 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 'ResultsImportConfigurationPermissionsUser' without permissions 'results import configuration manage'
Given I am logged in as the created user 'ResultsImportConfigurationPermissionsUser'
When I click on the admin icon
Then I can see the 'Organization' menu item
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 'StockSharedPermissionAdmin'
And stock permission usage history exists
And the stock permission user has only '<Permission>' permissions
When I open the '<Screen>' stock screen
And I open shared details for stock item '<Item>' from '<Screen>'
Then stock batch '<Batch>' cannot be opened from the item details
Given a disposable organisation is ready for trial creation
When a BSL administrator creates it through the Admin API with the default trial duration
When its initial administrator signs in
Then the organisation shows its persisted 30 day Advanced trial and Advanced access
Given a disposable organisation has an active Advanced trial
When its administrator views subscription information after the trial end date while expiry is pending
Then the trial is shown as ending shortly with its end date and upgrade route
When its administrator creates a second trial user
When creating a third trial user is refused
And the second trial user is archived and a replacement is created
And reinstating the original trial user is refused while the trial is full
And the replacement is archived and the original trial user is reinstated
Then the trial has two non-archived users with the original user reinstated
Given a disposable organisation has an active Advanced trial with two users
When a BSL administrator converts its active trial to Paid Advanced through the Admin API
When its administrator creates a third trial user
Then paid Advanced access and three users are available with the trial end date retained
Given a disposable expired trial has two users and retained Advanced equipment
When both trial users sign in and use Essentials while Advanced access is restricted
When a BSL administrator purchases Advanced after trial expiry through the Admin API
Then the retained equipment is accessible again and the trial end date is unchanged
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 'completionuser'
When I progress a job through the lifecycle with batchNo 'Completion<Outcome>' and input value '<Input>' and spec 'Default specification'
When I open the created job directly on the job viewer
Then the job detail displays the final lifecycle status
Then all '1' sample rows display the final lifecycle status
When I view the first sample on the job
Then the sample and its tests display the final lifecycle status
When I click on the default test method by name
Then the test detail displays the final lifecycle status
Then the completed sample retains internal approval metadata and specification outcome '<Outcome>'
When I click on the 'job' menu item
Then the created job row displays the final lifecycle status
When I click on the 'sample' menu item
Then the created sample row displays the final lifecycle status
Given I am logged in as user 'mixedcompletionuser'
Given I have a verified job with batch 'MixedCompletion' and sample input values:
When I approve the first prepared sample
Then the job detail lifecycle status is 'Results Verified'
When I approve all prepared samples
When I refresh the page
Then all '2' sample rows display the final lifecycle status
Given I am logged in as user 'revertcompletionuser'
Given I have a verified job with batch 'RevertCompletion<Surface>' and sample input values:
When I open the completion action menu on the '<Surface>'
When I choose the release-specific revert completion action
Then the revert success message uses the release-specific completion terminology
Then the sample detail lifecycle status is 'Results Verified'
When I click on the sample audit button
Then the reverted completion audit retains its historical action key and uses the release-specific label
Given I am logged in as user 'completionaudituser'
When I progress a job through the lifecycle with batchNo 'CompletionAudit' and input value '11' and spec 'Default specification'
And I click on the job audit button
Then the completion audit retains its historical action key and uses the release-specific label
Given I am logged in as user 'revertcommanduser'
Given I have a verified job with batch 'RevertCompletionCommand' and sample input values:
When I revert the first prepared sample through the lifecycle API
And I open the created job directly on the job viewer
Then only the reverted sample returns to Results Verified
Given I am logged in as user 'completioncertificateuser'
When I progress a job through the lifecycle with batchNo 'CompletionCertificate' and input value '11' and spec 'Default specification'
And I click on the Manage Certificates button
Then manage certificates displays the final job and sample lifecycle status
Given I have created the user 'completionpermissiontarget'
Given I am logged in as user 'completionpermissionadmin'
When I click on the 'User accounts' menu item
And I search for user 'completionpermissiontarget'
And I click on user account 'completionpermissiontarget'
Then the revert completion permission retains its key and displays the release-specific terminology
Given I have created the user 'completionrestricted' without permissions 'lifecycle revert approval'
Given I am logged in as user 'completionpermissionsetup'
When I progress a job through the lifecycle with batchNo 'CompletionPermission' and input value '5' and spec 'Default specification'
And I enter my credentials to log in to user 'completionrestricted'
And I open the completion action menu on the 'sample'
Then the completion action is unavailable without revert permission
Given I am logged in as user 'jobattachmentvisibilityuser'
When I submit a job with batchNo 'jobattachmentvisibility'
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
Then the attachment visibility is 'Internal only'
When I change the attachment visibility to 'Visible on Portal'
Then the attachment visibility is 'Visible on Portal'
When I change the attachment visibility to 'Internal only'
Given I am logged in as user 'sampleattachmentvisibilityuser'
When I submit a job with batchNo 'sampleattachmentvisibility'
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 'jobattachmentUser'
When I submit a job with batchNo 'jobattachment'
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
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'
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 can see the submitted job action on the audit
And 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'
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 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
Given I am logged in as user 'JobAuditCLinkUser'
Given I submit a job with batchNo 'JALCBatch'
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'
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 am on the audit page
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 close the product attachments
And the attachment audits for product 'AuditProductAttachmentProd' have arrived
And I can see 'Product attachment added'
And I can see 'Product attachment deleted'
Given I am logged in as user 'AuditSourceUser'
And I enter 'AuditSource' into the batch number
Then the audit Source column appears after User
Then the submitted job audit source is 'LabHQ App'
Given I am logged in as user 'AuditSourceFilterUser'
And I enter 'AuditSourceFilter' into the batch number
And I select only 'LabHQ App' from the audit source filter
And I select only 'MCP' from the audit source filter
Then I can no longer see the submitted job action on the audit
Given a disposable pilot organisation with an authorised MCP client manager and a client with contact and product details
When the manager updates the client's notes through MCP with a reason for change
Then LabHQ saves only the intended change and records the manager and reason in the audit
Given I am logged in as user 'BarcodeScanDefaultUser'
When I click on the my account button
Then barcode scan mode is enabled by default
Given I am logged in as user 'BarcodeScanSampleUser'
Given I submit a job with batchNo 'BarcodeScanSample'
And I have navigated to the 'products' page
And barcode scan mode is enabled
When I scan the created sample barcode
Then I am directed to the created sample viewer
Given I am logged in as user 'BarcodeScanInvalidUser'
Given barcode scan mode is enabled
When I scan barcode content '<Content>'
Then I can see the message of '<Message>'
Given I am logged in as user 'BarcodeScanToggleUser'
Given I submit a job with batchNo 'BarcodeScanToggle'
When I disable barcode scan mode
Then I remain on the dashboard
When I enable barcode scan mode
Given I am logged in as user 'BarcodeScanUnsavedUser'
Given I submit a job with batchNo 'BarcodeScanUnsaved'
And I click on the sample edit button
And I enter 'Unsaved barcode scan change' into the description
And I scan the created sample barcode and dismiss the unsaved changes prompt
Then I remain on the current sample viewer
When I scan the created sample barcode and accept the unsaved changes prompt
Given I am logged in as user 'BarcodeScanLabelUser'
When I click on the label settings configure button
And I show the advanced label settings
Then I can see 'Sample Lookup'
Then the default sample label contains a QR barcode using the sample lookup token
Given I am logged in as user 'CalculationBuilderAdmin'
Given the calculation builder is enabled for my organisation
Given I have created a test method called 'DesignerFormulas' with 1 numeric calculation input
When I open the Test Methods list from Setup
When I click on the edit test method button for test method 'DesignerFormulas' on the test method page
And I click the create output button
And I choose calculation input '$1' named 'AutoInput-0'
And I apply the 'multiply' calculation operation
And I open the value picker for formula slot '1'
And I enter number '2.5' from the value picker
And I select formula group 'root'
And I add the 'absolute' function from 'mathematics'
And formula groups 'root' and '0' have different colours
And the formula code is 'ABS(($1 * 2.5))'
And I select the 'display' formula tab
And I use the rounded result in the display formula
And I apply the 'add' calculation operation
And I enter text ' g (measured)' from the value picker
And the formula code is '($R + " g (measured)")'
And I name the output 'MeasuredMass'
And I change the output units to 'g'
And I set the decimals to 0
And I click to hide the output from reports
And changing formula tabs and modes keeps output 'MeasuredMass' with units 'g', decimals '0' and Show on report cleared
And I enter '1' in example input '$1'
And I run Try it out
And Try it out shows raw '2.5 g', rounded '3 g' and display '3 g (measured)'
And I can see test method 'DesignerFormulas' on the test method view page
And I click the edit test method button
And I click on output options for output '1'
And I click the edit output option
Then the formula code is '($R + " g (measured)")'
Given I have created a test method called 'FormulaTooltips' with 1 numeric calculation input
When I click on the edit test method button for test method 'FormulaTooltips' on the test method page
And I click on output options for output '0'
Then the 'multiply' operation is labelled 'Multiply' and explains 'Multiplies the two values together.'
Given I have created a test method called 'ConditionalDisplay' with 3 numeric calculation inputs
When I click on the edit test method button for test method 'ConditionalDisplay' on the test method page
And I name the output 'RangeDecision'
And I add the 'condition' condition
And I open the value picker for formula slot '0.0'
And I choose input '$1' named 'AutoInput-0' from the value picker
And I set the comparison at '0' to 'greaterThan'
And I open the value picker for formula slot '0.1'
And I enter number '1' from the value picker
And I select formula group '0'
And I add the 'and' condition
And I dismiss the value picker
And I add the 'lessThan' condition
And I open the value picker for formula slot '0.1.0'
And I choose input '$2' named 'AutoInput-1' from the value picker
And I open the value picker for formula slot '0.1.1'
And I enter number '5' from the value picker
And I add the 'or' condition
And I add the 'equal' condition
And I choose input '$3' named 'AutoInput-2' from the value picker
And I enter number '9' from the value picker
And I enter text 'In range' from the value picker
And I open the value picker for formula slot '2'
And I enter text 'Review' from the value picker
And formula slot '1' displays 'In range' as a text literal
And the formula code is '(((($1 > 1) && ($2 < 5)) || ($3 == 9)) ? "In range" : "Review")'
And I select the 'test' formula tab
And I enter '2' in example input '$1'
And I enter '3' in example input '$2'
And I enter '0' in example input '$3'
And Try it out displays 'In range'
And I enter '7' in example input '$2'
And Try it out displays 'Review'
And I enter '9' in example input '$3'
Then the conditional formula has If, When true and When false branches
Given I have created a test method called 'LongCalculationInputList' with 24 numeric calculation inputs
When I click on the edit test method button for test method 'LongCalculationInputList' on the test method page
And I open the value picker for formula slot 'root'
And I choose input '$24' named 'AutoInput-23' from the value picker
Then the formula code is '$24'
Given I have created a test method called 'MultiplicationChain' with 3 numeric calculation inputs
When I click on the edit test method button for test method 'MultiplicationChain' on the test method page
And I enter formula code '$1 * $2 * $3'
And I switch to the calculation Designer
And I select the multiplication at '0' and only 'AutoInput-0 g, AutoInput-1 g' are outlined
And I replace the selection with input '$3' named 'AutoInput-2'
And the formula code is '($3 * $3)'
And I undo in Designer
And the formula code is '$1 * $2 * $3'
And I redo in Designer
And I select the multiplication at 'root' and only 'AutoInput-0 g, AutoInput-1 g, AutoInput-2 g' are outlined
And I delete the selection in Designer
And the formula code is ''
Then the formula code is ''
Given I have created a test method called 'OriginalFormulaCode' with 3 numeric calculation inputs
When I click on the edit test method button for test method 'OriginalFormulaCode' on the test method page
And I enter formula code 'Math.Round(SUM($1::$3, 5), 2)'
And I enter formula code 'string.Format("{0:0.00}", ROUND($R, 2, MidpointRounding.AwayFromZero))'
And I can see test method 'OriginalFormulaCode' on the test method view page
And Designer displays the formula without rewriting 'Math.Round(SUM($1::$3, 5), 2)'
And Designer displays the formula without rewriting 'string.Format("{0:0.00}", ROUND($R, 2, MidpointRounding.AwayFromZero))'
And I enter formula code '$R.ToString("F3")'
And Designer explains why the formula is unavailable and opens the exact code '$R.ToString("F3")'
Then the copy is confirmed and the formula documentation is linked
Given I have created a test method called 'TryCalculation' with 1 numeric calculation input
When I click on the edit test method button for test method 'TryCalculation' on the test method page
And I enter formula code '$1 * 2.5'
And Try it out shows raw '2.5 g', rounded '3 g' and display '3 g'
And Try it out clears the previous results
And Try it out shows raw '5 g', rounded '5 g' and display '5 g'
And I set the decimals to 1
And Try it out shows raw '5 g', rounded '5.0 g' and display '5.0 g'
And I enter formula code 'NUM("not a number")'
And Try it out shows a 'display' error 'Could not format the result. Check the display formula.'
And I select the 'result' formula tab
And Try it out shows a 'result' error 'Could not calculate the result. Check the calculation and test values.'
And I enter formula code '$R'
Then Try it out shows raw '2.5 g', rounded '2.5 g' and display '2.5 g'
Given I have created a test method called 'LargeCalculation' with 1 numeric calculation input
When I click on the edit test method button for test method 'LargeCalculation' on the test method page
And I enter a large formula that adds forty terms
And I expand the calculation editor
And I fit, zoom and drag the calculation canvas
And the large formula is still intact
And I expand the oversized result preview for output 'AutoOutput-0'
Then the expanded viewer keeps the large formula and supports View, Code, copy, fit, zoom, drag and collapse
When I click on the edit test method button for test method 'PreviewCalculation' on the test method page
And I open the test method's inputs and outputs
And I hover over 'result' for output 'output-1' and see a read-only diagram containing 'AutoInput'
And I click the 'result' formula link for output 'output-1' and it opens that formula for editing
And the formula code is '$1'
And I click the cancel button
And I hover over 'display' for output 'output-1' and see a read-only diagram containing 'Rounded result'
And I click the 'display' formula link for output 'output-1' and it opens that formula for editing
And the formula code is '$R'
And I click on the test method 'PreviewCalculation' on the test method page
And I have progressed a job up to verify with batchNo 'preview-calculation' and input value '2' and spec ''
And I view the created job on the job viewer
And I view the test method 'PreviewCalculation' on the sample details page
Then I hover over 'result' for output 'output-1' and see a read-only diagram containing 'AutoInput'
Then I hover over 'display' for output 'output-1' and see a read-only diagram containing 'Rounded result'
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 have created the user 'clientdetailseditor' without permissions 'user accounts manage'
Given I am logged in as the created user 'clientdetailseditor'
And I have created a client called 'Client maintenance'
And I click on the default client on the clients page
And I enter 'Updated client maintenance' in the name field
And I save the client and wait for it to reload
Then the client details are saved as 'Updated client maintenance' without changing internal user assignments
Given I have created the user 'clientassignmenteditor' with permissions 'clients view, clients manage, setup data view, user accounts manage'
Given I am logged in as the created user 'clientassignmenteditor'
And I have created the user 'clientassignmentcolleague' with permissions 'clients view'
And I enter 'Account assignment client' in the name field
And I assign internal user 'clientassignmenteditor' to the client
And I can see the message of 'Client created successfully'
And I click on client 'Account assignment client' on the clients page
And I can see internal user 'clientassignmenteditor' assigned to the client
And I remove internal user 'clientassignmenteditor' from the client
And I assign internal user 'clientassignmentcolleague' to the client
And I save the client assignments and wait for them to reload
Then the saved client assigns internal user 'clientassignmentcolleague' instead of 'clientassignmenteditor'
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 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 'welcomevideouser'
When I click the play button on the dashboard welcome widget
Then the new LabHQ welcome video starts playing in the introduction dialog
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'
And I have updated the due date on sample with batch 'dueweek' to 'today'
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 navigate to the 'dashboard' page
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'
Then the User Accounts onboarding task opens the user accounts page
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 on the manage dashboard button
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' on the stock expiring soon widget
Given I am logged in as user 'StockDashboardPermissionAdmin'
And the stock permission user has no permissions
And I refresh the page
Then all stock permission dashboard widgets show their data
Then I cannot see the 'Stock' menu item
And I cannot manually navigate to the 'Expired Stock' page
And I cannot manually navigate to the 'Inventory' page
Given I am logged in as user '<user>'
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:
And I can see the expiry date input is 'yesterday'
And I populate the testing details form with the default product and test suite
And recently received stock batch '<batchNo>' is displayed
And I receive the job with batch '<batchNo>'
And I click on the view sample link to be taken to the submitted sample for stock batch '<batchNo>'
And I enter due date 'yesterday' on the sample viewer
And I can see the sample due date value is 'yesterday'
And I click on the admin icon
And I select timezone '<timezone>' from the timezone drop down
And I can see the message of 'Settings updated successfully'
And I click on the 'Stock' menu item
And I click on stock item '<itemName>'
And I can see stock batch '<batchNo>' has expiry date 'yesterday'
And I enter 'yesterday' on the audit after date filter
Then I can see the audit after date filter is 'yesterday'
Then I can see the header timezone is '<timezone>'
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 the invalid numeric result is rejected
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 click into the first input and type '123' on the keyboard
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'
When I press enter on the keyboard
When I press arrow down on the keyboard
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'
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'
And I drop down the test method 'NewTestTestMethod' on the enter results page
And I enter '2' into the default input
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 confirm the test method associations
And I click to save test method 'ERSTockTM'
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.'
Given I am logged in as user 'StockResultsPermissionAdmin'
And a stock usage permission test is ready
And the stock permission user has only 'lifecycle results, stock usage tracking' permissions
When I open the stock permission test at 'enter results'
And I open the stock permission test usage dialog
And I choose stock batch 'PERM' for stock item 'PermissionStock'
And I enter a quantity of '5'
Then the stock permission usage history shows the recorded batch
And the stock permission user has only 'lifecycle results' permissions
Then the stock permission test has no usage action
Given I am logged in as user 'LatestResultsLinkUser'
When I open a received two-sample job from an existing results link
Then the linked job is shown in Enter Results
Given I am logged in as user 'ResultsCommitCancelUser'
When I open a received two-sample job from the results work queue
When I commit '12' and cancel '34' using the grid keyboard controls
And I reload the saved results job
Then the persisted results inputs are '12' and ''
Given I am logged in as user 'ResultsPasteCopyUser'
When I paste '12' and '34' into successive result inputs
And I can see '34.0' in the output field
Then the copied input range contains '12' and '34'
Given I am logged in as user 'ResultsPasteOutputUser'
When I paste '56' into the input and '999' into the adjoining output
And I can see '56.0' in the output field
Then I can see '56.0' in the output field
Given I am logged in as user 'ResultsShortcutsUser'
Then the workspace shortcuts open and focus their controls
Given I am logged in as user 'createequipmentuser'
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 save the new equipment item
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 'equipmentusageuser'
Given I have an equipment usage job with '1' tests
Given the equipment usage subscription tier is '<Tier>'
When I open equipment for test '1' from 'Enter Results'
When unchanged equipment cannot be saved
And I search equipment using the mixed-case name of 'Balance'
And I search equipment by the reference of 'Centrifuge'
And equipment search 'no-such-equipment-usage-item' shows no results
And I record equipment 'Centrifuge,Balance'
And the equipment used list is 'Centrifuge,Balance'
And equipment 'Balance' is already selected and cannot be recorded again
And I remove recorded equipment 'Balance'
And I search equipment by the reference of 'Balance'
And I record equipment 'Balance'
And I save the equipment usage
And I open equipment for test '1' from 'Test Details'
Then the equipment used list is 'Balance,Centrifuge'
When I record equipment 'Balance,Centrifuge'
And there are '1' equipment usage audit entries
And unchanged equipment cannot be saved
And I record equipment 'Oven'
And I discard equipment changes using '<Exit>'
And I open equipment for test '1' from 'Enter Results'
And the equipment used list is 'Balance,Centrifuge'
And I discard equipment changes using 'Cancel'
Then there are '1' equipment usage audit entries
Then an equipment audit records 'Linked' items 'Balance,Centrifuge' for test '1' with reason 'none'
And the equipment usage audit count remains '1'
Given I have an equipment usage job with '2' tests
When I record equipment 'Balance'
And I open equipment for test '2' from 'Enter Results'
And the equipment used list is 'none'
And I open equipment for test '2' from 'Test Details'
And the equipment used list is 'Balance'
And I submit the equipment job results without requiring equipment on every test
And I verify and approve the equipment job
And equipment test '2' has final lifecycle status
And I record equipment 'Centrifuge'
And the equipment used list is 'Centrifuge'
And I remove recorded equipment 'Centrifuge'
Then equipment test '2' has final lifecycle status
Given the equipment removal reason setting is '<Setting>'
When I open equipment for test '2' from 'Enter Results'
When I record equipment 'Centrifuge,Balance'
And I remove recorded equipment 'Centrifuge,Balance'
And I record equipment 'Meter,Oven'
And <Save>
And the equipment used list is 'Meter,Oven'
And there are '3' equipment usage audit entries
Then an equipment audit records 'Removed' items 'Balance,Centrifuge' for test '2' with reason '<Reason>'
Then an equipment audit records 'Linked' items 'Oven,Meter' for test '2' with reason 'none'
And an equipment audit records 'Linked' items 'Balance,Centrifuge' for test '2' with reason 'none'
Given the equipment removal reason setting is 'enabled'
And I cancel the equipment removal reason and edit
Then the equipment usage audit count remains '1'
Then an equipment audit records 'Linked' items 'Balance' for test '1' with reason 'none'
And I decommission usage equipment 'Balance'
And decommissioned usage equipment 'Balance' cannot be selected
Then the equipment used list is 'none'
When I open the equipment job in Enter Results
Then the equipment entry points are '<Visibility>'
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 'StockExpiredPermissionAdmin'
And the stock permission user has only 'stock expired' permissions
When I open the 'Expired Stock' stock screen
Then the expiry tab shows item 'PermissionSoon' and batch 'PERM-SOON'
Then stock batch 'PERM-EXPIRED' cannot be disposed
And the stock permission user has only 'stock expired, stock adjust' permissions
And I click to dispose stock batch 'PERM-EXPIRED'
And I can see the message of 'Stock batch disposed successfully'
Then I can no longer see stock item 'PermissionExpired' showing here
Given I am logged in as user 'ExportJobValidationUser'
Given I have progressed a job up to approval with batchNo 'Export selection' and input value '5'
When I click on the 'Reporting' menu item
When I click on the 'Export results' menu item
And I choose the 'results' export format
And the export defaults to the previous month in UTC
And I choose the selected jobs filter
And the export cannot start
And I type 'not a valid job!' into the export job search
And I cannot add the typed job to export
And I type '010100-999999' into the export job search
And I select the created job for export
And the export can start
And I cannot select the created job twice for export
And I remove the created job from export
Then the export cannot start
Given I am logged in as user 'ExportJobSwitchUser'
Given I have progressed a job up to approval with batchNo 'First export job' and input value '5'
And I have a second submitted export job
And I enter the date range '01/01/2023' to '02/01/2023' on the export page
And I start the results export
And I download the export CSV
Then the CSV includes only the created job
Given I am logged in as user 'ExportDateSwitchUser'
And I choose the 'samples' export format
And I choose the submitted date filter
Then the CSV includes both created jobs
Given The organisation subscription tier is set to 'Growth'
Given I am logged in as user 'ExportMultipleJobsUser'
And I have progressed a job up to approval with batchNo 'First export job' and input value '5'
And I select the second created job for export
Given I am logged in as user 'ExportGrowthUser'
And I have progressed a job up to approval with batchNo 'Growth export' and input value '5'
Given I am logged in as user 'ExportAllClientsUser'
And I have a second submitted export job for another client
When I select only the default client from the client filter
And I click on the 'Export results' menu item
Given I am logged in as user 'GuidedSubmitJobIdUser'
Then the guided job ID is awaiting automatic assignment
When I select the default client from the list
When I enter 'GeneratedJobIdBatch' into the batch number
And I go to the next submission step
And I select the default product and set its sample count to '1'
And I select the default test suite for the active sample
And I submit the new job from the review
Then the submitted job has an automatically generated ID
When I customise the job ID using the generated job ID
Then I am warned that the job ID already exists
When I change the job ID to a unique value starting with 'GUIDED'
And I enter 'CustomJobIdBatch' into the batch number
And I select the default product and set its sample count to '3'
Then I can see 3 samples with IDs generated from the changed job ID
Given I am logged in as user 'GuidedSubmitUser'
And I enter 'GuidedJobBatch' into the batch number
And I enter 'Guided job description' into the new job description
And I enter sample batch 'GuidedSampleBatch', reference 'GuidedReference' and description 'Guided sample description'
And I copy the active sample details to all samples
And I go to the next sample
Then the active sample contains batch 'GuidedSampleBatch', reference 'GuidedReference' and description 'Guided sample description'
When I go to the previous sample
When I go to the next submission step
Then the job submission review displays 'GuidedJobBatch'
Then the job submission review displays 'Guided job description'
And the job submission review displays 'GuidedSampleBatch'
And the job submission review displays 'GuidedReference'
And the job submission review displays 'Guided sample description'
When I edit the job details from the submission review
When I enter 'Edited guided job description' into the new job description
Then the job submission review displays 'Edited guided job description'
When I edit sample '2' for the default product from the submission review
When I submit the new job from the review
Then I can see the job details on the job viewer
Then I can see the job status is 'Submitted' on the job viewer
Given I am logged in as user 'GuidedSubmitValidationUser'
Then the guided submission next button is disabled
When I select the default product and set its sample count to '1'
When I search for the already selected default product
Then the already selected product cannot be selected again
When I clear the active sample batch number
Given I am logged in as user 'GuidedSubmitSampleValidationUser'
Given I have submission data with multiple test suites
When I select the client with a product that has multiple test suites
And I enter 'ValidationBannerBatch' into the batch number
And I select the product with multiple test suites and set its sample count to '1'
And I clear the active sample batch number
Then the active sample validation displays 'A batch number is required'
Then the active sample validation displays 'A test suite is required'
And the active sample validation displays 'At least one test method is required'
When I enter 'ValidSampleBatch' as the active sample batch number
When I select the default test suite for the active sample
Then the active sample validation confirms the sample is valid
Given I have configured the first custom sample field as '<title>' with type '<fieldType>'
Given I am logged in as user '<username>'
And I enter 'CustomFieldValidationBatch' into the batch number
And I enter '<value>' in submit custom field '<title>'
Then the active sample validation displays '<message>'
Given I am logged in as user 'GuidedSubmitPendingChangesUser'
And I try to leave the dirty guided submission and dismiss the warning
Then I remain on the guided submission
Given I have set the first custom job field as 'Guided job field'
Given I have set the first custom sample field as 'Guided sample field'
And I am logged in as user 'GuidedSubmitCustomFieldsUser'
And I enter 'CustomFieldsBatch' into the batch number
And I enter 'Job field value' in submit custom field 'Guided job field'
And I enter 'Sample field value' in submit custom field 'Guided sample field'
Then the job submission review displays 'Job field value'
Then the job submission review displays 'Sample field value'
Then I can see the value 'Job field value' for the field 'Guided job field'
Then I can see the value 'Sample field value' for the field 'Guided sample field'
Given I am logged in as user 'GuidedSubmitTestsUser'
And I enter 'GuidedTestsBatch' into the batch number
And I select the product with multiple test suites and set its sample count to '2'
Then no test suite is selected for the active sample
Then the default test method is displayed as an assigned test
When I remove the default test method from the active sample
Then the active test suite is highlighted as customised
When I add the additional test method to the active sample
When I add the default test method to the active sample
Then the additional test method is displayed as an assigned test
And the active test suite is highlighted as customised
When I set the default test method total to '3' and copy it to the other methods
Then both assigned test methods have a total of '3'
When I copy the active test suite and tests to all product samples
When I go to the next sample
And both assigned test methods have a total of '3'
Then I See 3 repeats for test method 'AutoTestMethod'
Then I See 3 repeats for test method 'GuidedAdditionalTestMethod'
Given I am logged in as user 'GuidedSubmitTestMethodAvailabilityUser'
Given I have created a test method called 'GuidedLinkedTestMethod'
And I have created an unlinked test method called 'GuidedUnlinkedTestMethod'
And I enter 'GuidedTestMethodAvailability' into the batch number
Then I can see test method 'GuidedLinkedTestMethod' when editing tests on the create job page
Then I can see test method 'GuidedUnlinkedTestMethod' when editing tests on the create job page
Given I am logged in as user 'GuidedSubmitClientChangeUser'
Given I have created a visible secondary customer client called 'GuidedSecondaryClient'
And I select the default product and set its sample count to '2'
And I go to the previous submission step
And I attempt to change to the visible secondary client
Then I am warned that changing client will clear dependent submission data
When I cancel changing the submission client
Then the default submission client remains selected
When I confirm changing to the visible secondary client
Then the selected products and samples are cleared for the new client
Given I am logged in as user 'GuidedSubmitSampleLimitsUser'
And I set the default product sample count to zero
Then the default product retains at least one sample
When I fill the default product to the sample limit and try to exceed it
Then the default product sample count remains at the configured limit
When I remove the default product from the submission
Then no products or samples remain selected
Given I am logged in as user 'GuidedSubmitDeleteSampleUser'
And I enter 'DeleteSampleJobBatch' into the batch number
And I enter 'KeepFirstSample' as the active sample batch number
And I enter 'RemoveMiddleSample' as the active sample batch number
And I enter 'KeepLastSample' as the active sample batch number
And I go to the previous sample
And I delete the active sample
Then the active sample batch number is 'KeepLastSample'
Then the active sample batch number is 'KeepFirstSample'
When I delete the active sample
Then the sample details show that a sample must be added
When I go to the previous submission step
Given I am logged in as user 'GuidedSubmitMultipleProductsUser'
And I enter 'MultiProductJobBatch' into the batch number
And I go directly to the 'Products & Samples' submission step
And I go directly to the 'Sample Details' submission step
Then the active sample batch number defaults to 'MultiProductJobBatch'
When I enter sample batch 'CopiedBatch', reference 'CopiedReference' and description 'Copied description'
When I copy the active sample details to all samples
Then the active sample contains batch 'CopiedBatch', reference 'CopiedReference' and description 'Copied description'
When I go directly to the 'Review & Submit' submission step
Then the job submission review displays both selected products
Given I am logged in as user 'GuidedSubmitFinalCoverageUser'
Then the guided submission steps have the following states:
When I go directly to the 'Products & Samples' submission step
When I go directly to the 'Sample Details' submission step
And I enter 'OptionalJobFieldsSampleBatch' as the active sample batch number
When I submit the new job while attempting a duplicate submission and verify the success notification
Given I am logged in as user 'GuidedSubmitPermissionSetupUser'
Given I have created the user 'GuidedSubmitWithoutReceiveUser' without permissions 'lifecycle receive'
Given I am logged in as the created user 'GuidedSubmitWithoutReceiveUser'
And I enter 'WithoutReceivePermissionBatch' into the batch number
Then the submission review only displays the standard submit action
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 open batch 'BAT987' for editing
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 return to the available batches for 'BatchStock'
Then I can see the following information on the batch pop up:
Given I am logged in as user 'StockInventoryPermissionAdmin'
And the stock permission user has only 'stock inventory' permissions
When I open the 'Inventory' stock screen
Then stock batch 'PERM' cannot be edited from inventory
And the stock permission user has only 'stock inventory, stock inventory manage' permissions
And I open batch 'PERM' for editing
And I enter 'PERM-EDITED' in the batch input
And I return to the available batches for 'PermissionStock'
Then stock batch 'PERM-EDITED' has available quantity '100'
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'
And I click on the edit button
Then I can see the message of 'Investigation updated successfully'
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 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 enter 'CustomJob' into the batch number
Then I can see the custom job field 'autojobfield'
Then I click on the edit button
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 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 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
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 '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 have created the user 'AddSamplePermissionsUser' without permissions 'jobs add samples'
Given I am logged in as user 'AddSamplePermissionsUserem'
And I have progressed a job up to enter results with batchNo 'spec'
When 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' without permissions 'jobs delete'
Given I am logged in as user 'DeleteJobPermissionsUserrm'
When I enter my credentials to log in to user 'DeleteJobPermissionsUser'
And I click the job options button
Given I have created the user 'EditJobPermissionsUser' without permissions 'jobs edit'
Given I am logged in as user 'EditJobPermissionsUserrm'
When 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 'JobAAttachmentsPermissionsUser' without permissions 'jobs add attachments'
Given I am logged in as user 'JobAAttachmentsPermissionsUserrm'
When I click on attachments
When I enter my credentials to log in to user 'JobAAttachmentsPermissionsUser'
Then I cannot add new attachments
Then I cannot amend the attachment visibility
Given I have created the user 'JobDAttachmentsPermissionsUser' without permissions 'jobs delete attachments'
Given I am logged in as user 'JobDAttachmentsPermissionsUserrm'
When I enter my credentials to log in to user 'JobDAttachmentsPermissionsUser'
Then I cannot see the option to delete the attachment
Then I can amend the attachment visibility
Given I am logged in as user 'SearchJobUser'
Given I have progressed a job up to enter results with batchNo 'SearchJob'
And I open the filters panel on the 'job' viewer
And I search the 'job' viewer for 'NULL'
And I can see the message of 'No jobs found. Please refine your search'
And I search the 'job' viewer for 'SearchJob'
And The job 'SearchJob' shows on the job viewer
And I search the 'job' viewer for ' iN tE '
And the created job has status search highlight 'In Te'
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 the final lifecycle status on the job 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'
Then The sample 'SampleView' shows on the sample viewer
Given I am logged in as user 'SampleApprovalTerminologyUser'
When I progress a job through the lifecycle with batchNo 'SampleApprovalTerminology' and input value '5' and spec 'Default specification'
And I click on the 'sample' menu item
And the sample viewer shows the completed date column
And I open the filters panel on the 'sample' viewer
And the sample filters show completed date terminology
And I enter a sample approval date range
And the active sample filters show completed date terminology
And I open the created sample inspector
Then the sample inspector shows completed on and completed by
Given I am logged in as user 'SampleSearchUser'
Given I have progressed a job up to enter results with batchNo 'SampleSearch'
And I search the 'sample' viewer for 'NULL'
And I can see the message of 'No samples found. '
And I search the 'sample' viewer for 'SampleSearch'
And The sample 'SampleSearch' shows on the sample viewer
And I search the 'sample' viewer for ' In tE '
And sample '1' has 'status' search highlight 'In Te'
And I search the 'sample' viewer for ' oPrOd '
And sample '1' has 'product' search highlight 'oProd'
Then The sample 'SampleSearch' shows on the sample viewer
Given I have progressed a job up to enter results with batchNo 'SampleProduct'
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 have progressed a job up to enter results with batchNo 'JobFilterOutBatch'
And I select 'clientFilterClient' in the job client filter
And I select 'clientFilterMethod1' in the job test method filter
Then I cannot see job with batch 'JobFilterOutBatch' on the job viewer
Then I can see job with batch 'JobFilterInBatch' on the job viewer
And I progress the submitted job with batch 'SampleFinalBatch' to approval with input value '123'
And I select the final lifecycle status as the sample status from
And I select the final lifecycle status as the sample status to
And I search the sample viewer for the final lifecycle status
Then I cannot see sample with batch 'SampleInTestBatch' on the sample viewer
Then The sample 'SampleFinalBatch' shows on the sample viewer
Given I am logged in as user 'DownloadJobCertManageCertificatesUser'
Given I have progressed a job through the lifecycle process with batchNo 'jobcert' and input value '234'
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 the job certificate generate button on manage certificates
Then I can see my new manage certificates template is selected by default
Then I can select a custom manage certificates template
And I cannot see certificate output format options
When I confirm the certificate settings and wait for the pdf file download
Then I can see 1 job certificates on manage certificates
When I open the generated job certificates tab on manage certificates
Then I can see 1 certificates in the manage certificates history
Then the first certificate uses the selected custom template
And I can see the first certificate is for the primary client
And I can see the first certificate is a pdf document in the manage certificates history
And I can see the first certificate details in the manage certificates history
And I can download the first certificate from the manage certificates history
When I click the close button
Then I can see the generated job certificate on the audit
When I click on certificates
Then I can see the job certificate attachment showing here
Then I can download the first certificate from the certificates section
When I click on the Manage Certificates button
And I open the generated job certificates tab on manage certificates
And I delete the first certificate from the manage certificates history
Then I can see the message of 'Job certificate deleted successfully.'
Then I can see 0 certificates in the manage certificates history
Then I can see the deleted job certificate on the audit
Then I click on the 'System settings' 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 'PreviewPdfOnlyJobCertUser'
Given I have enabled DOCX certificate output
And I have created a visible secondary customer client called 'SecondaryJobPreviewClient'
And I have progressed a job up to approval with batchNo 'previewpdfonlyjobcert' and input value '123'
And I click the job certificate preview button on manage certificates
Then I can see certificate output format options
Then I cannot select DOCX as the certificate output format
When I select the secondary client in certificate settings
Then I can see the selected manage certificates job is the current job
Then I can see 0 job certificates on manage certificates
Given I am logged in as user 'RegenerateDocxJobCertUser'
And I have progressed a job through the lifecycle process with batchNo 'regendocxjobcert' and input value '234'
When I select DOCX as the certificate output format
When I confirm the certificate settings and wait for the docx file download
Then I can see the first certificate is a docx document in the manage certificates history
When I regenerate the first certificate from the manage certificates history
Then I can see DOCX is selected as the certificate output format
Then I confirm the certificate settings and wait for the docx file download
And I can see the message of 'Job certificate regenerated successfully.'
And I can see 2 certificates in the manage certificates history
And I click on certificates
Then I can see 2 generated certificates in the certificates section
Then I can see the regenerated job certificate on the audit
Given I am logged in as user 'JobCertDefaultClientUser'
Given I have progressed a job through the lifecycle process with batchNo 'defaultjobcertclient' and input value '234'
Then I can see the primary client is selected in certificate settings
Given I am logged in as user 'GenerateJobCertSecondaryClientUser'
Given I have created a visible secondary customer client called 'SecondaryJobGenerateClient'
And I have progressed a job through the lifecycle process with batchNo 'generatesecondaryjobcert' and input value '234'
And I confirm the certificate settings and wait for the file download
And I select the secondary client in certificate settings
Then I can see 2 certificates in the manage certificates history
Then I can see the first certificate is for the secondary client
And I can see the latest certificate is marked in the manage certificates history
And I regenerate the first certificate from the manage certificates history
Then I can see the secondary client is selected in certificate settings
Given I am logged in as user 'CannotGenerateJobCertManageCertificatesUser'
Given I have progressed a job up to approval with batchNo 'nogeneratejobcert' and input value '123'
Then I cannot click the job certificate generate button on manage certificates
Given I am logged in as user 'PartialApprovalJobCertUser'
And I enter 'partialapprovaljobcert' into the batch number
And I click submit and go to next step to submit job with batch 'partialapprovaljobcert'
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
And I cannot click the job certificate generate button on manage certificates
And I confirm the certificate settings and wait for the pdf file download
Given I am logged in as user 'CannotPreviewJobCertUser'
And I enter 'jobcert' into the batch number
And I click submit and go to next step to submit job with batch 'jobcert'
Then I cannot click the job certificate preview button on manage certificates
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'
And I edit the template configuration with the following:
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 'labelpresetoptionsuser'
Then the advanced label settings are hidden
Then I can see the following sample label presets:
Given I am logged in as user 'labelpresetapplyuser'
And I apply sample label preset '1'
Then the large container preset settings are loaded
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'
And I click on Change password
And I change my password to 'NewDetails123!AB'
And I enter username 'PassChangeUser' and password of 'NewDetails123!AB' 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'
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 'short12'
Then I can see the message of 'Invalid password: minimum length 8.'
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'
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 enter my credentials for user 'AppMfaUser'
Then I can see the setup page for MFA application authorisation
Given I am logged in as user 'ManageCertificatesUser1'
Given I have progressed a job up to approval with batchNo 'ManageCertAccess' and input value '12.3'
When I click on the 'Manage Certificates' menu item
And I select the current job on manage certificates
Then I can see the primary client is selected on manage certificates
Given I am logged in as user 'ManageCertificatesUser2'
Given I have progressed a job up to approval with batchNo 'ManageCertJobDetails' and input value '8.2'
Given I am logged in as user 'ManageCertificatesUser3'
Given I have progressed a job up to approval with batchNo 'ManageCertSampleDetails' and input value '7.4'
Given I am logged in as user 'ManageCertificatesUser4'
When I progress a job up to approval with batchNo 'ManageCertApproveSamples' and input value '5.1' and spec 'Default specification'
Given I am logged in as user 'ManageCertificatesUser5'
Given I have progressed a job up to approval with batchNo 'ManageCertSearch' and input value '11.8'
And I search manage certificates by the current job identifier
And I search manage certificates by the default client name
Then I can see sample status for the first sample on manage certificates
Given I am logged in as user 'ManageCertificatesUser6'
When I submit a job with batchNo 'ManageCertOlder'
When I store the current job id as the previous job id
And I submit a job with batchNo 'ManageCertLatest'
And I click on the 'Reporting' menu item
And I click on the 'Manage Certificates' menu item
Then I can see the jobs list is paginated on manage certificates
Then I can see the current job first and previous job second on manage certificates
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
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 'Resources' 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 can download the workbook using the re-download 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 can download the workbook using the download 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)'
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'
And I select only the default client from the client filter
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 a fresh MCP app and a user with access to seeded clients in North Lab and South Lab
When the user signs in to request read-only access
When the native picker shows the full names of both organisations
And the user chooses North Lab
And native consent shows the read-only access summary
And the user approves access
And the read-only connection can only read the North Lab client
And the user disconnects and signs in again for read-only access
And the user chooses South Lab
Then the new read-only connection can only read the South Lab client
Given a fresh MCP app and a user with authenticator MFA configured
When the user chooses North Lab and completes the required authenticator setup
Then the read-only connection is bound only to North Lab
Given an MCP reader with access to a seeded client in North Lab
When the reader approves a read-only connection and reads the client
When the reader loses '<access>'
Then the same connection denies reads after loss of '<access>'
Given a fresh MCP app and a user with access to North Lab and South Lab
When the user signs in to request '<grant>' access for the first time
When the user chooses North Lab
And native consent explains '<grant>' access
Then the connection is bound only to North Lab with the approved access
Given a fresh MCP app registered for all MCP scopes and a user with access to North Lab and South Lab
When the user signs in to request all MCP scopes for the first time
And native consent explains 'read and write' access
And the read-only connection is bound only to North Lab
And the same user starts a read and write request for the same app
And fresh native consent explains the new write approval
And the user cancels on the native consent page
Then the app receives access_denied without an authorisation code
Given a fresh MCP app registered for all MCP scopes and offline access and a user with access to North Lab and South Lab
And native consent keeps the summary and adds the stay signed in line
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 an Advanced organisation with its MCP setting and rollout on
When a user without settings permission uses the keyboard to copy and paste the URL from Profile
Then the administrator can copy and paste the URL from Profile with the keyboard or mouse
When the administrator signs in to the disposable clipboard organisation
Then the administrator can select and copy the URL from the Profile fallback dialog
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'
Given I am logged in as user 'EnforcedMfaUser'
When I enable the enforce MFA setting
And the enforce MFA setting is enabled
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 'localeChangeUser'
When I progress a job up to verify with batchNo 'localeChange' and input value '0.89' and spec 'Default specification'
And I select US from the locale drop down
Then I can see the submitted date in the US format
When I select timezone '<timezone>' from the timezone drop down
And I can see the header date matches organisation today
And I click on the 'Receive stock' menu item
And I can see the receive stock expiry date defaults to organisation today
And I enter '<batchNo>' into the batch number
And I click submit and go to next step to submit job with batch '<batchNo>'
And I can see the sample due date defaults to the next organisation working day
Given I have progressed a job up to verify with batchNo '<batchNo>' and input value '1' and spec 'Default specification'
When I select <locale> from the locale drop down
Then I can see the submitted date in the <locale> format
And recently received stock batch '<batchNo>' has a submitted sample link
And I select 'Stock Batch' from the audit type filter
And I select 'Stock Batch Received' from the audit actions
Then the stock receipt audit for batch '<batchNo>' is dated organisation today
Given I am logged in as user 'FailSpecOOSUser'
When I click on product 'FailSpecOOSProduct' on the products page
When I click the output to expand the spec
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 the email address for external user 'invite'
And I click on the menu for external user 'invite'
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:'
And I confirm revoking portal access and wait for the client to reload
And I can no longer see the external user 'invite' in the list
And I re-enter the email address for external user 'invite'
Then I can see the message of 'Client updated successfully'
Then I can see the external user 'invite' 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 the email address for external user 'resend'
And I click on the menu for external user 'resend'
And I click on resend invite
Then I can see confirmation that the invitation email was resent to the external user
Given I have created a client called 'ResendFailExternalClient'
And I click on client 'ResendFailExternalClient' on the clients page
And I enter the email address for external user 'resendfail'
And I have accepted the invite for external user 'resendfail'
And I click on the menu for external user 'resendfail'
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 the email address for external user '<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 'ProductWalkthroughStartUser'
Then the product walkthrough is not automatically displayed
Then I can start the product walkthrough
When I start the product walkthrough
Then the product walkthrough shows the 'Welcome to Products' step
Given I am logged in as user 'ProductWalkthroughRestartUser'
And I start the product walkthrough
And I continue the product walkthrough
Then the product walkthrough shows the 'Create a Product' step
When I click the Create product button
Then the product walkthrough shows the 'Creating a Product' step
When I continue the product walkthrough
Then the product walkthrough shows the 'Enter Product Details' step
When I enter 'Discarded Walkthrough Product' in the walkthrough product name field
When I close the product walkthrough
Then the walkthrough product name is empty
Given I am logged in as user 'ProductWalkthroughValidationUser'
Then the product walkthrough remains on the 'Enter Product Details' step
When I enter 'Walkthrough Product' in the walkthrough product name field
Then the product walkthrough shows the 'Assign Test Suites' step
When I open the walkthrough test-suite selector
Then the product walkthrough shows the 'Manage Test Suites' step
Then the product walkthrough contains the practice test suite
Then the product walkthrough remains on the 'Manage Test Suites' step
When I add the practice test suite to the walkthrough product
Then the product walkthrough shows the 'Edit Test Suites' step
Then the product walkthrough shows the 'Confirm Test Suites' step
When I confirm the walkthrough dialog
Then the product walkthrough shows the 'Configure Specifications' step
Then the product walkthrough contains the practice specification data
Then the product walkthrough shows the 'Complete New Specifications' step
Then the product walkthrough shows the 'Select the Text Output' step
When I select practice output 'Appearance' in the walkthrough product
Then the product walkthrough shows the 'Configure Text-Based Specifications' step
When I return to the previous product walkthrough step
Then the product walkthrough remains on the 'Configure Text-Based Specifications' step
When I configure the practice text specification to accept 'Pass'
Then the product walkthrough shows the 'Select the Numeric Output' step
When I select practice output 'Moisture Content' in the walkthrough product
Then the product walkthrough shows the 'Configure Numeric Specifications' step
When I configure the practice numeric specification between '10' and '20'
Then the product walkthrough shows the 'Configure Warning Limits' step
When I enable practice warning limits
When I configure the practice warning limits between '12' and '18'
Then the product walkthrough shows the 'Specification Menu' step
When I open the walkthrough specification menu
Then the product walkthrough shows the 'Create Additional Specifications' step
Then the product walkthrough shows the 'Certificate Display' step
When I open the walkthrough certificate ordering dialog
Then the product walkthrough shows the 'Certificate Display Order' step
Then the product walkthrough shows the 'Confirm Certificate Display Order' step
Then the product walkthrough shows the 'View Related Clients' step
Then the product walkthrough shows the 'Default Certificate Template' step
Then the product walkthrough shows the 'Attachments' step
Then the product walkthrough shows the 'Update Specifications' step
Then the product walkthrough shows the 'Your Product is Ready' step
Then the product walkthrough links to the product user guides
Then the product walkthrough closes
Then the walkthrough product 'Walkthrough Product' was not saved
Given I have created the user 'ProductWalkthroughNoClientManageUser' without permissions 'clients manage'
Given I am logged in as the created user 'ProductWalkthroughNoClientManageUser'
When I enter 'Client Permission Walkthrough Product' in the walkthrough product name field
Given I have created the user 'ProductWalkthroughViewUser' without permissions 'setup data manage, clients manage'
Given I am logged in as the created user 'ProductWalkthroughViewUser'
Then the product walkthrough shows the 'Finding a Product' step
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
And I finish editing the product settings
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 open the product's related test suites
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
When 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 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 enter 'TMOutputUser' into the specification description
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 disabled
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 open the test method's related test suites
And I copy across the default test suite from the available list
And I enter 'Set to draft' in the workbook notes field
And I refresh the product specifications
And I can see test method 'unPublishedVersionTestMethod' showing as draft in the specification section
Then I can see the publish product button is disabled
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 options and delete the test method 'DeleteTestMethod'
And I can see the message of 'Deleting test method DeleteTestMethod'
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
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'
Then recently received stock batch 'Rec976' is displayed
Then I can see the following in the list of recently received:
Given I am logged in as user 'Submitstockuser'
And recently received stock batch 'Sub976' has a submitted sample link
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 recently received stock batch 'SubRec876' has a submitted sample link
And I receive the job with batch 'SubRec876'
Given I am logged in as user 'approvesamplestockuser'
And recently received stock batch '<batch>' has a submitted sample link
And I progress the submitted job with batch '<batch>' to approval with input value '<value>'
And the stock batch '<batch>' reaches '<status>'
Given I am logged in as user 'StockReceivePermissionAdmin'
And the stock permission user has only 'stock receive' permissions
When I open the 'Receive Stock' stock screen
Then recently received stock batch 'PERM-RECEIVED' shows quantity '12'
And the stock permission user has only 'stock inventory manage' permissions
And I open the 'Receive Stock' stock screen
Then recently received stock batch 'PERM-EDITED' shows quantity '100'
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 open the results submission controls
And I click on the submit button
And I can see the message of 'Test submitted successfully'
Then the results CSV contains:
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'
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 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
And 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
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 the results CSV contains exactly 3 repeats for the created job
Given I am logged in as user 'ResImportUser'
And I have created equipment item '<EquipmentItem>' and event called 'importevent'
When I progress a job with identifier 'resultimport' up to enter results with batchNo 'resultimport' and spec 'Default specification'
And I click on the 'System settings' 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 navigate to the 'Enter results' page
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
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 enter 'CustomSample' into the batch number
Then I can see the custom sample field 'autosamplefield'
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'
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 '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 have created the user 'SampleSpecPermissionsUser' without permissions 'sample spec'
Given I am logged in as user 'SampleSpecPermissionsUserrm'
When 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' without permissions 'samples delete'
Given I am logged in as user 'DeleteSamplePermissionsUserrm'
When I enter my credentials to log in to user 'DeleteSamplePermissionsUser'
And I click on the sample options button
Given I have created the user 'EditSamplePermissionsUser' without permissions 'samples edit'
Given I am logged in as user 'EditSamplePermissionsUserrm'
When 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 'RevertApprovalPermissionsUser' without permissions 'lifecycle revert approval'
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'
When 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' without permissions 'lifecycle revert verification'
Given I am logged in as user 'RevertVerificationPermissionsUserrm'
And I have progressed a job up to approval with batchNo 'verified' and input value '2'
When 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 'SampleAAttachmentsPermissionsUser' without permissions 'samples add attachments'
Given I am logged in as user 'SampleAAttachmentsPermissionsUserrm'
When I enter my credentials to log in to user 'SampleAAttachmentsPermissionsUser'
Given I have created the user 'SampleDAttachmentsPermissionsUser' without permissions 'samples delete attachments'
Given I am logged in as user 'SampleDAttachmentsPermissionsUserrm'
When I enter my credentials to log in to user 'SampleDAttachmentsPermissionsUser'
Given I have created the user 'InvestigationPermissionsUser' without permissions 'samples investigations'
Given I am logged in as user 'InvestigationPermissionsUserrm'
When I enter my credentials to log in to user 'InvestigationPermissionsUser'
Then I cannot see the start investigation button
Given I am logged in as user 'DownloadSampleCertManageCertificatesUser'
Given I have progressed a job through the lifecycle process with batchNo 'TestBatch123' and input value '123'
And I click on the SampleCertificate tab
And I upload template 'AltCert'
And I upload template 'SamCert'
And I click the sample certificate generate button on manage certificates
When I confirm the certificate settings and wait for the file download
Then I can see 1 sample certificates on manage certificates
Then I expand the first sample certificate history on manage certificates
And I can see 1 certificates in the manage certificates history
And the first certificate uses the selected custom template
Then I can see the generated sample certificate on the audit
Then I can see the sample certificate for template 'SamCert' showing here
And I expand the first sample certificate history on manage certificates
Then I can see the message of 'Sample certificate deleted successfully.'
Then I can see the deleted sample certificate on the audit
Given I am logged in as user 'PreviewPdfOnlySampleCertUser'
And I have progressed a job up to approval with batchNo 'PreviewPdfOnlySampleCert' and input value '123'
And I click the sample certificate preview button on manage certificates
Given I am logged in as user 'SampleCertDefaultClientUser'
Given I have progressed a job through the lifecycle process with batchNo 'defaultsamplecertclient' and input value '123'
Given I am logged in as user 'PreviewSampleCertOutputsUser'
And I have progressed a job up to approval with batchNo 'previewoutputs' and input value '11'
And I open the test output settings tab in certificate settings
Then I can see 1 of 2 certificate outputs are selected
Then I can see certificate output 'output-1' under test method 'CertOutputPreviewShownMethod'
And I can see certificate output 'output-2' under test method 'CertOutputPreviewHiddenMethod'
And I can see certificate output 'output-1' under test method 'CertOutputPreviewShownMethod' is selected
And I can see certificate output 'output-2' under test method 'CertOutputPreviewHiddenMethod' is not selected
When I deselect all certificate outputs
Then I can see 0 of 2 certificate outputs are selected
Then I cannot confirm certificate settings
When I select certificate output 'output-1' under test method 'CertOutputPreviewShownMethod'
Then I can confirm certificate settings
When I confirm the certificate settings and capture the sample certificate request
Then the captured sample certificate request has selected outputs:
Given I am logged in as user 'RegenerateSampleCertOutputsUser'
And I have progressed a job through the lifecycle process with batchNo 'regenoutputs' and input value '12'
When I open the test output settings tab in certificate settings
Then I can see 2 of 2 certificate outputs are selected
When I deselect certificate output 'output-2' under test method 'CertOutputRegenSecondMethod'
When I can see the message of 'Sample certificate generated successfully.'
When I expand the first sample certificate history on manage certificates
Then I can see certificate output 'output-1' under test method 'CertOutputRegenFirstMethod' is selected
And I can see certificate output 'output-2' under test method 'CertOutputRegenSecondMethod' is not selected
When I deselect certificate output 'output-1' under test method 'CertOutputRegenFirstMethod'
When I select certificate output 'output-2' under test method 'CertOutputRegenSecondMethod'
And I confirm the certificate settings and capture the sample certificate regeneration request
Then I can see the message of 'Sample certificate regenerated successfully.'
Then I can see the regenerated sample certificate on the audit
Given I am logged in as user 'SampleCertSecondaryClientUser'
Given I have created a visible secondary customer client called 'SecondarySampleGenerateClient'
And I have progressed a job through the lifecycle process with batchNo 'secondarysamplecert' and input value '123'
And I can see the message of 'Sample certificate generated successfully.'
Then I can see the sample certificate for template 'SampleCertificateTemplate' showing here
Given I am logged in as user 'CannotGenerateSampleCertManageCertificatesUser'
Given I have progressed a job up to approval with batchNo 'nogeneratesamplecert' and input value '123'
Then I cannot click the sample certificate generate button on manage certificates
Given I am logged in as user 'DefaultSampleCertTemplateManageCertificatesUser'
And I click on the 'setup' menu item
And I click on the report settings button
And I select 'AltCert.docx' as the product sample certificate template
And I can see the message of 'Report settings updated successfully'
Then I can see 'AltCert.docx'
Then I confirm the certificate settings and wait for the file download
And I can see 1 sample certificates on manage certificates
And I click the close button
Given I am logged in as user 'defaultdispositionuser'
When I progress a job up to approval with batchNo 'DefaultDisposition' and input value '5' and spec 'Default specification'
When I navigate to the approve samples page for the job
Then sample '1' has disposition 'Approved' selected
When I tick then approve the results
Then the prepared samples are completed with dispositions:
And the sample completion audit records reason '' and dispositions:
Given I am logged in as user 'mixeddispositionuser'
And I have enabled the require E-signatures setting
And I have a verified job with batch 'MixedDisposition' and sample input values:
When I set sample '2' disposition to 'Rejected'
And I select all '2' prepared samples and open the completion confirmation
Then the disposition change reason message is 'One or more sample dispositions have changed. Provide a reason for changing these dispositions.'
Then the confirmation requests a reason and an e-signature
When I confirm sample completion with reason 'Failed specification review' and my e-signature
And the sample completion audit records reason 'Failed specification review' and dispositions:
Given I am logged in as user 'rejecteddispositionuser'
Given I have a verified job with batch 'RejectedDisposition' and sample input values:
When I set sample '1' disposition to 'Rejected'
Given I am logged in as user 'approvedreasonuser'
When I progress a job up to approval with batchNo 'ApprovedReason' and input value '5' and spec 'Default specification'
Given I am logged in as user 'rejectedreasonuser'
And I have a verified job with batch 'RejectedReason' and sample input values:
And I select all '1' prepared samples and open the completion confirmation
Then the confirmation requests only a reason
When I confirm sample completion with reason 'Failed specification review'
When I revert the first prepared sample through the lifecycle API with reason 'Retesting rejected sample'
Then sample '1' has disposition 'Rejected' selected
When I set sample '1' disposition to 'Approved'
When I select all '1' prepared samples and open the completion confirmation
When I confirm sample completion with reason 'Disposition changed after review'
Given I am logged in as user 'approvedsignatureuser'
And I have a verified job with batch 'ApprovedSignature' and sample input values:
Then the confirmation requests only an e-signature
When I confirm sample completion with my e-signature
Given I am logged in as user 'rejectedsignatureuser'
Given I have enabled the require E-signatures setting
And I have a verified job with batch 'RejectedSignature' and sample input values:
Then the sample completion confirmation title is 'Approve Samples'
Given I am logged in as user 'apidefaultdispositionuser'
Given I have a verified job with batch 'ApiDefaultDisposition' and sample input values:
When I complete the prepared sample through the API without specifying a disposition
Given I am logged in as user 'displaydispositionuser'
Given I have a verified job with batch 'DisplayDisposition' and sample input values:
And I tick to approve all '2'
And the sample viewer shows sample '1' disposition 'Approved'
And the sample viewer shows sample '2' disposition 'Rejected'
And I search the 'sample' viewer for ' cOmPlEt '
And sample '1' has 'status' search highlight 'Complet'
And sample '2' has 'status' search highlight 'Complet'
And I search the 'sample' viewer for ' aPpRoV '
And sample '1' has 'disposition' search highlight 'Approv'
And the sample viewer does not show sample '2'
And I search the 'sample' viewer for ' rEjEc '
And sample '2' has 'disposition' search highlight 'Rejec'
And the sample viewer does not show sample '1'
And the sample disposition filter defaults to All and provides every disposition
And I select 'Approved' in the sample disposition filter
And I can see the message of 'No samples found. Please refine your search'
And I select 'Rejected' in the sample disposition filter
And I clear the sample viewer search with disposition 'Rejected' selected
And I open sample '2' in the sample inspector
And the sample inspector shows disposition 'Rejected'
And the job sample summary shows sample '2' disposition 'Rejected'
And I view sample '2' on the job
And the sample details show disposition 'Rejected'
Then manage certificates shows sample '2' disposition 'Rejected'
Given I am logged in as user 'reverteddisplaydispositionuser'
Given I have a verified job with batch 'RevertedDisplayDisposition' and sample input values:
And I revert the first prepared sample through the lifecycle API
Then the sample details show disposition 'Rejected'
Given The organisation subscription tier is set to '<Tier>'
Given I am logged in as user 'dispositiontieruser<Tier>'
When I progress a job up to approval with batchNo 'DispositionTier<Tier>' and input value '5' and spec 'Default specification'
Then sample disposition selection is '<Visibility>'
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 'SampleExportUser'
Given the sample export custom fields are configured as:
And I have configured these sample export methods:
And I have a submitted export job containing these samples:
And I turn output combining '<Combining>' for export
Then the sample CSV has ordered headings '<Headings>'
Then the sample CSV retains these samples from the same job:
Given I am logged in as user 'SampleConflictUser'
Given I have a submitted sample export job with these methods:
And I turn output combining 'on' for export
Then the sample CSV has ordered headings 'A v1: Value (mg);B v1: Value (mg)'
Then the sample CSV contains exactly these result cells:
Given I am logged in as user 'SampleHistoricalUser'
And I have deleted the sample export method 'A'
Then the sample CSV has ordered headings 'A v1: Hidden'
Given I am logged in as user 'SampleRecreatedMethodUser'
And I have recreated sample export method 'A' with result '8' on the same sample
Then the sample CSV retains both identities of recreated method 'A'
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 'PreventEditApprovedUser'
Given I have enabled the prevent editing approved jobs and samples setting
And I have progressed a job through the lifecycle process with batchNo 'PreventEditApproved' and input value '1'
Then the job edit button is disabled with message 'Cannot edit an approved job'
Then the sample edit button is disabled with message 'Cannot edit an approved sample'
Given I am logged in as user 'SampleLocationHappyPathUser'
And I select list 'Locations' from the drop down
And I add a first list entry with a name of 'over here' and description of 'Sample location for e2e test'
And the list update button becomes disabled
And I enter 'LOC-001' into the batch number
And I select sample location 'over here'
And I can see sample location 'over here' on the sample details
And I search the 'sample' viewer for ' Er hE '
Then sample '1' has 'location' search highlight 'er he'
Given I am logged in as user 'StockViewerPermissionAdmin'
And the stock permission user has only 'stock usage tracking' permissions
When I open the stock permission test at '<Entry>'
Then recorded stock usage persists when reopened
And the stock permission user has only '<Permissions>' permissions
Given I am logged in as user 'GiveReasonTestInputUser'
When 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 can see the 'first' input contains '2'
And I confirm the result change with the reason 'Change control Test'
And I can see results for the created job
Then I can see the 'first' input contains '9'
Given I am logged in as user 'EsigTestInputUser'
When 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 a 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 'DefaultSettingsUser'
Then the require independent verification setting is disabled by default
Then the working days setting defaults to weekdays
Given I am logged in as user 'CertificateOutputSettingsUser'
Then the DOCX certificate output setting is disabled by default
When I enable DOCX certificate output in settings
When I click save
Then I can see the message of 'Settings updated successfully'
Then the DOCX certificate output setting is enabled
Given I am logged in as user 'SkipVerificationUser'
When 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'
When I enable the require independent verification setting
Then I am not able to tick the sample to verify the test results
Given two disposable pilot organisations with MCP rollout enabled
When I open the AI settings in both pilot organisations
When Enable MCP defaults to on in both pilot organisations
And both pilot organisations can use their own MCP connection
And I save Enable MCP off and reload the AI settings
And a user without settings management cannot turn MCP back on directly
And fresh and existing MCP requests for the disabled organisation are denied
And the other pilot organisation can still use its MCP connection
And I save Enable MCP on and reload the AI settings
And an eligible user can use MCP again with their existing permissions
Then moving only that organisation to Quarterly turns off its rollout and blocks MCP
Given a new pilot organisation that requires a reason for settings changes
When I open its Admin Settings
When I open AI settings
And Tools assistants can use shows 'All tools' with the tool table hidden
And I choose 'Custom' for the tools assistants can use
And all MCP tools are on and grouped by area
And I connect an assistant that can import and update clients
And I turn off Import clients and Update clients
And I save the tool choices with a reason and reload the AI settings
And only Import clients and Update clients are off
And the connected assistant sees neither Import clients nor Update clients
And the connected assistant is refused when it tries to import two clients
And the connected assistant can find and create clients
And I choose 'Read only' for the tools assistants can use
And Tools assistants can use shows 'Read only' with the tool table hidden
And the connected assistant can find clients but is refused when it tries to create a client
And I save Enable MCP off with a reason and reload the AI settings
And the whole MCP tools section is hidden
And I save Enable MCP on with a reason and reload the AI settings
And I select and then clear the Create & edit column
Then every tool in the Create & edit column is off
Given the MCP rollout and organisation setting are on for the '<tier>' tier
And I am logged in as the pilot organisation administrator
When I cannot see the AI menu or Enable MCP
And I open the AI settings page directly
And I cannot see the AI menu or Enable MCP
And I authorize an MCP client for the pilot organisation
Then MCP initialization is denied
Then the MCP connection cannot list tools
And the MCP connection cannot read the client
Given The organisation subscription tier is set to 'Advanced'
Given the MCP rollout and organisation setting are on for the 'Advanced' tier
And I can see Enable MCP is on
And I initialize the MCP connection
And the MCP connection lists the permitted tools
And the MCP connection can read the client
And I click on the 'Dashboard' menu item
And I am logged into LabHQ
And The organisation subscription tier is set to 'Growth'
And the MCP rollout and organisation setting are on for the 'Growth' tier
And System Settings opens in the same browser document
And the MCP connection cannot list tools
And The organisation subscription tier is set to 'Advanced'
And the MCP rollout and organisation setting are on for the 'Advanced' tier
And I open AI settings
Then I can see Enable MCP is on
Then the administrator can copy and paste the same read-only URL from AI settings with the keyboard or mouse
Then clipboard failure leaves the URL selected for manual copy in AI settings
When the administrator saves Enable MCP off and both copy actions disappear
When the administrator saves Enable MCP on again and both copy actions return while Profile stays open
And the Essentials subscription hides both copy actions
Then the Growth subscription also hides both copy actions
Given I am logged in as user 'LifecycleSpecUser'
When I click on product 'LifecycleSpecProduct' 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 '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 can see the warning that the test does not match specification on the test viewer
And I click on options and delete the test method 'LifecycleSpecTestMethod1'
And I can see the message of 'Deleting test method LifecycleSpecTestMethod1'
Then I can see the warning that the test does not match specification on the test viewer
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 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 publish test method to publish 'Create Test Method'
And I request a specification refresh
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 (inclusive). Warning Limit: Between 2 and 4 (inclusive)' 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 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: 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'
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 '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'
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 '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
Then I can see that the test has passed spec on the test viewer
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
Given I am logged in as user 'ManageEnterResultsSpecUser'
When I click on product 'EnterResultsSpecProduct' on the products page
And I name the spec 'FailSpec'
And I click the output to expand the spec for spec 'FailSpec'
And I publish product 'EnterResultsSpecProduct' for Enter Results
And I progress a job up to enter results with batchNo 'erspecjob' and spec 'FailSpec'
And I drop down the test method 'EnterResultsSpecTestMethod1' on the enter results page
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 'CreateSpecUser'
And the product has a draft with no specifications
When I click on product 'SpecProduct' on the products page
When I click the generate specifications button
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 can see 'Specification: Between 1 and 5 (inclusive)' 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'
Given I am logged in as user '2dspecfailuser'
When I click on product 'Fail2DSpecProduct' on the products page
And I publish product 'Fail2DSpecProduct' for Enter Results
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 review the result limit details 'Specification: Within (0.355,0.355), (0.305,0.305), (0.285,0.325), (0.335,0.375)'
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'
And I progress a job up to enter results with batchNo 'TestBatch123' and spec 'Default specification'
And I click into the first input and enter '5.5'
Then I can review the result limit details 'Specification: Between 1 and 5'
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'
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
Given I am logged in as user 'ChangeResultSpecUser'
When I click on product 'ChangeResultSpecProduct' on the products page
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 update the test result of the created job with an input value of '2.0000001'
Given I am logged in as user 'StockIdGenerationUser'
Then recently received stock batch 'SAME-BATCH' has a valid Stock ID stored as 'first'
When I click the receive stock button
When I populate the receive stock form with the following:
Then recently received stock batch 'SAME-BATCH' has a valid Stock ID stored as 'second'
Then stored Stock IDs 'first' and 'second' are unique and sequential
And the 'STOCK_BATCH_RECEIVED' stock audit entry includes stored Stock ID 'second'
Given I am logged in as user 'StockIdInventoryUser'
And I click on stock item 'StockIdInventoryItem'
When I open batch 'INVENTORY-BATCH' for editing
Then stored Stock ID 'inventory' is displayed and cannot be edited
When I enter 'INVENTORY-EDITED' in the batch input
When I click the update batch button
And I return to the available batches for 'StockIdInventoryItem'
When I close the available stock batches
Given I am logged in as user 'StockIdAdjustmentUser'
When I click the adjust stock button
Then the 'STOCK_BATCH_ADJUSTED' stock audit entry includes stored Stock ID 'adjustment'
When I click on the 'Usage tracking' menu item
Then I can see the following usage tracking showing here:
Then I search usage tracking for stored Stock ID 'adjustment' and stock item 'StockIdAdjustmentItem'
Given I am logged in as user 'StockIdExpiredUser'
When I click to dispose stock batch 'EXPIRED-BATCH'
Then stored Stock ID 'expired' is shown with batch 'EXPIRED-BATCH' for disposal
When I click ok
Given I am logged in as user 'createstockuser'
Given the stock permission user has only 'stock items manage' permissions
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:
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 'StockLocationUpdateUser'
And I add a first list entry with a name of 'Room A / Shelf 1' and description of 'Initial stock location'
And I add a second list entry with a name of 'Room B / Bin 2' and description of 'Updated stock location'
And I can see the message of 'List has been updated successfully'
Then recently received stock batch 'OPTIONAL-LOC' is displayed
Then recently received stock batch 'UPDATED-LOC' is displayed
Then recently received stock batch 'UPDATED-LOC' has a valid Stock ID stored as 'UpdatedStock'
When I click on stock item 'LocatedStockItem'
Then stock batch 'UPDATED-LOC' has storage location 'Room A / Shelf 1' on inventory
When I open batch 'UPDATED-LOC' for editing
When I select storage location 'Room B / Bin 2'
Then I can see the message of 'Stock updated successfully'
Then the update audit for stored Stock ID 'UpdatedStock' records storage location changing from 'Room A / Shelf 1' to 'Room B / Bin 2'
When I return to the available batches for 'LocatedStockItem'
Then stock batch 'UPDATED-LOC' has storage location 'Room B / Bin 2' on inventory
Given I am logged in as user 'StockLocationExpiryUser'
Given the Locations list contains the following stock locations:
Then stock batch 'EXPIRED-LOCATION' has storage location 'Cold Room / Shelf 3' on expired stock
When I click on expiring soon
Then stock batch 'EXPIRING-LOCATION' has storage location 'Store Room / Bin 4' on expired stock
Given I am logged in as user 'CreateJobUser'
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 '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 log in without client access as 'essentialstieraccess'
Then I cannot access the following subscription features:
Given I log in without client access as 'growthtieraccess'
Given I am logged in as user 'trendtier'
And I have progressed a job up to approval with batchNo 'notrendlink' and input value '50.76'
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
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 log in without client access as 'clienttieruser'
Then I can see the create client button is disabled
Given I log in without client access as 'essentialWidgetUser'
Then I can see the following widgets are showing the premium icon:
Given I log in without client access as 'GrowthWidgetUser'
Given I have progressed a job up to enter results with batchNo 'visibilitytier<tier>'
Given an internal job attachment named 'Logo.png' exists
And The organisation subscription tier is set to '<tier>'
And I am logged in as user 'attachmentvisibilitytieruser<tier>'
Given I have progressed a job up to enter results with batchNo 'visibilitytieradvanced'
And I am logged in as user 'attachmentvisibilitytieruseradvanced'
Given I am logged in as user 'essentialattachmentuser'
And I have progressed a job up to enter results with batchNo 'attachtier'
And I cannot add new attachments
Given I am logged in as user 'essentialproductattachmentuser'
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 message of 'Test method published successfully'
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 test method version number is 'Draft' '1.1'
Given I am logged in as user 'LifecycleVersionUser'
And I click on the default test method on the test method page
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'
When I click on the edit test method button for test method 'DuplicateOutputTestMethod' on the test method page
And I name the output 'AutoOutput-0'
And I enter '$1' in the results calculation field
And I can see an output called 'AutoOutput-0'
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 message of 'Test method created successfully'
And I can see the test method version number is 'Draft' '0.1'
And I click to save test method 'unpublishedTM'
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
Given I am logged in as user 'ConfigureTestMethodUser'
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 can see a tick on the output show on report column
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 the stock permission user has only 'setup data view, setup data manage, setup data publish' permissions
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 'StockTestMethod'
Then I can see related stock item 'TMStock' with quantity '12'
Then I can see the test method version number is 'Published' '1'
Given I am logged in as user 'TestMethodWalkthroughStartUser'
Then the walkthrough is not automatically displayed
Then I can start the test method walkthrough
When I start the test method walkthrough
Then the walkthrough shows the 'Welcome to Test Methods' step
Given I am logged in as user 'TestMethodWalkthroughRestartUser'
And I start the test method walkthrough
And I continue the walkthrough
Then the walkthrough shows the 'Finding a Test Method' step
When I close the walkthrough
Given I am logged in as user 'TestMethodWalkthroughValidationUser'
When I start the test method walkthrough from the <Launcher>
Then the walkthrough shows the 'Enter Test method Details' step
When I continue the walkthrough
Then the walkthrough remains on the 'Enter Test method Details' step
When I enter '<Method>' in the walkthrough test method name field
Then the walkthrough shows the 'Add a Test Input' step
When I click the highlighted create input button
Then the walkthrough shows the 'Configure your Input' step
Then the walkthrough shows the 'Name your Input' step
Then the walkthrough remains on the 'Name your Input' step
When I name the input 'Walkthrough Input'
Then the walkthrough shows the 'Create the output yourself' step
Then the walkthrough remains on the 'Create the output yourself' step
When I turn off matching output in the walkthrough
Then the walkthrough shows the 'Create your Input' step
When I click the highlighted ok button
Then the walkthrough shows the 'Add a Test Output' step
When I click the highlighted create output button
Then the walkthrough shows the 'Configure your output' step
Then the walkthrough shows the 'Name your Output' step
Then the walkthrough remains on the 'Name your Output' step
When I name the output 'Walkthrough Output'
Then the walkthrough shows the 'Choose your input' step
Then the walkthrough remains on the 'Choose your input' step
When I select input '$1' in the walkthrough designer
Then the walkthrough shows the 'Try your calculation' step
When I open Try it out in the walkthrough
Then the walkthrough shows the 'Check the result' step
Then the walkthrough remains on the 'Check the result' step
When I enter 'Passed' for walkthrough test input '$1'
When I run the walkthrough calculation
Then all walkthrough calculation results are 'Passed'
When I enter 'Rechecked' for walkthrough test input '$1'
Then the walkthrough calculation results are cleared
Then all walkthrough calculation results are 'Rechecked'
When I go to the previous walkthrough step
Then the walkthrough calculation is in Designer mode
Then the walkthrough shows the 'Create your Output' step
Then the walkthrough shows the 'Associate Test Suites' step
Then the walkthrough shows the 'View Related Products' step
Then the walkthrough shows the "You're ready to create your Test Method" step
Then the walkthrough links to the test method user guides
Then the walkthrough closes
Then I can see test method '<Method>' on the test method view page
Then I hover over 'result' for output 'Walkthrough Output' and see a read-only diagram containing 'Walkthrough Input'
Given I have created the user 'TestMethodWalkthroughViewUser' without permissions 'setup data manage'
Given I am logged in as the created user 'TestMethodWalkthroughViewUser'
Given I am logged in as user 'TestSuiteWalkthroughStartUser'
And I have navigated to the 'Test suites' page
Then the test suite walkthrough is not automatically displayed
Then I can start the test suite walkthrough
When I start the test suite walkthrough
Then the test suite walkthrough shows the 'Welcome to Test Suites' step
Given I am logged in as user 'TestSuiteWalkthroughRestartUser'
And I start the test suite walkthrough
And I continue the test suite walkthrough
Then the test suite walkthrough shows the 'Create a New Test Suite' step
When I click the Create test suite button
Then the test suite walkthrough shows the 'Creating a Test Suite' step
When I continue the test suite walkthrough
When I enter 'Discarded Walkthrough Test Suite' in the walkthrough test suite name field
And I close the test suite walkthrough
Then the walkthrough test suite name is empty
Given I am logged in as user 'TestSuiteWalkthroughValidationUser'
Then the test suite walkthrough shows the 'Name Your Test Suite' step
Then the test suite walkthrough remains on the 'Name Your Test Suite' step
When I enter 'Walkthrough Test Suite' in the walkthrough test suite name field
Then the test suite walkthrough shows the 'Choose Your Test Methods' step
Then the test suite walkthrough contains the practice test methods
Then the test suite walkthrough remains on the 'Choose Your Test Methods' step
When I add practice test method 'Moisture' to the walkthrough test suite
Then the test suite walkthrough shows the 'From Test Methods to Products' step
Then the test suite walkthrough shows the 'Your Test Suite is Ready' step
Then the test suite walkthrough links to the test suite user guides
Then the test suite walkthrough closes
Then the walkthrough test suite 'Walkthrough Test Suite' was not saved
Given I have created the user 'TestSuiteWalkthroughViewUser' without permissions 'setup data manage'
Given I am logged in as the created user 'TestSuiteWalkthroughViewUser'
Then the test suite walkthrough shows the 'Your Test Suites' step
Given I am logged in as user 'CreateTestMethodUser'
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 name the input 'Input 1'
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
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 open the related product on the product view 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 the test method has 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'
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 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 '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 the test export organisation timezone is 'Pacific/Kiritimati'
Given I am logged in as user 'TestExportSamplesUser'
And the sample export custom fields are configured as:
And I have a test export job containing:
And the export formats are Sample level, Test level and Result level in order
And I choose the 'tests' export format
And I turn output combining 'off' for export
And I remember the test export CSV
And I start another export
And I choose the fixture submission dates in the organisation timezone
Then the test CSV matches the previous download
Then the test CSV has ordered data headings 'Tag;Tag;Value (mg);Value (mg)'
And the test CSV contains exactly these tests:
Given I am logged in as user 'TestExportCombiningUser'
Then the test CSV has ordered data headings '<Headings>'
Then the test CSV contains exactly these tests:
Given I am logged in as user 'TestExportExactNamesUser'
Given I have configured these sample export methods:
Then the test CSV has ordered data headings 'Value (mg);value (mg);Value (MG)'
Given I am logged in as user 'TestExportFieldHistoryUser'
And I have a second test export job containing:
Then the test CSV has ordered data headings 'Alpha;Zulu;Tag;Value (mg)'
Given I am logged in as user 'TestExportHistoryUser'
And I publish a new version of export method 'A' with output 'Changed' and result '8' on sample 'Sample'
Then the test CSV has ordered data headings 'Original (mg);Changed (mg)'
Given I am logged in as user 'TestExportDisplayUser'
Then the test CSV has ordered data headings 'Numeric (mg);Qualified'
Given I am logged in as user 'TestExportUnsubmittedUser'
Then the test CSV has ordered data headings 'Value (mg)'
Given I am logged in as user 'TestExportFilterSwitchUser'
Given I am logged in as user 'TestExportMultipleJobsUser'
And I include both test export jobs using '<Filter>'
Given I am logged in as user 'TestExportEmptyUser'
Given I have progressed a job up to approval with batchNo 'New export job' and input value '5'
Then the test CSV contains only the metadata header
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 'system settings' 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
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 select the Stock ID for batch 'UT987' stored as 'usage' from stock item 'UTStock'
When I click on 'View test'
When I click on 'Stock Usage'
Then I select the Stock ID for batch 'UT987' stored as 'usage' from 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' without permissions 'settings manage'
Given I am logged in as the created user 'SettingsPermissionUser'
Then I cannot see the settings configure button
And I cannot manually navigate to the 'Settings' page
Given I have created the user 'ManageCertificatesPermissionUser' without permissions 'manage certificates'
Given I am logged in as the created user 'ManageCertificatesPermissionUser'
Then I can see the 'Export Results' menu item
Then I cannot see the 'Manage Certificates' menu item
And I cannot manually navigate to the 'Manage certificates' page
Given I have created the user 'DeleteCertificatePermissionsUser' without permissions 'delete certificates'
Given I am logged in as user 'DeleteCertificatePermissionsUserrm'
And I have progressed a job through the lifecycle process with batchNo 'deletecertpermission' and input value '123'
And I generate a job certificate from manage certificates
When I enter my credentials to log in to user 'DeleteCertificatePermissionsUser'
Then I cannot see the certificate delete button in the manage certificates history
Given I have created the user 'OrgPermissionUser' without permissions 'organisation view, organisation manage'
Given I am logged in as the created 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' without permissions 'label settings'
Given I am logged in as the created user 'labelsettingpermissionsuser'
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' without permissions 'custom fields manage'
Given I am logged in as the created 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' without permissions 'report settings'
Given I am logged in as the created 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' without permissions 'lists manage'
Given I am logged in as the created 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' without permissions 'audit view'
Given I am logged in as the created 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' without permissions 'clients view'
Given I am logged in as the created 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' without permissions 'setup data view'
Given I am logged in as the created 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' without permissions 'lifecycle submit'
Given I am logged in as the created 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' without permissions 'lifecycle receive'
Given I am logged in as the created 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' without permissions 'resources manage work'
Given I am logged in as the created 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 'DLViewWorkPermissionUser' without permissions 'resources download workbook'
Given I am logged in as user 'DLViewWorkPermissionUserrm'
And I have progressed a job up to enter results with batchNo 'DownloadWorkbook'
When I enter my credentials to log in to user 'DLViewWorkPermissionUser'
Then I cannot see the download workbook button
And I cannot see the re-download workbook button
Given I have created the user 'EnterResultsPermissionUser' without permissions 'lifecycle results'
Given I am logged in as the created 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' without permissions 'lifecycle verify'
Given I am logged in as the created 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' without permissions 'lifecycle approve'
Given I am logged in as the created 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 'OOSResultsPermissionsUser' without permissions 'analytics oos results'
Given I am logged in as the created 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' without permissions 'analytics trend'
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'
When I enter my credentials to log in to user 'TrendSampleViewerPermissionsUser'
Then I cannot see the 'Trend' menu item
Then I cannot manually navigate to the 'Trend' page
Then The trend icon does not show for the job on the approve samples page
Then The trend icon does not show on the job
Given I have created the user 'LabelDownloadPermissionsUser' without permissions 'samples label'
Given I am logged in as user 'LabelDownloadPermissionsUserrm'
And I have progressed a job up to enter results with batchNo 'label'
When 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' without permissions 'results export'
Given I am logged in as the created user 'ExportResultPermissionsUser'
Then I cannot see the 'Export results' menu item
Then I cannot manually navigate to the 'Export results' page
Given I have created the user 'CompanyAddressPermissionsUser' without permissions 'organisation manage'
Given I am logged in as the created user 'CompanyAddressPermissionsUser'
Then I cannot see the edit address fields
Given I have created the user 'ResultsImportPermissionsUser' without permissions 'reports import'
Given I am logged in as the created user 'ResultsImportPermissionsUser'
Then I cannot see the import results data menu item
Given I am logged in as user 'StockPermissionAdmin'
Then only the '<Screen>' stock screen is accessible
Then no stock screens or actions are accessible
And the stock permission user lacks only '<Permission>'
Then the '<Screen>' stock screen remains inaccessible
And the stock permission user lacks only 'stock receive'
Then recently received stock batch 'PERM' shows quantity '100'
Then the receive stock button is hidden
And direct access to the receive stock form is denied
And the stock permission user is an administrator
When I open the 'Stock Items' stock screen
And I open the 'Adjust Stock' stock screen
And I open the 'Usage Tracking' stock screen
And I open the 'Expired Stock' stock screen
Then the expiry tab shows item 'PermissionExpired' and batch 'PERM-EXPIRED'
Given I am logged in as user 'role-list-admin'
When I create enough unverified accounts to page the user list
Then user account sorting paging and status filtering preserve the search
Given I am logged in as user 'bslAdminRoleUser'
When 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'
When 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'
When 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'
When 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 can see the message of 'User updated successfully'
Then I can see the name for account 'editthisuser' shows as 'John Smith'
Given I have created the user 'grantpermissionuser' without permissions 'report settings'
When I search for user 'grantpermissionuser'
And I click on user account 'grantpermissionuser'
And I grant 'report settings' permission
And I enter my credentials to log in to user 'grantpermissionuser'
Given I am logged in as user 'OnlyOrgUser'
Then I cannot see the BSL admin default user
Given I am logged in as user 'userlimitupgrade'
Then the upgrade options link opens the LabHQ upgrade page in a new tab
Given I am logged in as user 'StockAccountPermissionAdmin'
Given the stock permission user has no permissions
When I open the stock permission user in the permission editor
When I select the 'Custom' permission preset
And I grant 'stock inventory' permission
And I grant 'stock receive' permission
And I save and reopen the stock permission user
And only 'stock inventory, stock receive' stock permissions are selected
And I remove 'stock receive' permission
And I sign in as the stock permission user
Then I cannot manually navigate to the 'Receive Stock' page
Given the stock permission user has only 'stock inventory, clients view' permissions
When The organisation subscription tier is set to '<Tier>'
And the stock permission controls are 'hidden'
And I change the stock permission user's first name
And The organisation subscription tier is set to 'Enterprise'
Then I can see the 'Clients' menu item
Then the saved stock permissions allow only 'Inventory' screens
Then the stock permission controls are 'visible'
Given permission presets have the following defaults:
Given I am logged in as user 'role-preset-admin'
When I open a new user account
When I enter the details for a new role test user
And I select the '<Role>' permission preset
And only the '<Role>' preset permissions are selected
And I save and reopen the role test user
And the selected permission preset is '<Role>'
Then only the '<Role>' preset permissions are selected
Given I am logged in as user 'role-change-admin'
When I select the 'Analyst' permission preset
And I remove 'clients view' permission
And the selected permission preset is 'Analyst'
And I select the 'Quality' permission preset
And only the 'Analyst' preset permissions with these changes are selected:
And only the 'Quality' preset permissions are selected
And I remove 'audit view' permission
And reset to role defaults is 'enabled'
And I reset permissions to the selected role defaults
And I select the 'Custom' permission preset
And only the 'Custom' preset permissions are selected
And I grant 'clients view' permission
Then only the 'Custom' preset permissions are selected
Given I am logged in as user 'role-customise-admin'
When I open the unassigned role test user
And I grant 'audit view' permission
And I sign in as the role test user
And I can see the 'audit' menu item
Given I am logged in as user 'role-subscription-admin'
When The organisation subscription tier is set to 'Essentials'
And I select the 'LabManager' permission preset
Then only the Essentials Lab Manager preset permissions are selected
Given I am logged in as user 'role-audit-admin'
When I remember the role test user's creation audit
And I select the 'Analyst' permission preset
And I change the role test account type to 'Admin'
Then the role test user's audit records account type role and permission changes
Then the role test user's earlier creation audit is unchanged
Given I am logged in as user 'role-isolation-admin'
And I assign the role test user the 'Quality' preset in another organisation
And I return to the role test user in the original organisation
And only the 'Analyst' preset permissions are selected
Then the selected permission preset is 'LabManager'
Then only the 'LabManager' preset permissions are selected
And the role test user's access in the other organisation is unchanged
Given I am logged in as user 'StockRolePermissionAdmin'
When the stock permission controls are 'visible'
And only '<Permissions>' stock permissions are selected
Then only '<Permissions>' stock permissions are selected
When I select the '<Role>' permission preset
And I remove 'stock inventory' permission
Then I cannot manually navigate to the 'Inventory' page
Given the stock permission user has only 'stock inventory, stock receive' permissions
And I open the stock permission user in the permission editor
Then only 'stock inventory, stock receive' stock permissions are selected
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 (inclusive). Warning Limit: Between 2 and 4 (inclusive)' 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 publish product 'EnterResultsWarnProduct' for Enter Results
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 review the result limit details 'Warning limit: Between 2 and 4'
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'
Given I have created a new user 'WelcomeTutorialNewUser' who has not seen the welcome tutorial
When I am logged in as the created user 'WelcomeTutorialNewUser'
Then the welcome tutorial is displayed
Then the welcome tutorial displays screen '1' of '6'
Given I have created a new user 'WelcomeTutorialNavigationUser' who has not seen the welcome tutorial
Given I am logged in as the created user 'WelcomeTutorialNavigationUser'
When I navigate through and finish the welcome tutorial
Then the welcome tutorial closes
Then I can continue using LabHQ from the dashboard
Given I have created a new user 'WelcomeTutorialSkipUser' who has not seen the welcome tutorial
Given I am logged in as the created user 'WelcomeTutorialSkipUser'
When I skip and later exit the welcome tutorial
Given I have created the user 'WelcomeTutorialExistingTestUser'
When I am logged in as the created user 'WelcomeTutorialExistingTestUser'
Then the welcome tutorial is not displayed