Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=profusion-mobi.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=dHlMgmWVoIOZ+vsPs4IMiwBBOZqj/q/9/PHbrC0TCdg=; b=p0TVbaRy6u2fhs9MinAQ4GshR/UHQINP7Bpa2b9zTtx+n+fgRMPfaqfM7V5Ii5mw8X mNwp5Yl005ASMQIOmv9q31a0PnMhuSqNz+CEOARW6/gZRsQ/ob05ItRdUc7YrSeM1HFg 5PnJZ+2MPoMO9YMoRjCOVEeoqG/W7cjRsn1BHVarstaMOVumkyKHCofYG5wzgJUqoa5R +n1WUosdT9m3CdoPUtFn0WgfHM0YPUXnLsjHHB7zgTe8RySGygiZBC1IaDw2y9t4p8i3 7FDB6FPyeYBWPJsfHY86ysiCrmbGySpXygMC6PPSN5soU1ATcW1GtRsICCPtMeOywpMn 7Lpg== Date: Tue, 3 Apr 2018 00:21:08 -0300 From: Guilherme Camargo Message-ID: <20180403032108.ayl5tz2topfthfbp@guicc-arch-three> References: <20180329000832.12268-1-guicc@profusion.mobi> <20180329000832.12268-8-guicc@profusion.mobi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Fuego] [PATCH 07/16] Add Back() Selenium Command List-Id: Mailing list for the Fuego test framework List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Tim.Bird@sony.com Cc: fuego@lists.linuxfoundation.org On Fri, Mar 30, 2018 at 10:52:13PM +0000, Tim.Bird@sony.com wrote: > > > > -----Original Message----- > > From: Guilherme Campos > > Camargo > > Sent: Wednesday, March 28, 2018 5:08 PM > > To: fuego@lists.linuxfoundation.org > > Subject: [Fuego] [PATCH 07/16] Add Back() Selenium Command > > > > That will go one level back in the browser history. > > Please don't split a sentence between the commit summary and commit description. > > Patch content is OK. > -- Tim > Thanks, Tim. I can fix that commit message in a fixup commit, as said on the previous patch. Would you like me to do it? > > > > Signed-off-by: Guilherme Campos Camargo > > --- > > engine/tests/Functional.fuegotest/test_run.py | 10 ++++++++++ > > 1 file changed, 10 insertions(+) > > > > diff --git a/engine/tests/Functional.fuegotest/test_run.py > > b/engine/tests/Functional.fuegotest/test_run.py > > index fa68858..851074f 100755 > > --- a/engine/tests/Functional.fuegotest/test_run.py > > +++ b/engine/tests/Functional.fuegotest/test_run.py > > @@ -97,6 +97,16 @@ class CheckText(SeleniumCommand): > > return result == self.expected_result > > > > > > +class Back(SeleniumCommand): > > + def exec(self, selenium_ctx): > > + super().exec(selenium_ctx) > > + > > + LOGGER.debug(' Going back') > > + self.driver.back() > > + > > + return True > > + > > + > > class ShExpect(): > > BASH_PATTERN = 'test_run_pr1:#' > > COMMAND_RESULT_PATTERN = re.compile('^([0-9]+)', re.M) > > -- > > 2.16.2 > > > > _______________________________________________ > > Fuego mailing list > > Fuego@lists.linuxfoundation.org > > https://lists.linuxfoundation.org/mailman/listinfo/fuego