angular-sdk-examples's People
angular-sdk-examples's Issues
SplitFactory blocking protractor tests
Hey,
Hope all of you are doing great. Me and my team are using SplitIO in our project. Angular 8 created with JHipster, but I don't think it matters. Issue that we are facing is that when splitio service/client is running it is blocking our e2e (protractor) tests to perform any actions, like clicking on the button or navigating on the page.
Specifically invoking this line causes tests to start breaking:
SplitFactory({
...config
});
I am not sure why this would be happening and I would really appreciate any help. If you need more information just let me know.
handling SDK_READY_TIMED_OUT
the complex example has this bit of code
// We won't throw an error here, we'll just return the false for the AppResolver to know it should not render the view.
// A real use case would be to handle that as a control event.
//
// There's an advanced use case where you'll react to timeouts but once the SDK gets ready you'll use it.
// Just showcasing a way you can handle that, but if you have a specific use case we can have more discussions.
client.on(client.Event.SDK_READY_TIMED_OUT, () => {
this._isSdkReady = false;
resolve(false);
});
why not reject
with an error?
if we are not rejecting, how would a retry strategy work here? or is that unnecessary?
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.