久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

      • <bdo id='Yzeyx'></bdo><ul id='Yzeyx'></ul>

    1. <tfoot id='Yzeyx'></tfoot><legend id='Yzeyx'><style id='Yzeyx'><dir id='Yzeyx'><q id='Yzeyx'></q></dir></style></legend>
      <i id='Yzeyx'><tr id='Yzeyx'><dt id='Yzeyx'><q id='Yzeyx'><span id='Yzeyx'><b id='Yzeyx'><form id='Yzeyx'><ins id='Yzeyx'></ins><ul id='Yzeyx'></ul><sub id='Yzeyx'></sub></form><legend id='Yzeyx'></legend><bdo id='Yzeyx'><pre id='Yzeyx'><center id='Yzeyx'></center></pre></bdo></b><th id='Yzeyx'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Yzeyx'><tfoot id='Yzeyx'></tfoot><dl id='Yzeyx'><fieldset id='Yzeyx'></fieldset></dl></div>

      <small id='Yzeyx'></small><noframes id='Yzeyx'>

        “角度未定義"對存儲在 Liferay 中的角度應用

        quot;angular is not definedquot; error while executing Protractor test on angular application stored in Liferay(“角度未定義對存儲在 Liferay 中的角度應用程序執行量角器測試時出錯) - IT屋-程序員軟件開發技術分

            <tfoot id='sR6KX'></tfoot>

              <tbody id='sR6KX'></tbody>
            • <i id='sR6KX'><tr id='sR6KX'><dt id='sR6KX'><q id='sR6KX'><span id='sR6KX'><b id='sR6KX'><form id='sR6KX'><ins id='sR6KX'></ins><ul id='sR6KX'></ul><sub id='sR6KX'></sub></form><legend id='sR6KX'></legend><bdo id='sR6KX'><pre id='sR6KX'><center id='sR6KX'></center></pre></bdo></b><th id='sR6KX'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='sR6KX'><tfoot id='sR6KX'></tfoot><dl id='sR6KX'><fieldset id='sR6KX'></fieldset></dl></div>

                <legend id='sR6KX'><style id='sR6KX'><dir id='sR6KX'><q id='sR6KX'></q></dir></style></legend>

                <small id='sR6KX'></small><noframes id='sR6KX'>

                • <bdo id='sR6KX'></bdo><ul id='sR6KX'></ul>
                • 本文介紹了“角度未定義"對存儲在 Liferay 中的角度應用程序執行量角器測試時出錯的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我在 Ubuntu 14.04 虛擬主機上運行,??我正在嘗試使用 PROTRACTOR 和托管在Liferay"中的應用程序創建一些 E2E 測試.

                  i'm running on a Ubuntu 14.04 virtual-host and i'm trying to create some E2E tests with PROTRACTOR for and Application hosted in "Liferay".

                  對于登錄部分(不需要角度),使用量角器的測試正常,頁面登錄并正確導航,但是當我嘗試在基于 angularjs 的應用程序上打開下拉"菜單時,使用以下內容代碼:

                  For the login section (that doesn't require angular) the test with protractor are Ok, the page logins and navigates correctly, but when i try to open a "drop-down" menu on the angularjs based app with the following code:

                  <select class = "form-control menu-select ng-pristine ng-valid"
                  ng-model = "topTitlesData.topFiveDateRange"
                  name = "topFiveDateRange"
                  ng-options = "range.name for range in        topTitlesData.topFiveDateRangeValues"
                  ng-change = "" > < option value = "0" > Last day < /option><option value="1">Last 5 days</option > < option value = "2" > Last 7 days < /option><option value="3">Last 30 days</option > < option value = "4" > last 90 days < /option></select>
                  

                  我收到了這個錯誤日志:

                  i got this error log:

                  UnknownError:未知錯誤:未定義角度

                  UnknownError: unknown error: angular is not defined

                  This is the test script on js:
                  
                  
                  describe('pages with login', function() {
                    it('should log in with a non-Angular page and select and option', funcion() {
                      browser.ignoreSynchronization = true;
                      browser.get('***************');
                      element(by.id('_58_login')).clear();
                      element(by.id('_58_login')).sendKeys('*******');
                      expect(element(by.id('_58_login')).getAttribute('value')).toEqual('*****');
                      element(by.id('_58_password')).sendKeys('*****', protractor.Key.ENTER);
                      browser.get('***************');
                      //browser.ignoreSynchronization = false;
                      var selects = element.all(by.model('topTitlesData.topFiveDateRange'));
                      expect(selects.count()).toEqual(5);
                    });
                  });

                  我想知道,我錯過了什么?

                  i'm wondering, what am i missing ?

                  我已經安裝和更新了 nodejs、量角器、webadmin-manager、jdk7.*

                  i have nodejs, protractor, webadmin-manager,jdk7.* installed and updated

                  推薦答案

                  謝謝你,問題是測試沒有等到 angular 加載到頁面...所以我用"Grunt"、Yeoman"和 Ruby +ruby-compass" gem 并避免使用 liferay.我也設置了

                  thank you, the issue was that the tests didn't wait till angular in loaded to the page... so i setup a localhost with the application with "Grunt", "Yeoman" and Ruby + "ruby-compass" gem and avoided liferay. I also setup

                  allScriptsTimeout: 5000000,

                  在 config.js 文件中,現在測試運行正常.

                  in the config.js file and now the tests is running okay.

                  這篇關于“角度未定義"對存儲在 Liferay 中的角度應用程序執行量角器測試時出錯的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Browser waits for ajax call to complete even after abort has been called (jQuery)(即使在調用 abort (jQuery) 之后,瀏覽器也會等待 ajax 調用完成)
                  JavaScript innerHTML is not working for IE?(JavaScript innerHTML 不適用于 IE?)
                  XMLHttpRequest cannot load, No #39;Access-Control-Allow-Origin#39; header is present on the requested resource(XMLHttpRequest 無法加載,請求的資源上不存在“Access-Control-Allow-Origin標頭) - IT屋-程序員軟件開發技術分
                  Is it possible for XHR HEAD requests to not follow redirects (301 302)(XHR HEAD 請求是否有可能不遵循重定向 (301 302))
                  XMLHttpRequest 206 Partial Content(XMLHttpRequest 206 部分內容)
                  Restrictions of XMLHttpRequest#39;s getResponseHeader()?(XMLHttpRequest 的 getResponseHeader() 的限制?)
                    <tbody id='4k8oa'></tbody>
                        <bdo id='4k8oa'></bdo><ul id='4k8oa'></ul>
                        <i id='4k8oa'><tr id='4k8oa'><dt id='4k8oa'><q id='4k8oa'><span id='4k8oa'><b id='4k8oa'><form id='4k8oa'><ins id='4k8oa'></ins><ul id='4k8oa'></ul><sub id='4k8oa'></sub></form><legend id='4k8oa'></legend><bdo id='4k8oa'><pre id='4k8oa'><center id='4k8oa'></center></pre></bdo></b><th id='4k8oa'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='4k8oa'><tfoot id='4k8oa'></tfoot><dl id='4k8oa'><fieldset id='4k8oa'></fieldset></dl></div>
                        <legend id='4k8oa'><style id='4k8oa'><dir id='4k8oa'><q id='4k8oa'></q></dir></style></legend>
                        <tfoot id='4k8oa'></tfoot>

                        • <small id='4k8oa'></small><noframes id='4k8oa'>

                          1. 主站蜘蛛池模板: 欧美性猛交一区二区三区精品 | 日韩中文字幕在线观看视频 | 免费黄色片在线观看 | 亚洲一区中文字幕 | 色吧综合| 日本中文字幕一区 | 精品国产精品国产偷麻豆 | 综合九九 | 欧美人妇做爰xxxⅹ性高电影 | 99re6热在线精品视频播放 | 91pao对白在线播放 | 天天综合久久 | 九九久久久 | 国产精品一区二区三区久久 | 91在线视频观看 | 日韩高清国产一区在线 | 亚洲一区二区三区免费视频 | 欧美日韩成人一区二区 | 日韩在线视频免费观看 | 国产一区二区三区免费观看在线 | yiren22 亚洲综合| 亚洲网在线| 日韩福利片 | 亚洲人成网站777色婷婷 | 精品国产欧美一区二区三区成人 | 午夜91 | 精品99久久久久久 | 亚洲综合无码一区二区 | 欧美一区二区在线观看 | 国产国产精品久久久久 | 国产精品精品3d动漫 | 一区二区三 | 日本中文字幕视频 | 99精品网| 噜久寡妇噜噜久久寡妇 | 亚洲乱码一区二区三区在线观看 | 91超碰在线| 精品久久香蕉国产线看观看亚洲 | 在线成人www免费观看视频 | 射久久 | 欧美电影免费观看 |