GithubHelp home page GithubHelp logo

tobytang1987 / fighting-layout-bugs Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 3.44 MB

Automatically exported from code.google.com/p/fighting-layout-bugs

License: Apache License 2.0

Java 21.85% JavaScript 14.06% HTML 31.39% CSS 32.70%

fighting-layout-bugs's People

Contributors

michaeltamm avatar

Stargazers

 avatar

Watchers

 avatar

fighting-layout-bugs's Issues

animated pixels warning

Log message:

Jun 28, 2012 3:33:05 PM 
com.googlecode.fightinglayoutbugs.AnimationAwareTextDetector detectTextPixelsIn
WARNING: This is strange: Found animated pixels, although
(1) all JavaScript animations have been stopped,
(2) all animated GIF images have been hidden, and
(3) all elements potentially containing animation (like Java Applets, Flash 
Movies, videos, and iframes) are ignored.
Please send an email to [email protected] with the URL 
http://dl.dropbox.com/u/7243974/odesk/odesk.html, so that we can have a look at 
it.

URL to reproduce: http://dl.dropbox.com/u/7243974/odesk/odesk.html

Original issue reported on code.google.com by nihuhoid on 28 Jun 2012 at 1:42

java.lang.NoSuchMethodError: com.google.common.io.Closeables.closeQuietly(Ljava/io/InputStream;)V

Hi,
 I am using selenium-java-2.42.2 with Maven and TestNg.

 I followed all the directions to use Fighting-layout-bugs API.(Followed https://code.google.com/p/fighting-layout-bugs). But when i execute the test it starts and check for sometime and throws the following error.

java.lang.NoSuchMethodError: 
com.google.common.io.Closeables.closeQuietly(Ljava/io/InputStream;)V    at 
com.googlecode.fightinglayoutbugs.ScreenshotCache.readFromFile(ScreenshotCache.j
ava:126)    at 
com.googlecode.fightinglayoutbugs.ScreenshotCache.getScreenshot(ScreenshotCache.
java:85)    at 
com.googlecode.fightinglayoutbugs.WebPage.getScreenshot(WebPage.java:182)   at 
com.googlecode.fightinglayoutbugs.SimpleEdgeDetector.detectHorizontalEdgesIn(Sim
pleEdgeDetector.java:97)    at 
com.googlecode.fightinglayoutbugs.WebPage.getHorizontalEdges(WebPage.java:290)  a
t 
com.googlecode.fightinglayoutbugs.DetectTextNearOrOverlappingHorizontalEdge.find
LayoutBugsIn(DetectTextNearOrOverlappingHorizontalEdge.java:42) at 
com.googlecode.fightinglayoutbugs.FightingLayoutBugs.findLayoutBugsIn(FightingLa
youtBugs.java:185)

I could not find any solution online. Any help would be greatly appreciated.

Original issue reported on code.google.com by [email protected] on 17 Dec 2014 at 11:43

Can we reduce the memory needed to run the algorithms?

When I used FLB to process the http://arngren.net web site, Java kept running 
out of heap. I ended up increasing the heap to 1024MB  (using Java VM argument 
-Xmx1024m) to get the detectors to run. The site is clearly complex and perhaps 
unusually so, however it seems that needing 1GB of heap suggests there's room 
to optimize the code in the detector. Also the processing takes several minutes 
on my Intel I7 processor, so the test is slower than I'd like.


I like using FLB and am pleased with the results it returns; I'd appreciate it 
even more if it uses fewer resources and runs faster :)

Thanks


Julian Harty

Original issue reported on code.google.com by julianharty on 6 May 2012 at 10:14

Current version not compatible with Selenium 2.0.0

What steps will reproduce the problem?
1. Import fighting-layout-bugs into a project that depends on Selenium 2.0.0.
2. Use fighting-layout-bugs.

What is the expected output? What do you see instead?
I expect the software to work. Instead I see "java.lang.ClassNotFoundException: 
org.openqa.selenium.RenderedWebElement".

What version of the product are you using? On what operating system?
I used 0.1, but the issue is also present in TRUNK. I run Linux, but that is 
irrelevant.

