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

Flaky test "Default channels actions.user cannot delete inherited page"

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 15.0.0
    • None
    • None
    • Quasar
    • Puma sprint 276

    Description

      The "Default channels actions.user cannot delete inherited page" test fails/passes inconsistently over consecutive builds without changes.

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

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

      StacktraceGiven user starts with "editor" role and "Channels" perspective.............passed
      When user navigates to channel "Hippo Acceptance Project"...................passed
      And user creates a new page echo............................................passed
      And user publishes changes..................................................passed
      And user returns to channel overview........................................failed
      And user navigates to channel "Hippo Acceptance Sub Project"................skipped
      And user opens the sidenav..................................................skipped
      Then sitemap item "echo" is present.........................................skipped
      When user clicks in sitemap item "echo".....................................skipped
      Then page action "Delete" is disabled.......................................skipped
      When user returns to channel overview.......................................skipped
      And user navigates to channel "Hippo Acceptance Project"....................skipped
      And user opens the sidenav..................................................skipped
      And user clicks in sitemap item "echo"......................................skipped
      When user selects page action Delete........................................skipped
      And user confirms the action................................................skipped
      And user publishes changes..................................................skipped
      Then sitemap item "echo" is not present.....................................skippedStackTrace:
      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.$Proxy63.leaveChannel(Unknown Source)
      	at com.onehippo.cms.hap.community.qa.channelmanager.ChannelOverviewSteps.inBrowserUserReturnsToChannelOverview(ChannelOverviewSteps.java:190)
      	at com.onehippo.cms.hap.community.qa.channelmanager.ChannelOverviewSteps.user_returns_to_channel_overview(ChannelOverviewSteps.java:185)
      	at ✽.user returns to channel overview(file:///var/lib/jenkins/workspace/brxm_build_release_14.7/internal/hap/enterprise/integration-test-community/src/test/resources/com/onehippo/cms/hap/community/qa/channelmanager/DefaultChannelActions.feature:34)
      Caused by: java.lang.IllegalStateException: Breadcrumbs show unexpected number of values.
      	at com.onehippo.cms7.qa.selenium.components.ChannelManagerPageImpl.leaveChannel(ChannelManagerPageImpl.java:200)
      	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.$Proxy63.leaveChannel(Unknown Source)
      	at com.onehippo.cms.hap.community.qa.channelmanager.ChannelOverviewSteps.inBrowserUserReturnsToChannelOverview(ChannelOverviewSteps.java:190)
      	at com.onehippo.cms.hap.community.qa.channelmanager.ChannelOverviewSteps.user_returns_to_channel_overview(ChannelOverviewSteps.java:185)
      	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) 

      Attachments

        Activity

          People

            mrop Michiel Rop
            mrop Michiel Rop
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: