2014-06-23 17:27:07 +00:00
|
|
|
#
|
|
|
|
# This file is subject to the license terms in the LICENSE file found in the
|
|
|
|
# qa-browsertests top-level directory and at
|
|
|
|
# https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/LICENSE. No part of
|
|
|
|
# qa-browsertests, including this file, may be copied, modified, propagated, or
|
|
|
|
# distributed except according to the terms contained in the LICENSE file.
|
|
|
|
#
|
|
|
|
# Copyright 2012-2014 by the Mediawiki developers. See the CREDITS file in the
|
|
|
|
# qa-browsertests top-level directory and at
|
|
|
|
# https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/CREDITS
|
|
|
|
#
|
|
|
|
@chrome @en.wikipedia.beta.wmflabs.org @firefox @internet_explorer_6 @internet_explorer_7 @internet_explorer_8 @internet_explorer_9 @internet_explorer_10 @login @phantomjs @test2.wikipedia.org
|
|
|
|
Feature: Math
|
|
|
|
|
|
|
|
Scenario: Display simple math
|
|
|
|
Given I am logged in
|
|
|
|
And I am at page that does not exist
|
2014-12-11 06:29:59 +00:00
|
|
|
When I click link Create source
|
|
|
|
And I type <math>3 + 2</math>
|
2014-06-23 17:27:07 +00:00
|
|
|
And I click Preview
|
|
|
|
Then the page should contain an img tag
|
|
|
|
And alt for that img should be 3 + 2
|
|
|
|
And src for that img should come from //upload
|