Please provide any additional information below.
I checked out TRUNK and altered the POM and code such that it runs with 
Selenium 2.1.0. (It should also work with 2.0.0). See the attached patch. As 
far as I can tell this resolves the issue.

Original issue reported on code.google.com by [email protected] on 21 Jul 2011 at 6:25

Attachments:

base64 encoded images are not supported

DetectInvalidImageUrls fails for base64-encoed images, like this:

"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48I
S0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gL
iBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAxNDk0OCkgIC0tPjxzdmcgdmVyc2lvbj0iMS4yIiBiYXNlU
HJvZmlsZT0idGlueSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Z
yIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiCSB4PSIwcHgiIHk9IjBwe
CIgd2lkdGg9IjEwcHgiIGhlaWdodD0iMTBweCIgdmlld0JveD0iMCAwIDEwIDEwIiB4bWw6c3BhY2U9I
nByZXNlcnZlIj48ZyBkaXNwbGF5PSJub25lIj4JPHBhdGggZGlzcGxheT0iaW5saW5lIiBmaWxsLXJ1b
GU9ImV2ZW5vZGQiIGZpbGw9IiMxODg3QTMiIGQ9Ik05LjU3NSwyLjIwMmMtMC40OTgtMC40MS0xLjIzM
y0wLjMzOC0xLjY0NCwwLjE2TDQuMjM1LDcuMjQzCQlMMi44MzYsNi4yMjZDMi4zMzgsNS44MTYsMS42M
DMsNS44ODgsMS4xOTIsNi4zODVjLTAuNDA5LDAuNDk4LTAuMzM4LDEuMjM0LDAuMTYsMS42NDRsMi4zN
TEsMS43MQkJYzAuMjU5LDAuMjEzLDAuNTgsMC4yOSwwLjg4OCwwLjI1MUM0Ljg5Niw5Ljk2NSw1LjE5L
DkuODI1LDUuMzk5LDkuNTdsNC4zMzUtNS43MjVDMTAuMTQ0LDMuMzQ3LDEwLjA3MiwyLjYxMSw5LjU3N
SwyLjIwMnoiLz48L2c+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBmaWxsPSIjNzY3Njc2IiBkPSJNN
C42NTcsNy43MDdjLTAuMzkxLDAuMzkxLTEuMDIzLDAuMzkxLTEuNDE0LDBsMCwwYy0wLjM5MS0wLjM5M
i0wLjM5MS0xLjAyMywwLTEuNDE1CUw3LjQ4NSwyLjA1YzAuMzkxLTAuMzkxLDEuMDIyLTAuMzkxLDEuN
DE1LDBsMCwwYzAuMzkxLDAuMzkxLDAuMzg5LDEuMDIzLDAsMS40MTRMNC42NTcsNy43MDd6Ii8+PHBhd
GggZmlsbC1ydWxlPSJldmVub2RkIiBmaWxsPSIjNzY3Njc2IiBkPSJNNC42NTcsNi4yOTJjMC4zOTEsM
C4zOTIsMC4zOTEsMS4wMjMsMCwxLjQxNWwwLDBjLTAuMzkxLDAuMzkxLTEuMDIzLDAuMzkxLTEuNDE0L
DAJTDEuMjkzLDZjLTAuMzkxLTAuMzkxLTAuMzkxLTEuMDIzLDAtMS40MTRsMCwwYzAuMzkxLTAuMzkxL
DEuMDIzLTAuMzkxLDEuNDE0LDBMNC42NTcsNi4yOTJ6Ii8+PC9zdmc+"

Original issue reported on code.google.com by [email protected] on 26 May 2012 at 9:24

Need methods to get layout bugs by category

Following code returns agregated collection of LayoutBugs
final Collection<LayoutBug> layoutBugs = flb.findLayoutBugsIn(webPage);

What if I want analyze only DetectInvalidImageUrls bugs?
I hadn't found methods filter only one type of bugs from overall collection.


Original issue reported on code.google.com by [email protected] on 23 Aug 2012 at 9:33

False positive for TextNearVerticalEdges when two l's are used in a row

What steps will reproduce the problem?
1. Run the checker against a page with the letter 'l' in it


What is the expected output? What do you see instead?
It flags "all" as having the first l too close to a vertical edge, and "Select" 
as having the e too close to a vertical edge. It should not flag these things.

