def test(data): new_name = data.test + '_rename' test_list.rename_test(data.test, new_name) assert not test_list.test_exists(data.test) test_list.assert_test_exists(new_name) actions.refresh_page() test_list.assert_test_exists(new_name)
def test(data): folder = actions.random_str() test_list.add_folder(folder) test_list.navigate_to_folder(folder) test_one = actions.random_str() test_list.add_test_to_current_folder(test_one) test_two = 'foo.bar' test_list.add_test_to_current_folder(test_two) common.navigate_menu('Tests') test_list.assert_test_exists('{}.{}'.format(folder, test_one)) test_list.assert_test_exists('{}.{}'.format(folder, test_two))
def test(data): test_one = '{}.{}'.format(actions.random_str(), actions.random_str()) test_two = '{}.{}.{}'.format(actions.random_str(), actions.random_str(), actions.random_str()) test_list.add_test_to_current_folder(test_one) test_list.add_test_to_current_folder(test_two) test_list.assert_test_exists(test_one) test_list.assert_test_exists(test_two) actions.refresh_page() test_list.assert_test_exists(test_one) test_list.assert_test_exists(test_two)
def test(data): # to root test_one = actions.random_str() test_list.add_test(test_one) test_list.assert_test_exists(test_one) # to folder test_two = 'folder1.' + actions.random_str() test_list.add_test(test_two) test_list.assert_test_exists(test_two) actions.refresh_page() test_list.assert_test_exists(test_one) test_list.assert_test_exists(test_two)
def test(data): new_name = data.test + 'copy' test_list.duplicate_test(data.test, new_name) # to folder new_name_two = 'test.{}'.format(new_name) test_list.duplicate_test(new_name, new_name_two) test_list.assert_test_exists(data.test) test_list.assert_test_exists(new_name) test_list.assert_test_exists(new_name_two) actions.refresh_page() test_list.assert_test_exists(data.test) test_list.assert_test_exists(new_name) test_list.assert_test_exists(new_name_two)