Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 19:00
    tfaron commented #5133
  • Jan 31 2019 07:28
    cnishina closed #5135
  • Jan 31 2019 07:28
    cnishina commented #5135
  • Jan 30 2019 16:23
    ThabisoGithub closed #5136
  • Jan 30 2019 16:23
    ThabisoGithub edited #5136
  • Jan 30 2019 16:23
    ThabisoGithub edited #5136
  • Jan 30 2019 16:21
    ThabisoGithub opened #5136
  • Jan 30 2019 16:18
    IgorSasovets commented #4177
  • Jan 30 2019 15:05
    andrewchan-clover commented #4177
  • Jan 30 2019 13:43
    IgorSasovets commented #5135
  • Jan 30 2019 12:37
    EnzDev edited #5125
  • Jan 30 2019 11:47
    akshaymondal opened #5135
  • Jan 29 2019 14:33
    uinest commented #4822
  • Jan 28 2019 21:38
    cnishina commented #5132
  • Jan 28 2019 21:37
    cnishina commented #5134
  • Jan 28 2019 21:37
    cnishina closed #5134
  • Jan 28 2019 21:36

    cnishina on selenium4

    chore(release): bumpb version t… (compare)

  • Jan 28 2019 11:30
    think4ideas opened #5134
  • Jan 28 2019 11:01
    toniedzwiedz commented #2735
  • Jan 28 2019 09:42
    azorrozua commented #4786
Erwin Heitzman
@erwinheitzman
@barrycaceres I know that for some tools that is indeed a requirement. Of course I ain't sure if this is needed for running Protractor but I am pretty sure it is since I don't think it can interact with the GUI while locked and such
It's why most people run their tests in some sort of a VM / image on a remote machine
samraw83
@samraw83
Hi all
I'm getting this error Failures:
1) ServiceDesk Case Allocator should have a title
Message:
Failed: Error while waiting for Protractor to sync with the page: "both angularJS testability and angular testability are undefined. This could be either because this is a non-angular page or because your test involves client-side navigation, which can interfere with Protractor's bootstrapping. See http://git.io/v4gXM for details"
Stack:
Error: Error while waiting for Protractor to sync with the page: "both angularJS testability and angular testability are undefined. This could be either because this is a non-angular page or because your test involves client-side navigation, which can interfere with Protractor's bootstrapping. See http://git.io/v4gXM for details"
at runWaitForAngularScript.then (C:\Users\sarawa.FAREAST\AppData\Roaming\npm\nodemodules\protractor\built\browser.js:463:23)
at ManagedPromise.invokeCallback
(C:\Users\sarawa.FAREAST\AppData\Roaming\npm\node_modules\protractor\nodemodules\selenium-webdriver\lib\promise.js:1376:14)
at TaskQueue.execute
(C:\Users\sarawa.FAREAST\AppData\Roaming\npm\node_modules\protractor\nodemodules\selenium-webdriver\lib\promise.js:3084:14)
at TaskQueue.executeNext
(C:\Users\sarawa.FAREAST\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\promise.js:3067:27)
at asyncRun (C:\Users\sarawa.FAREAST\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\promise.js:2927:27)
at C:\Users\sarawa.FAREAST\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\promise.js:668:7
at process._tickCallback (internal/process/next_tick.js:68:7)
From: Task: Run it("should have a title") in control flow
at UserContext.<anonymous> (C:\Users\sarawa.FAREAST\AppData\Roaming\npm\node_modules\protractor\node_modules\jasminewd2\index.js:94:19)
From asynchronous test:
Error
at Suite.<anonymous> (C:\ServiceDesk\Automation\spec.js:2:5)
at Object.<anonymous> (C:\ServiceDesk\Automation\spec.js:1:63)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
its relevant to protractor
windows 10 machine
i have verified that the webapp is angular
i go it
i was navigating to some non angular page right after hitting the url and it was non angular
fixed the issue using browser.refresh
cherry2226
@cherry2226
Hi, How can upload a image in angular 7 useing protractor
shahankit783
@shahankit783
Hi All is there any way that we can run only failed cases based on retry Count in protractor.I know protractor-retry and flake utility is there, but that will run whole spec files not the failed test cases only.
Tony
@ajklotz
When will protractor v6.0.0 be tagged on npm as the latest release?
Okay, looks like there is some internal stuff going on based on what I read here angular/protractor#5192
testingpro
@testingpro
Hi all, does anyone has a running example of test automation on electron (angular UI) with protractor
Mikael Larsson
@webite_gitlab
Hey,
anyone have seen issues running chrome in --headless mode after upgrading protractor to v6.0.0 ? What happens is it doesnt seem to respect this argument
mynameishsandeep
@mynameishsandeep
@webite_gitlab Hi, I had a question regarding Protractor v6.0.0. Is Protractor v6.0.0 official released ? and good candidate to upgrade from v5.4.2. Please suggest
Hi All, had a question regarding Protractor v6.0.0. Is Protractor v6.0.0 official released ? and good candidate to upgrade from v5.4.2. Please suggest
ArtemRudenko
@artemrudenko
@mynameishsandeep craig said that is too early to update yet
Thomas Mørch
@tbowmo
it seems that we should wait for protractor 6.0.1, is there a plan for when this will be available?
mynameishsandeep
@mynameishsandeep
@artemrudenko Thank you for reply.
Craig Nishina
@cnishina
Oh hi. Yeah do not use 6.0.0. I am coordinating the 6.0.1 release with the angular team. We might do some beta releases.
Shahbaaz
@shahbaazchaviwale
Hi all , my test case are getting failed when i added chrome headless.
ArleyBolivar
@ArleyBolivar
HI all, could someone help me with this approach? I have 3 specs "specs: ['spec1','spec2','spec3']," and "maxInstances: 3" How can I force to "spec2" and "spec3" to wait until "spec1" finished their work for continue his execution, but that the "spec3" doesn't depend on the execution of "spec2" conserving "maxInstances:3" so that "spec^n" run simultaneously after that "spec1" finished.
Sriharshahv
@Sriharshahv
anybody know how to assign priority to it blocks and running based on priority
GitSage
@GitSage
@ArleyBolivar I don't think there's any way to do what you're attempting. You should refactor your tests so that all specs can be run independent of each other, especially if you're sharding test execution.
Bhargavi85
@Bhargavi85
Hi, I am new to Protractor and working in a project which has iframe, when try to connect to Iframe, when i try using By.Class(username);
It says "Unable to locate the element". Is there any wrong i am doing ?
Sri Harsha
@harsha509
@Bhargavi85 is it in frames maybe (or) have you crosschecked locator in chrome console ?
Bhargavi85
@Bhargavi85
yes it is a iframe, how to access with iframe? i have given switch.to.frame(path).
Sri Harsha
@harsha509
switch into frame using frame id or frame src, then you will be able to access WebElement inside iframe
Bhargavi85
@Bhargavi85
browser.driver.switch_to.iframe.findElement(By.css, " iframepath"); I gave the path after the line browser.get(website).
cedvdb
@cedvdb
Anything weird here ?
    it('should display error message when incorrect credentials', async () => {
        const email = 'false-email@false-provider.com';
        const password = 'false-password';
        await page.login(email, password);
        const EC = protractor.ExpectedConditions;
        await browser.wait(() => {
            browser.pause();
            return EC.visibilityOf(page.errorElem); }, 10000);
        return expect(page.errorElem.getText()).toEqual('Incorrect credentials');
    });
