Uploaded image for project: 'Atlassian Cloud'
  1. Atlassian Cloud
  2. CLOUD-3384

TestStudioSearch is flaky

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Medium
    • None
    • None

    Description

      This fails in the jira-4.2 upgrade branch's mvn clean install but not from IDEA run.

      The login of 'testadmin' is done in @BeforeClass, which may be the cause why the link is not found if the logged in user is not an admin when the test is run.

      junit.framework.AssertionFailedError: Unable to find link with id [add_project]
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.assertTrue(Assert.java:20)
      at net.sourceforge.jwebunit.junit.WebTester.assertLinkPresent(WebTester.java:1857)
      at com.atlassian.studio.livetest.PrintingPageWebTester.assertLinkPresent(PrintingPageWebTester.java:1279)
      at net.sourceforge.jwebunit.junit.WebTester.clickLink(WebTester.java:2552)
      at com.atlassian.studio.livetest.FuncTestWebTester.clickLink(FuncTestWebTester.java:76)
      at com.atlassian.studio.functest.studio.CreateStudioProjectTester.clickAddProjectLink(CreateStudioProjectTester.java:46)
      at com.atlassian.studio.functest.core.FuncTestStudioUtils.createProject(FuncTestStudioUtils.java:53)
      at com.atlassian.studio.functest.TestStudioSearch.testCrucibleSearchAfterProjectDeletionWithData(TestStudioSearch.java:378)

      Attachments

        Activity

          People

            Unassigned Unassigned
            awei Alex Wei (DE)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: