BUG - Different behaviour for assertSelectorHasText
See original GitHub issueWhen running assertSelectorHasText on body to verify if a text is present, the script on Firefox PASS but on Chrome it FAILS
Example:
http://tebel.org/gist/about_tebel
test.assertSelectorHasText(tx('body'), "Tebel.Automation",'Check if has keyword');
Firefox: ./src/tagui ./sample/test_body firefox test
PASS Check if has keyword
Chrome: ./src/tagui ./sample/test_body chrome test
AIL Check if has keyword
# type: assertSelectorHasText
# file: /Sites/localhost/tagui/sample/test_body.js
# subject: false
# selector: "body"
# text: "Tebel.Automation"
# actualContent: ""
[info] [phantom] Step anonymous 3/4: done in 1462ms.
# http://tebel.org/gist/about_tebel - About Tebel
[info] [phantom] Step anonymous 4/4: done in 1666ms.
[info] [phantom] Done 4 steps in 1666ms
PASS /Users/tim/Sites/localhost/tagui/hyperlane/test_body (1 test)
FAIL 1 test executed in 1.487s, 0 passed, 1 failed, 0 dubious, 0 skipped.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Behavioral Responses of the Common Bed Bug, Cimex ...
Unlike other studies that evaluate the response of bed bugs to insecticides, the present study has recorded detailed behavioral measurements over a short...
Read more >Bed Bug Biology and Behavior - VDACS
Mating Behavior After feeding, adult bed bugs, particularly the males, are very interested in mating. Cimicid bugs have unique method of mating called ......
Read more >Observations on some behaviors of the Bagrada bug - UC ANR
Bagrada bugs are primarily attracted to cruciferous crops. However, the number of host species this pest feeds on or passing through is ...
Read more >Bed Bug Behavior & Issues - VAMA Eco
After a bite, people's bodies respond to bug bites in different ways. Some may not have a reaction to the bite at all,...
Read more >Behavioral Responses of the Common Bed Bug to Essential ...
In this study, we first screened fresh and 24 h-aged residues of geraniol, eugenol, carvacrol, thymol, citronellic acid, linalool, menthone, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For CasperJS testing framework if you want to check text for the page body you can consider using this.assertTextExists() - http://docs.casperjs.org/en/latest/modules/tester.html#asserttextexists
This issue can probably be closed, I think I can update the readme to make it clearer. There are some updates to improve readme clarity from a couple of your closed issues as well.