What version of the product are you using? On what operating system?
Version 0.5


See attached screenshot. 

Original issue reported on code.google.com by [email protected] on 6 May 2014 at 2:44

Attachments:

fighting-layout-bugs crash at runtime

Whenever I try to run fighting Layout bugs on a specific page of a portal under 
development (not visible from the Internet) I get following Error. 
(On other pages I do not have any issue - it is just on a specific one)

What version of the product are you using? On what operating system?
I use the latest version with all dependencies. 
(fighting-layout-bugs-0.5-jar-with-dependencies.jar)
Running on : 
System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', 
java.version: '1.6.0_20'
(From a jUnitTest from inside Eclipse)

2012-10-25 10:03:41,453 [main] DEBUG 
com.googlecode.fightinglayoutbugs.FightingLayoutBugs - Running 
DetectTextNearOrOverlappingHorizontalEdge ...
org.openqa.selenium.WebDriverException: TypeError: $img.data("flb_src_backup", 
$img.attr("src")) is undefined
Command duration or timeout: 484 milliseconds
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', 
java.version: '1.6.0_20'
Driver info: driver.version: RemoteWebDriver
Session ID: 3554dbc3-21bc-4b3b-be73-6b7eab51d3bf
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:188)
    at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:498)
    at org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:407)
    at com.googlecode.fightinglayoutbugs.WebPage.executeJavaScript(WebPage.java:339)
    at com.googlecode.fightinglayoutbugs.ScreenshotCache.hideImages(ScreenshotCache.java:170)
    at com.googlecode.fightinglayoutbugs.ScreenshotCache.takeScreenshot(ScreenshotCache.java:159)
    at com.googlecode.fightinglayoutbugs.WebPage.takeScreenshot(WebPage.java:196)
    at com.googlecode.fightinglayoutbugs.AnimationAwareTextDetector.detectTextPixelsIn(AnimationAwareTextDetector.java:50)
    at com.googlecode.fightinglayoutbugs.WebPage.getTextPixels(WebPage.java:210)
    at com.googlecode.fightinglayoutbugs.DetectTextNearOrOverlappingHorizontalEdge.findLayoutBugsIn(DetectTextNearOrOverlappingHorizontalEdge.java:37)
    at com.googlecode.fightinglayoutbugs.FightingLayoutBugs.findLayoutBugsIn(FightingLayoutBugs.java:176)
...
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:168)
    at junit.framework.TestCase.runBare(TestCase.java:134)
    at junit.framework.TestResult$1.protect(TestResult.java:110)
    at junit.framework.TestResult.runProtected(TestResult.java:128)
    at junit.framework.TestResult.run(TestResult.java:113)
    at junit.framework.TestCase.run(TestCase.java:124)
    at junit.framework.TestSuite.runTest(TestSuite.java:232)
    at junit.framework.TestSuite.run(TestSuite.java:227)
    at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

Original issue reported on code.google.com by [email protected] on 25 Oct 2012 at 8:23

[IE 10 - compatibility mode ON]org.openqa.selenium.NoSuchWindowException: Unable to get browser

What steps will reproduce the problem?
1. Set IE 10 to open all pages in compatibility mode on
2. run java code below
public void testLocalPageVerticalEdge(){
        DesiredCapabilities caps = new DesiredCapabilities();
        caps.setCapability(InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS, true);
        InternetExplorerDriver idriver = new InternetExplorerDriver(caps);
//      FirefoxDriver idriver = new FirefoxDriver();
        idriver.get("file:///D:/Documents/Care2U/DM2.html");


        LayoutBugDetector detector = new DetectTextNearOrOverlappingVerticalEdge();
        detector.setScreenshotDir(new File("target"));
        WebPage webPage = new WebPage(idriver);

        Collection<LayoutBug> layoutBugs = detector.findLayoutBugsIn(webPage);

        for (LayoutBug bug : layoutBugs){
            System.out.println("HTML: " + bug.getDescription() + bug.getScreenshot());
        }       
        idriver.quit();
    }


What is the expected output? What do you see instead?
Started InternetExplorerDriver server (64-bit)
2.26.3.0
Listening on port 44526
FAILED: testLocalPageVerticalEdge
org.openqa.selenium.NoSuchWindowException: Unable to get browser (WARNING: The 
server did not provide any stacktrace information)
Command duration or timeout: 32 milliseconds
Build info: version: '2.43.0', revision: 
'accb3003b9fb8f7cae30f9669b4c594a065396a6', time: '2014-09-09 22:22:51'
System info: host: , os.name: 'Windows 8', os.arch: 'amd64', os.version: '6.2', 
java.version: '1.7.0_67'
Session ID: 9c1ba1fb-e05b-4afd-9806-f631ca57c39f
Driver info: org.openqa.selenium.ie.InternetExplorerDriver
Capabilities [{platform=WINDOWS, cssSelectorsEnabled=true, 
javascriptEnabled=true, browserName=internet explorer, handlesAlerts=true, 
nativeEvents=true, takesScreenshot=true, version=10}]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)
    at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:156)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599)
    at org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:508)
    at com.googlecode.fightinglayoutbugs.WebPage.executeJavaScript(WebPage.java:339)
    at com.googlecode.fightinglayoutbugs.WebPage.injectJQueryIfNotPresent(WebPage.java:83)
    at com.googlecode.fightinglayoutbugs.WebPage.<init>(WebPage.java:76)
    at eu.isdc.stage.tests.selenium.tests.q1.LayoutBugs.testLocalPageVerticalEdge(LayoutBugs.java:36)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)

What version of the product are you using? On what operating system?
Windows 8, IE 10, Java 1.7. 

Please provide any additional information below.


Original issue reported on code.google.com by contan.andrei on 30 Oct 2014 at 1:41

Suggestions for 2 new Detectors

The site http://arngren.net is a rich environment for finding layout bugs. The 
site includes various bugs with the current FLB code discovers. It also has 
some bugs FLB doesn't yet seem to detect. 

Here are the suggestions for new detectors:

TextOverlapsText

TextInadvertentlyWrapping

I've attached a document with some screenshots that highlight the problems for 
the arngren.net web site. 

Here are some initial thoughts on ways to detect both problems, these ideas are 
half-baked and would need to be refined :)

How to detect TextOverlapsText:
- Identify each segment of text (I assume each would be contained in a distinct 
WebElement).
- For each segment, calculate the x,y offset of the 4 points of the rectangle 
that contains the text (top left, top right, bottom left, bottom right)
- For each rectangle determine if it overlaps another text rectangle.

I'm limiting the formula to text that is horizontal or vertical.

How to detect TextInadvertentlyWrapping:
I've several ideas related to this:
1. length of the text on each line. If the last line of text has only a few 
characters e.g. 1 or 2, and there is no preceding new line character - flag as 
a possible 'InadvertentWrap'. This may generate various false positives, so 
would need to be checked against a body of sample real-world web content.
2. dimensions of the text area as text size is incremented and decremented. For 
single words or short phrases, they generally are 1 line high. The relative 
height of each text area should remain roughly constant as the text size is 
increased or decreased. When the height dimension changes disproportionately 
perhaps the number of lines needed to display the text has changed. Sometimes 
this is the correct behaviour and to be expected. Other times, for instance 
with the http://arngren.net web site, the height dimension sometimes decreases 
relatively (compared to the rest of the text elements) while the overall 
dimension increases. I suspect we'd need to apply a combined algorithm that 
uses idea 1 (number of characters on last line) with varying the text size.

I'm sure these suggested algorithms have flaws in them and wouldn't be 
sufficiently accurate to provide a good signal to noise ratio (noise coming 
from false positives, etc). However they might stimulate ideas so you can 
devise better algorithms :)

PS: I cannot submit this 'issue' as a feature enhancement in the UI. So please 
change it to a feature enhancement if you have permission to do so.

Julian Harty

- 

Original issue reported on code.google.com by julianharty on 6 May 2012 at 10:10

Attachments:

false alarm on base64-encoded fonts

the same as it were with images, but for fonts:

 -Detected invalid image URL "data:font/opentype;base64,d09GRk9UVE ...

Example: http://dl.dropbox.com/u/7243974/odesk/odesk.html

Original issue reported on code.google.com by nihuhoid on 28 Jun 2012 at 1:41

SeleniumException: unterminated string literal

