insite's People
insite's Issues
Increase code coverage >= 70%
Check auto-generation routine
Need to review auto-generation routines for element wrapper classes and element accessors for basic DOM elements:
- Double-check to see if anything is getting missed.
- Review test coverage.
[SPIKE] Support for non-DOM watir objects
E.g., Watir::Window
Add additional support for URL identification beyond the URL template
When there are pages with the following URL definitions:
set_url "/accounts{account_code}"
set_url "/accounts/new"
The wrong page can potentially be selected, depending on which URL template is matched first. URL matchers are the current solution for this but defining the right regular expression can sometimes be a little tricky. It shouldn't be that hard to do some additional analysis above and beyond a straight template match, which should mostly eliminate the need to specify a URL matcher.
Add browser wrapper
Create a browser wrapper class with support for all of the element and component methods. Create a separate method for returning the watir browser.
Support for Angular content projection and reverse host projection
- @ngcontent and @Nghost
- Finish support for non_relative argument for element/component definitions.
- Packaging.
Revisit page/component registration
Use the inherited callback (may just need for page classes)
Better error when page accessor is called for page that hasn't been defined
The error shown below is raised when a nonexistent page accessor method is called and the site is on an undefined page. An error actually should be raised here but the current one isn't helpful. Need a better one.
[1] pry(main)> s.landing_page
NoMethodError: Could not apply landing_page. The current page could not be recognized. Current URL data:,
from /Users/john/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/insite-0.1.3/lib/insite/insite.rb:267:in `method_missing'
[2] pry(main)> s.page
=> #<Insite::UndefinedPage:0x00007fea71a297f8
@browser=#<Watir::Browser:0x..f97027514995b2c44 url="data:," title="">,
@site=#<Omni:0x70322449466460
@base_url="###################" @most_recent_page=>,
@url="data:,">
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.