赛普拉斯断言.should()错误

时间:2020-08-06 14:23:13

标签: vue.js automated-tests cypress

我在柏树中的主张无效

customView.getViewTreeObserver().addOnGlobalLayoutListener( 
    new OnGlobalLayoutListener(){

        @Override
        public void onGlobalLayout() {
            mHeight = customView.getHeight();  

            customView.getViewTreeObserver().removeOnGlobalLayoutListener( this );
            customView.setVisibility( View.GONE );
        }

});

我也尝试

//Set Value Profit Share
cy.get('#vlProfitShare').type(500);
cy.wait(500);
//Assertion Value Profit Share
cy.get('#vlProfitShare').should('contain',500);

柏树中的错误

//Assertion Value Profit Share
cy.get('input#vlProfitShare.form-control').should('contain',500);

0 个答案:

没有答案