What steps will reproduce the problem?
1. Using Selenium 2.0b3 and fighting-layout-bugs from Maven Central
2. Executing the test code below
3.

What is the expected output? What do you see instead?
Expected is a list of layout bugs. Instead, I see:

2011-05-31 23:26:30,950 [main] DEBUG 
com.googlecode.fightinglayoutbugs.FightingLayoutBugs  - Running 
DetectNeedsHorizontalScrolling ...
Skipping DetectNeedsHorizontalScrolling -- unterminated string literal 
(WARNING: The server did not provide any stacktrace information)
System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', 
java.version: '1.6.0_16'
Driver info: driver.version: RemoteWebDriver
2011-05-31 23:26:30,997 [main] DEBUG 
com.googlecode.fightinglayoutbugs.FightingLayoutBugs  - Running 
DetectInvalidImageUrls ...


What version of the product are you using? On what operating system?
fighting-layout-bugs:0.1 from maven central
Windows XP, Firefox 4.0

Please provide any additional information below.

Executed test case:

@Test
   public void testFighting() throws Exception
   {
      String baseUrl = "http://www.google.de/";
      FirefoxBinary binary = new FirefoxBinary( new File( "C:/Programme/Mozilla Firefox 3/firefox.exe" ) );
      FirefoxProfile profile = new FirefoxProfile();
      FirefoxDriver firefoxDriver = new FirefoxDriver( binary, profile );
      Selenium selenium = new WebDriverBackedSelenium( firefoxDriver, baseUrl );

      selenium.open("/");

      FightingLayoutBugs flb = new FightingLayoutBugs();
      flb.setScreenshotDir( new File( "." ) );
      final Collection<LayoutBug> layoutBugs = flb.findLayoutBugsIn( selenium );
      System.out.println( "Found " + layoutBugs.size() + " layout bug(s)" );
      for( LayoutBug bug : layoutBugs )
      {
         System.out.println( bug );
      }

   }




Original issue reported on code.google.com by [email protected] on 31 May 2011 at 9:28

Attachments:

UnsupportedOperationException trying to screenshot in RemoteWebDriver

What steps will reproduce the problem?
1. Run FLB using RemoteWebDriver

What is the expected output? What do you see instead?
It should behave as per WebDriver behaviour

What version of the product are you using? On what operating system?
<dependency>
<groupId>com.googlecode.fighting-layout-bugs</groupId>
<artifactId>fighting-layout-bugs</artifactId>
<version>0.4</version>

Windows 7 x64

Please provide any additional information below.

I'm getting the following error:

java.lang.UnsupportedOperationException: 
org.openqa.selenium.remote.RemoteWebDriver does not support taking screenshots.
    at com.googlecode.fightinglayoutbugs.ScreenshotCache.takeScreenshot(ScreenshotCache.java:251)
    at com.googlecode.fightinglayoutbugs.ScreenshotCache.takeScreenshot(ScreenshotCache.java:163)
    at com.googlecode.fightinglayoutbugs.ScreenshotCache.getScreenshot(ScreenshotCache.java:77)
    at com.googlecode.fightinglayoutbugs.ScreenshotCache.takeScreenshot(ScreenshotCache.java:144)
    at com.googlecode.fightinglayoutbugs.WebPage.takeScreenshot(WebPage.java:162)
    at com.googlecode.fightinglayoutbugs.AnimationAwareTextDetector.detectTextPixelsIn(AnimationAwareTextDetector.java:78)
    at com.googlecode.fightinglayoutbugs.WebPage.getTextPixels(WebPage.java:176)
    at com.googlecode.fightinglayoutbugs.DetectTextNearOrOverlappingHorizontalEdge.findLayoutBugsIn(DetectTextNearOrOverlappingHorizontalEdge.java:37)
    at com.googlecode.fightinglayoutbugs.FightingLayoutBugs.findLayoutBugsIn(FightingLayoutBugs.java:146)
    at com.paddypower.selenium.framework.PageValidation.checkLayoutBugs(PageValidation.java:46)

Original issue reported on code.google.com by [email protected] on 18 Jul 2012 at 10:51

Google charts

What steps will reproduce the problem?
1. find layout bugs in a webpage that contain google charts images 

