Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-1899

Usage of this extension causes some elements not to be found

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • angularjs_1.2.0.Beta1
    • Extension - AngularJS
    • None
    • Hide

      1. Download KeyCloak server (issue is in the admin console) - http://downloads.sourceforge.net/project/keycloak/1.1.0.Beta1/keycloak-appliance-dist-all-1.1.0.Beta1.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fkeycloak%2Ffiles%2F1.1.0.Beta1%2F&ts=1421076495&use_mirror=netcologne

      2. Unzip it, run it, go to localhost:8080/auth/admin and set the admin password to admin

      3. Clone the https://github.com/pmensik/keycloak.git, checkout arquillian-integration branch

      4. Go to testsuite/keycloak-testsuite-arquillian and run mvn verify -Dtest=AddNewUserTest#addUserWithInvalidEmailTest

      Now the problem is when you run with the AngularJS extension it won't correctly locate the error popup message. However if you comment out the Maven dependency (therefore extension is not available at runtime), test will pass as it should have. So this extension is probably somehow messing up the WebDriver runtime but I wasn't able to discover what is the issue.

      Show
      1. Download KeyCloak server (issue is in the admin console) - http://downloads.sourceforge.net/project/keycloak/1.1.0.Beta1/keycloak-appliance-dist-all-1.1.0.Beta1.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fkeycloak%2Ffiles%2F1.1.0.Beta1%2F&ts=1421076495&use_mirror=netcologne 2. Unzip it, run it, go to localhost:8080/auth/admin and set the admin password to admin 3. Clone the https://github.com/pmensik/keycloak.git , checkout arquillian-integration branch 4. Go to testsuite/keycloak-testsuite-arquillian and run mvn verify -Dtest=AddNewUserTest#addUserWithInvalidEmailTest Now the problem is when you run with the AngularJS extension it won't correctly locate the error popup message. However if you comment out the Maven dependency (therefore extension is not available at runtime), test will pass as it should have. So this extension is probably somehow messing up the WebDriver runtime but I wasn't able to discover what is the issue.

      Extension seems to be somehow modifying WebDriver runtime because some locators won't work with this extension turned on.

            Unassigned Unassigned
            pmensik@redhat.com Petr Mensik (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: