mw.ui: button: Update focus state
[lhc/web/wiklou.git] / tests / browser / features / support / pages / file_does_not_exist_page.rb
1 #
2 # This file is subject to the license terms in the LICENSE file found in the
3 # qa-browsertests top-level directory and at
4 # https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/LICENSE. No part of
5 # qa-browsertests, including this file, may be copied, modified, propagated, or
6 # distributed except according to the terms contained in the LICENSE file.
7 #
8 # Copyright 2012-2014 by the Mediawiki developers. See the CREDITS file in the
9 # qa-browsertests top-level directory and at
10 # https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/CREDITS
11 #
12 class FileDoesNotExistPage
13 include PageObject
14
15 include URL
16 page_url URL.url("File:<%=params[:page_name]%>")
17
18 div(:file_does_not_exist_message, id: "mw-imagepage-nofile")
19 end