What is the expected output? What do you see instead?
Normal output, I get a java exception:
java.lang.IllegalArgumentException: Invalid uri 
'http://www.google.com/chart?cht=lc&chs=950x100&chd=e:g29HAASh8p..zY&chco=0077CC
&chls=4,0,0&chdl=Cost&chxt=y,x&chxl=0:|30|990|1:|Aug+19%2C+2010|Aug+25%2C+2010&c
hxr=0,0,0.001&chxs=0,0077CC,11.5,0&chg=20,50,1,2&chm=o,0077CC,0,-1,8|B,E6F2FA,0,
0,0': Invalid query
    at org.apache.commons.httpclient.HttpMethodBase.<init>(Unknown Source)
    at org.apache.commons.httpclient.methods.GetMethod.<init>(Unknown Source)
    at de.michaeltamm.fightinglayoutbugs.DetectInvalidImageUrls.checkImageUrl(DetectInvalidImageUrls.java:455)
    at de.michaeltamm.fightinglayoutbugs.DetectInvalidImageUrls.checkImgElements(DetectInvalidImageUrls.java:144)
    at de.michaeltamm.fightinglayoutbugs.DetectInvalidImageUrls.findLayoutBugsIn(DetectInvalidImageUrls.java:102)
    at de.michaeltamm.fightinglayoutbugs.FightingLayoutBugs.findLayoutBugsIn(FightingLayoutBugs.java:146)
    at de.michaeltamm.fightinglayoutbugs.AbstractLayoutBugDetector.findLayoutBugsIn(AbstractLayoutBugDetector.java:84)

Please provide any additional information below.

Google charts images have many special characters in their uris, maybe thats 
the cause


Original issue reported on code.google.com by [email protected] on 26 Aug 2010 at 11:35

Animation page is not loading

Hi,
I have some google map in my page . Once I used FLB , the page is not loading 
which is having google map. Is this animation issue??



Please give me the solution for the same.

Original issue reported on code.google.com by [email protected] on 10 Sep 2014 at 5:40

cached screenshot files not removed

Issue appeared after upgrade to 0.5
After each tests run It leaves a lot of screnshot cache files in /tmp dir: 
https://url.odesk.com/ybdxk9

I've seen some mentions of garbage collector and i guess that they are not 
being removed because i never stop flb server instance. It's a problem because 
server is quickly running out of space.

Is it safe to remove them with cron or maybe some special method call?

Original issue reported on code.google.com by nihuhoid on 1 Sep 2012 at 9:54

Animation detected error asks users to post to group that does not accept public emails

When you receive an error involving animated pixels being detected, it suggests 
sending a bug report to [email protected]. However, doing 
so results in the email bouncing because you have to use the web to join that 
group before you can post to it. This provides a barrier to reporting bugs that 
makes users likely to abandon the product altogether rather than send a report. 

Original issue reported on code.google.com by [email protected] on 6 May 2014 at 2:22

Suggestion for new detectors

Hi Michael,

I am part of a UI testing project and we have started using this amazing tool. 
Was curious to know if the following things can be added in the next version of 
the tool:

1. A module overlapping over another module - Sometimes while testing web pages 
we come across defects like two textboxes overlapping or too close to each 
other. Attached screenshot for reference.

2. Text overlapping over another text or a link - Fighting layout bugs tool 
identifies a text overlapping or too close to a module but doesnt identify a 
text overlapping over another text or even a link. Attached screenshot.

3. Lastly, have a query on screenshot -  is there a way to get a single 
screenshot with all the issues marked in one? i.e., all the detectors mark the 
issue in a single screenshot

As i said earlier your tool is amazing and has helped to make UI testing 
simpler.

Thanks,
Maruthi.

Original issue reported on code.google.com by [email protected] on 2 Nov 2012 at 10:27

Attachments:

Error on Maven Build

I have been receiving an error on the latest build when trying to run mvn 
package.  The test, shouldBehaveLikeSimpleTextDetectorWhenThereAreNoAnimations 
is failing due to an OutOfMemory error.  I commented the test out currently so 
I could successfully build the jar.   I attached a zip of surefire-reports 
folder.

Original issue reported on code.google.com by [email protected] on 1 Mar 2011 at 7:14

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.