message: Always run Windows and Linux XXE attacks
  Only on Travis-CI the "XXE Tier 2" challenge is *never* run and
  therefore cannot be expected to be solved!
diff: @@ -42,7 +42,6 @@ describe('/#/complain', () => {
  })
  describe('challenge "xxeFileDisclosure"', () => {
  - if (process.platform === 'win32') {
  it('should be possible to retrieve file from Windows server via .xml upload with XXE attack', () => {
  browser.waitForAngularEnabled(false)
  browser.executeScript(() => {
  @@ -57,11 +56,7 @@ describe('/#/complain', () => {
  browser.driver.sleep(1000)
  browser.waitForAngularEnabled(true)
  })
  - protractor.expect.challengeSolved({ challenge: 'Deprecated Interface' })
  - protractor.expect.challengeSolved({ challenge: 'XXE Tier 1' })
  - }
  - if (process.platform === 'linux' || process.platform === 'darwin') {
  it('should be possible to retrieve file from Linux server via .xml upload with XXE attack', () => {
  browser.waitForAngularEnabled(false)
  browser.executeScript(() => {
  @@ -76,13 +71,14 @@ describe('/#/complain', () => {
  browser.driver.sleep(3000)
  browser.waitForAngularEnabled(true)
  })
  +
  + afterAll(() => {
  protractor.expect.challengeSolved({ challenge: 'Deprecated Interface' })
  protractor.expect.challengeSolved({ challenge: 'XXE Tier 1' })
  - }
  + })
  })
  describe('challenge "xxeDos"', () => {
  - if (process.platform === 'win32') {
  it('should be possible to trigger request timeout via .xml upload with Quadratic Blowup attack', () => {
  browser.waitForAngularEnabled(false)
  browser.executeScript(() => {
  @@ -97,10 +93,8 @@ describe('/#/complain', () => {
  browser.driver.sleep(3000)
  browser.waitForAngularEnabled(true)
  })
  - protractor.expect.challengeSolved({ challenge: 'XXE Tier 2' })
  - }
  - if ((process.platform === 'linux' || process.platform === 'darwin') && !process.env.TRAVIS_BUILD_NUMBER) {
  + if (!process.env.TRAVIS_BUILD_NUMBER) {
  it('should be possible to trigger request timeout on Linux server via .xml upload with /dev/random XXE attack', () => {
  browser.waitForAngularEnabled(false)
  browser.executeScript(() => {
  @@ -115,7 +109,12 @@ describe('/#/complain', () => {
  browser.driver.sleep(3000)
  browser.waitForAngularEnabled(true)
  })
  + }
  +
  + afterAll(() => {
  + if (!process.env.TRAVIS_BUILD_NUMBER) {
  protractor.expect.challengeSolved({ challenge: 'XXE Tier 2' })
  }
  })
  })
  +})
  