There was an error while loading. Please reload this page.
see
<=
1 parent 5c3c866 commit b9bd5a8Copy full SHA for b9bd5a8
tests/data/app/view/info.php
@@ -44,5 +44,14 @@
44
<a id="third-link">Third</a>
45
</div>
46
47
+<script>
48
+ var a = 2;
49
+ var b = 3;
50
+ if (a <= b) {
51
+ console.log('a is less than b!');
52
+ }
53
+</script>
54
+<p>Text behind JS comparision</p>
55
+
56
</body>
57
</html>
tests/unit/Codeception/Module/PhpBrowserTest.php
@@ -71,6 +71,14 @@ public function testLinksWithNonLatin()
71
$this->module->click('Ссылочка');
72
}
73
74
+ /**
75
+ * @see https://github.com/Codeception/Codeception/issues/4509
76
+ */
77
+ public function testSeeTextAfterJSComparisionOperator()
78
+ {
79
+ $this->module->amOnPage('/info');
80
+ $this->module->see('Text behind JS comparision');
81
82
83
public function testSetMultipleCookies()
84
{
0 commit comments