Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 09 2019 10:02
    sohansoni edited #41
  • Feb 09 2019 10:01
    sohansoni edited #41
  • Feb 09 2019 10:01
    sohansoni opened #41
  • Feb 01 2019 07:19
    chiaweilee closed #40
  • Nov 12 2018 04:17
    chiaweilee synchronize #40
  • Nov 12 2018 04:03
    chiaweilee opened #40
  • Feb 07 2018 13:30
    artemv commented #36
  • Feb 04 2018 23:40
    samccone closed #39
  • Feb 04 2018 23:40
    samccone commented #39
  • Feb 04 2018 23:40

    samccone on v0.6.0

    (compare)

  • Feb 04 2018 23:40

    samccone on master

    Add yarn.lock to project Ensure consistant formatting Bump v0.6.0 (compare)

  • Feb 04 2018 23:33
    samccone commented #36
  • Feb 04 2018 23:33

    samccone on master

    feat: added some more lifecycle… (compare)

  • Feb 04 2018 23:33
    samccone closed #36
  • Feb 04 2018 23:32

    samccone on master

    fix: handled more cases re miss… (compare)

  • Feb 04 2018 23:32
    samccone closed #35
  • Feb 04 2018 23:32
    samccone commented #35
  • Jan 31 2018 04:59
    zobier commented #39
  • Nov 29 2017 21:37
    kot-lex opened #39
  • Nov 16 2017 11:25
    gedeh opened #38
Sam Saccone
@samccone
:smile:
LG
@componentDidMount
hey @samccone how do i do a dblclick in drool?
Sam Saccone
@samccone
yo @elgubenis
i tweeted back at you :)
fgaston
@fgaston
hello @samccone
I would like to use drool but I don't know how to install the chrome driver, could you help me please?
Sam Saccone
@samccone
yo @fgaston
fgaston
@fgaston
@samccone Thank you, I can start the driver now.
fgaston
@fgaston
@samccone I have still some issue, in the function drool.flow, my setup and action functions are not executed by the controlFlow (controlFlow.execute(fn)), do you have any idea why?
I don't get any error but my test is going to timeout
Sam Saccone
@samccone
without seeing any code unfortunately it is very hard for me to debug
fgaston
@fgaston
I am trying to start your example from git
describe('memory tests', function() {
beforeEach(function() {
if (typeof process.env.chromeBinaryPath !== 'undefined') {
config.chromeBinaryPath = process.env.chromeBinaryPath;
}
this.results = [];
return this.driver = drool.start(config);
});
afterEach(function() {
return this.driver.quit();
});
it('inputs should not leak when added and removed', function() {
var self;
console.log('start flow');
self = this;
return drool.flow({
repeatCount: 1,
setup: function() {
return self.driver.get('file://' + path.join(__dirname, 'examples/', 'inputs.html'));
},
action: function() {
return this.driver.findElement(drool.webdriver.By.css('#add-remove')).click();
},
assert: function(after, initial) {
return assert.equal(initial.nodes, after.nodes, 'node count should match');
}
}, self.driver);
});
the only difference I see is that I am using the version "2.46.1" for the selenium-webdriver because the last version doesn't work with node 0.12
Sam Saccone
@samccone
oh that would be an issue
an the*
fgaston
@fgaston
Should I change my node version or there is a workaround?
fgaston
@fgaston
It finally worked after removing from the beforeEach the following condition
'if (typeof process.env.chromeBinaryPath !== 'undefined') {
config.chromeBinaryPath = process.env.chromeBinaryPath;
}' but I don't understand why
Sam Saccone
@samccone
hmm
nor do I :(
if there was no stack.....
and you do not have that set
it is confusing for sure
hellboy81
@hellboy81
[discussion] [feature request] [help needed] Logging memory objects

Is there possible to log in drool variables, array indexes, code fragments?

Is there some alternatives?

As I mentioned lloyd/node-memwatch#73 can not log this info
I am looking for some alternatives
LG
@componentDidMount
@samccone
@fgaston has heavy issues with the bug of chrome counting node of inputs/textareas in its timeline
without even existing
do you think there is an easier way then proxying sendKeys to get a correct count in the end?
do you know anything about the issue being fixed soon?
last thing we've read was from november
nodes*
Sam Saccone
@samccone
Yo
LG
@componentDidMount
sup
can you help out?
in any way, have any idea or advice?
seems we cant trust the node count of chromes timeline
Trezy
@trezy
Hey @samccone, have you seen this at all?
WebDriverError: unknown error: cannot parse capability: chromeOptions
from unknown error: unrecognized chrome option: perfLoggingPrefs
  (Driver info: chromedriver=2.9.248307,platform=Mac OS X 10.11.3 x86_64)
It looks like it's probably a Selenium issue
But I wanted to ask in case you have a quick solution.
I haven't been able to find any details online thus far.
Sam Saccone
@samccone
oh fun
have not seen this...
@trezy mind opening an issueeee
Trezy
@trezy
@samccone I do noooooooot
:-)
Uno momento
Trezy
@trezy
Done.
Sohan Soni
@sohansoni
Hi Guys
Sohan Soni
@sohansoni

We have developed HTML5-AngularJS website. Application's UI tests are written using selenium, where it tests all the workflows of the system. i.e. right from opening the site, logging into it, performing tasks like opening all the forms, performing actions inside those forms and then finally logging out.

Right now we are using chrome development tools to find out memory leaks. But came across drool as we want to automate the memory leak detection. I was going through API docs and see that we have to use something like this driver.findElement(drool.webdriver.By.css('.new-todo') in order to get the elements from the DOM.

So question is, can we use drool with existing selenium test cases ?