Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-30662

Create a proof of concept Behat test for http-cache bundle

    XMLWordPrintable

Details

    • Icon: Story Story
    • Resolution: Done
    • Icon: High High
    • 3.0.0-beta2
    • 3.0.x-dev
    • QA
    • [3.0] - Sprint 9

    Description

      It would be useful to have automated tests checking whether Varnish caching is working correctly.

      Goal:
      create a simple scenario that verifies that browser contains correct browser headers (with values MISS/HIT) when executing basic actions.

      Approach:
      1. Switch to ChromeDriver (at least in these tests) as it supports both JavaScript and Response headers (http://mink.behat.org/en/latest/guides/drivers.html)
      2. Add possibility to edit Content using BehatBundle
      3. Add a BrowserContext to BehatBundle that will allow to visit frontend websites and verify cache responses

      Attachments

        Activity

          People

            Unassigned Unassigned
            marek.nocon@ibexa.co Marek NocoĊ„
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: