Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-14926

Flaky test "Channel Manager page actions Part3.user 2 tries to move page locked by user 1"

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 15.0.0
    • 15.0.0
    • None
    • None
    • 1
    • Quasar
    • Puma sprint 277, Team Quasar sprint 278, Team Quasar sprint 282, Team Quasar Sprint 283

    Description

      The "Channel Manager page actions Part3.user 2 tries to move page locked by user 1" test fails/passes inconsistently over consecutive tests without changes.

      For now the test will be disabled, so we work towards a green build.

      https://bloomreach.slack.com/archives/C01UF3RNX8F/p1640100114022500

      Given user starts with "editor" role and "Experience manager" perspective...passed
      When user navigates to channel "Hippo Acceptance Project"...................passed
      And user creates a new page bronson.........................................passed
      And user publishes changes..................................................passed
      And user selects page action Properties.....................................passed
      And user specifies title bussum.............................................failed
      And in "second" browser, user logs in as editor2............................skipped
      And in "second" browser, user looks at perspective Experience manager.......skipped
      And in "second" browser, user navigates to channel Hippo Acceptance Project.skipped
      And in "second" browser, user opens the sidenav.............................skipped
      And in "second" browser, user clicks sitemap item bronson...................skipped
      And in "second" browser, user selects page action Move......................skipped
      And in "second" browser, user specifies last path info element "boink"......skipped
      And user clicks subpage action button.......................................skipped
      And in "second" browser, user clicks subpage action button no wait..........skipped
      Then in "second" browser, feedback toast is visible.........................skipped
      When user selects page action Delete........................................skipped
      And user confirms the action................................................skipped
      And user publishes changes..................................................skipped
      Then icon "changes" is not visible in the toolbar...........................skipped
      
      StackTrace:
      java.lang.reflect.UndeclaredThrowableException
      	at com.sun.proxy.$Proxy65.setPageTitle(Unknown Source)
      	at com.onehippo.cms.hap.community.qa.channelmanager.ChannelEditorSteps.lambda$inBrowserUserSpecifiesTitle$26(ChannelEditorSteps.java:539)
      	at com.onehippo.cms7.qa.utils.WaitFor.action(WaitFor.java:90)
      	at com.onehippo.cms7.qa.utils.WaitFor.action(WaitFor.java:71)
      	at com.onehippo.cms.hap.community.qa.channelmanager.ChannelEditorSteps.inBrowserUserSpecifiesTitle(ChannelEditorSteps.java:539)
      	at com.onehippo.cms.hap.community.qa.channelmanager.ChannelEditorSteps.userSpecifiesTitle(ChannelEditorSteps.java:534)
      	at ✽.user specifies title bussum(file:///var/lib/jenkins/workspace/brxm_build_release_15.0/internal/hap/enterprise/integration-test-community/src/test/resources/com/onehippo/cms/hap/community/qa/channelmanager/PageActions_Part3.feature:143)
      Caused by: java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.onehippo.cms7.qa.selenium.invocationHandlers.IframeInvocationHandler.invoke(IframeInvocationHandler.java:23)
      	at com.sun.proxy.$Proxy65.setPageTitle(Unknown Source)
      	at com.onehippo.cms.hap.community.qa.channelmanager.ChannelEditorSteps.lambda$inBrowserUserSpecifiesTitle$26(ChannelEditorSteps.java:539)
      	at com.onehippo.cms7.qa.utils.WaitFor.action(WaitFor.java:90)
      	at com.onehippo.cms7.qa.utils.WaitFor.action(WaitFor.java:71)
      	at com.onehippo.cms.hap.community.qa.channelmanager.ChannelEditorSteps.inBrowserUserSpecifiesTitle(ChannelEditorSteps.java:539)
      	at com.onehippo.cms.hap.community.qa.channelmanager.ChannelEditorSteps.userSpecifiesTitle(ChannelEditorSteps.java:534)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at io.cucumber.java.Invoker.invoke(Invoker.java:27)
      	at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:27)
      	at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
      	at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:64)
      	at io.cucumber.core.runner.TestStep.run(TestStep.java:49)
      	at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:46)
      	at io.cucumber.core.runner.TestCase.run(TestCase.java:51)
      	at io.cucumber.core.runner.Runner.runPickle(Runner.java:67)
      	at io.cucumber.junit.PickleRunners$NoStepDescriptions.run(PickleRunners.java:149)
      	at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:83)
      	at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:24)
      	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
      	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
      	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
      	at io.cucumber.junit.Cucumber.runChild(Cucumber.java:185)
      	at io.cucumber.junit.Cucumber.runChild(Cucumber.java:83)
      	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
      	at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:405)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: org.openqa.selenium.InvalidElementStateException: invalid element state: Element is not currently interactable and may not be manipulated
        (Session info: headless chrome=95.0.4638.69)
      Build info: version: '4.0.0', revision: '3a21814679'
      System info: host: '0220e3b3aeae', ip: '172.17.0.7', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-1160.49.1.el7.x86_64', java.version: '1.8.0_312'
      Driver info: com.onehippo.cms7.qa.selenium.wrap.chrome.ChromeDriverWrapper
      Command: [db099f310a6683ec06986f73d0bbb8a7, clearElement {id=81aa2f26-dbfb-4247-b474-576e7e2af90a}]
      Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 95.0.4638.69, chrome: {chromedriverVersion: 95.0.4638.69 (6a1600ed572fe..., userDataDir: /tmp/.com.google.Chrome.maxiNZ}, goog:chromeOptions: {debuggerAddress: localhost:43925}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, proxy: Proxy(), se:cdp: ws://localhost:43925/devtoo..., se:cdpVersion: 95.0.4638.69, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
      Element: [[ChromeDriverWrapper: chrome on LINUX (db099f310a6683ec06986f73d0bbb8a7)] -> css selector: .qa-title]
      Session ID: db099f310a6683ec06986f73d0bbb8a7
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:200)
      	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:133)
      	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:53)
      	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:184)
      	at org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:164)
      	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:139)
      	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:559)
      	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:251)
      	at org.openqa.selenium.remote.RemoteWebElement.clear(RemoteWebElement.java:126)
      	at com.onehippo.cms7.qa.selenium.wrap.ElementWrapper.clear(ElementWrapper.java:69)
      	at com.onehippo.cms7.qa.pages.ChannelEditorPage.setPageTitle(ChannelEditorPage.java:610)
      	at com.onehippo.cms7.qa.selenium.components.ChannelEditorImpl.setPageTitle(ChannelEditorImpl.java:248)
      	... 42 more
      

      Attachments

        Activity

          People

            valeria.avramenko Valeria Avramenko
            mrop Michiel Rop
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: