@@ -171,12 +171,12 @@ public static By locateDataPipelineTypeSelectedOption(String option) {
171171 }
172172
173173 public static WebElement locatePluginGroupExpanded (String pluginGroupName ) {
174- String xpath = "//div[@data-cy ='plugin-" + pluginGroupName + "-group-summary' and @aria-expanded='true']" ;
174+ String xpath = "//div[@data-testid ='plugin-" + pluginGroupName + "-group-summary' and @aria-expanded='true']" ;
175175 return SeleniumDriver .getDriver ().findElement (By .xpath (xpath ));
176176 }
177177
178178 public static By locatorOfPluginGroupCollapsed (String pluginGroupName ) {
179- String xpath = "//div[@data-cy ='plugin-" + pluginGroupName + "-group-summary' and @aria-expanded='false']" ;
179+ String xpath = "//div[@data-testid ='plugin-" + pluginGroupName + "-group-summary' and @aria-expanded='false']" ;
180180 return By .xpath (xpath );
181181 }
182182
@@ -185,19 +185,19 @@ public static WebElement locatePluginGroupCollapsed(String pluginGroupName) {
185185 }
186186
187187 public static WebElement locatePluginNameInList (String pluginName , String pluginGroupName ) {
188- String xpath = "//div[@data-cy ='plugin-" + pluginGroupName + "-group']" +
188+ String xpath = "//div[@data-testid ='plugin-" + pluginGroupName + "-group']" +
189189 "//div[contains(@class, 'PluginNameContainer')][normalize-space(text()) = '" + pluginName + "' " +
190190 "or translate(normalize-space(text()),' ','') = '" + pluginName + "']" ;
191191 return SeleniumDriver .getDriver ().findElement (By .xpath (xpath ));
192192 }
193193
194194 public static WebElement locateSinkPluginNameInList (String pluginName ) {
195- String xpath = "//*[@data-cy ='plugin-" + pluginName + "-batchsink']" ;
195+ String xpath = "//*[@data-testid ='plugin-" + pluginName + "-batchsink']" ;
196196 return SeleniumDriver .getDriver ().findElement (By .xpath (xpath ));
197197 }
198198
199199 public static WebElement locateRealtimeSourcePluginNameInList (String pluginName ) {
200- String xpath = "//*[@data-cy ='plugin-" + pluginName + "-streamingsource']" ;
200+ String xpath = "//*[@data-testid ='plugin-" + pluginName + "-streamingsource']" ;
201201 return SeleniumDriver .getDriver ().findElement (By .xpath (xpath ));
202202 }
203203
@@ -273,7 +273,11 @@ public static By locatorOfLoadingSpinnerOnValidateButton() {
273273 public static WebElement importPipelineButton ;
274274
275275 public static By fixAllButton () {
276- return By .xpath ("//button[@data-cy='fix-all-btn']" );
276+ return By .xpath ("//button[@data-testid='fix-all-btn']" );
277+ }
278+
279+ public static By statusBannerDisplay () {
280+ return By .xpath ("//*[@data-cy='valium-banner-hydrator']" );
277281 }
278282
279283 public static WebElement importPipelineInputTag () {
0 commit comments