From 6fee8e61b6320d2a61d4d36ca6b623695ec58f3b Mon Sep 17 00:00:00 2001 From: PaolaPellegrini <51709910+PaolaPellegrini@users.noreply.github.com> Date: Thu, 20 Jun 2024 14:33:36 -0400 Subject: [PATCH] add selectors for PMBlocks --- selectors/pmBlocks.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/selectors/pmBlocks.js b/selectors/pmBlocks.js index fac6dda..ebb93c4 100644 --- a/selectors/pmBlocks.js +++ b/selectors/pmBlocks.js @@ -30,5 +30,21 @@ export default{ lineInputPmBlock: '[name="form_input_1"]', selectListPmBlock: '[name="config"]', loopControlPanel: '[data-cy="controls-PmBlockFormLoop"]', + collapsedConfigurationPMBlock:'//*[@id="collapse-configuration"]', + selectListPMBlock1:'(//*[@class="multiselect__select"])[1]', + selectListPMBlock2:'(//*[@class="multiselect__select"])[2]', + selectListPMBlock3:'(//*[@class="multiselect__select"])[3]', + lineInputLoop1:'(//input[@name="form_input_1"])[1]', + lineInputLoop2:'(//input[@name="form_input_1"])[2]', + lineInputLoop3:'(//input[@name="form_input_1"])[3]', + richTextLoop1:'(//div[text()="Test Case TCP4-3774"])[1]', + richTextLoop2:'(//div[text()="Test Case TCP4-3774"])[2]', + richTextLoop3:'(//div[text()="Test Case TCP4-3774"])[3]', + addItemLoop:'//button[@title="Add Item"]', + RTLoopAllow1:'(//div[contains(text(),"add")])[1]', + RTLoopAllow2:'(//div[contains(text(),"add")])[2]', + RTLoopAllow3:'(//div[contains(text(),"add")])[3]', + RTLoopAllow4:'(//div[contains(text(),"add")])[4]', + RTLoopAllow5:'(//div[contains(text(),"add")])[5]', } \ No newline at end of file