Comments (8)
I'm working on it now! Thanks for your contributions, @stramel! Very welcome! :)
from gulp-protractor-qa.
Just an update on this, selectors with :
don't seem to be supported by cheerio. I get this error:
SyntaxError: Malformed attribute selector: ng:repeat="
When I remove ng:
option all works fine. Thus, I'm not including ng:
variation for now.
from gulp-protractor-qa.
I'm wondering if there would be a way to wildcard match the attribute and strip off the ng:
, ng-
, ng_
and everything before the ng
. That would cover all cases but I'm not sure if it would be possible to look for an attribute containing bind
from gulp-protractor-qa.
694c2f7 should cover all prefixes, except ng:
.
from gulp-protractor-qa.
I know what you mean, I'll think about it later. I want to focus on publishing this refactored version first.
from gulp-protractor-qa.
I agree, it would be good to get this out.
from gulp-protractor-qa.
@ramonvictor Thoughts?
Using the Cheerio Plugins to create a different find method that strips the prefixes.
from gulp-protractor-qa.
@stramel that sounds a good approach. I'll take a look on it soon. Thanks for one more nice suggestion.
from gulp-protractor-qa.
Related Issues (16)
- testSrc and viewSrc should be able to read array HOT 1
- Searching for element by repeater not working if using "data-ng-repeat" HOT 6
- Cant watch by.css locator HOT 4
- by.css not watching css that starts with "." and "#" HOT 9
- Improve cssAttrs regex HOT 1
- [by.css] support to compilation dependent selectors like :nth-child(), :last-child, etc
- pageObjects with dynamic attributes in locators not working HOT 2
- Element watcher is not working/starting
- Unable to track the HTML page changes HOT 1
- Installation failed HOT 2
- Show: <number> out of <total> element selectors are been watched HOT 1
- Map element selectors by.css() using id (#foo) and classes (.bar) HOT 8
- Add test cases and travis CI HOT 6
- Commented out element selectors still output error HOT 5
- [FEATURE] Run Once HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gulp-protractor-qa.