Gėorges
@gmoussayan
Hey in here! (new to the room, protractor and automation in general, and just wanted to say hi :) )
cedvdb
@cedvdb
@gmoussayan hi
ArtemRudenko
@artemrudenko
@gmoussayan hi
@cedvdb looks not but i'd update last rows to :
await browser.wait(async () => await EC.visibilityOf(page.errorElem), 10000, 'Element is not visible');
expect(await page.errorElem.getText())
    .toEqual('Incorrect credentials');
Ramesh Kumar
@calystoramesh
Hello All,

From Login screen when I clicked "Register" link , it's redirect to another angularJS project ( baseurl/register).
in script :

navigatetoRegScreen(){
return this.getLoginScreenLoaded().element(by.css('.rgt-sec a')).click().then(function(){
return browser.driver.wait(function () {
return browser.driver.getCurrentUrl().then(function (url) {
return /register/.test(url);
});
}, 50000);
});
}

URL is redirected but page is not loaded . do you have any idea?

how to handle the multiple AngularJS under the one roof ?
Sandeep N S
@sandeep29_gitlab
How to automate gmail mails
olivvv
@olivvv_twitter
Hi
I would like to play with protractor plugins
but it does not seems to understand typescript in the plugin code
I added this in my tsconfig.json
"include": [
".e2e/test-plugin.ts"
but to no effect same error
Sandeep N S
@sandeep29_gitlab
How to automate gmail 2 way authentication?
LemonAndroid
@LemonAndroid
try xdotool or apple script/cliclick
ovartem
@ovartem