SeleniumHQ / selenium-ide

Open Source record and playback test automation for the web.
https://selenium.dev/selenium-ide/
Apache License 2.0
2.74k stars 740 forks source link

Assert target with stored variable does not work (v4) #1689

Closed Pun-slinger closed 11 months ago

Pun-slinger commented 11 months ago

🐛 Bug Report

Assert target with stored variable failed for both Selenium IDE v4 and selenium-side-runner v4

All assert commands failed if target contains stored variable (Assert Value, Assert Element Present, Assert Text, etc...)

To Reproduce

image

Expected behavior

No error should occure, test should run successfully to completion

Project file reproducing this issue (highly encouraged)

Please provide a project file .side that reproduces this issue.

Issues without a reproduction project are likely to stall.

Environment

OS: Windows 10 Selenium IDE Version: 4.0.0-alpha.46 Selenium SIDE Runner Version: 4.0.0-alpha.55 Node version: v18.14.2. Browser: Browser Version:

toddtarsi commented 11 months ago

Oh! The locator on assert element present. Aha!

toddtarsi commented 11 months ago

@Pun-slinger - Okay, added preprocessors for the following assertions:

element present element not present title value

toddtarsi commented 11 months ago

@Pun-slinger - Closing this! Feel free to open for more

github-actions[bot] commented 10 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.