Nursing Shift Change Wizard Interaction

The Nursing Shift Change Wizard is a modal wizard that guides the user through four stages, ward selection, deallocation, roll call and allocation.

class liveobs_ui.page_object_models.desktop.nursing_shift_change_wizard.NursingShiftChangeWizard(driver)[source]

Interacting with the Nursing Shift Change Wizard and it’s different stages

allocate(allocation_map)[source]

Allocate users to beds

Parameters:allocation_map – dictionary containing mapping of users to beds
collect_current_allocation()[source]

Get the current user(s) -> bed allocation from the de-allocation screen

Returns:list of dictionaries representing beds and the different nurse and HCA users allocated to that bed
confirm_stage()[source]

Confirm the data in the current stage and move to the next one

get_confirm_button()[source]

Get the button to take the user to next stage of the wizard

Returns:webelement for button
go_to_allocation()[source]

Go to the allocation stage

go_to_deallocate_stage()[source]

Go to the deallocation stage

go_to_end()[source]

Go to the end of the wizard

go_to_roll_call()[source]

Go to the roll call stage

roll_call(user_list)[source]

Add all users that were originally on ward back into ward

Parameters:user_list – list of names to enter into input so these users can then be allocated to the beds in the ward
select_ward(ward_name)[source]

Get currently logged in user’s ward and select it in dropdown

Parameters:ward_name – Name of ward to select for Nursing Shift change
set_ward_for_shift_change(ward_name)[source]

Set ward in ward selection box in Nursing Shift Change Wizard

Parameters:ward_name – Name of the ward to set
start_nursing_shift_change()[source]

Click the Nursing Shift Change menu item to start the wizard